Book Image

Mastering Selenium Testing Tools [Video]

By : Ripon Al Wasim, Thomas Sundberg
Book Image

Mastering Selenium Testing Tools [Video]

By: Ripon Al Wasim, Thomas Sundberg

Overview of this book

<p>We all have felt the need to test whether our applications are performing well across different web browsers, but the sheer tedium involved in learning test scripting languages might have stopped us from doing so. What if Selenium gave us the power to control web browsers and use them to automate web application testing? As an open source test automation toolset, Selenium makes it easier for testers to evaluate web applications without putting in any extra time and effort.</p> <p>Mastering Selenium Testing Tools is all about demystifying the Selenium toolset for testing websites. Testing professionals rely on a variety of test automation tools to test web applications effectively. But these tools often fail to test applications when frequent changes and enhancements are made to the code.</p> <p>A viewer with a reasonable knowledge and understanding of the core elements of Selenium will learn to verify web applications, control browsers with code, and scale up the testing environment by distributing the execution of web applications on different browsers running on different operating systems.</p> <p>The course starts with Selenium IDE, a Firefox plugin that performs a simple record-and-playback of interactions with the browser. A tester aiming for professional output can use WebDriver, an advanced scripting tool that will teach you to locate the elements you need to interact with using their name, id, xPath, or CSS. Testing is all about understanding what behavior is expected. If you don't understand how it should work, how can you verify that it actually works as desired? You will learn to express the desired behavior using an executable specification and a language that your end users can read and validate. This will be done using a well-known framework for Behavior Driven Development (BDD) called Cucumber for Java.</p> <p>Selenium is not just a single tool but a suite of software, each catering to the different testing needs of an organization. This course will give you a flying start towards implementing test automation using this free testing tool suite.</p> <h1>Style and Approach</h1> <p>This video course is a step-by-step guide that lays the foundation for building maintainable systems and educates testers through using executable examples.</p>
Table of Contents (7 chapters)
Chapter 3
Selenium WebDriver
Content Locked
Section 6
WebElements
WebElements are returned using different locators. Learn how to use them effectively. - Analyze common WebElement methods in selenium tests to perform some events/actions - Understand what a web element is and how we can use it in Selenium - Take a glance at 15 different methods of WebElement in Selenium Javadoc such as click, clear, getText, sendKeys, and much more