Selenium web driver keeps a track of windows it opened during a session. Original browser opened is Parent window, after that windows opened are child windows.
To uniquely identify an opened browser Selenium WebDriver keeps a record of Opened windows.
To get Window handle WebDriver interface provides two methods
getWindowHandle()
getWindowHandles()
getWindowHandle() method return a string value
getWindowHandles() method returns a set of all Window handles of all the browsers that were opened in the session
In order to shift focus from Parent Window to any child window
WebDriver.SwitchTo().window(String windowHandle);
Once the Switch happens all the driver commands will go to the newly focused window.
In this course we will learn how to start with Selenium WebDriver, Java, Mavan, TestNG, Eclipse.
1. Learn automation testing using Selenium and Java
2. Learn about different test design techniques used to test software, test execution, and analysis of the test outcome
3. Gain insight into the evolution of Selenium, get an overview of Selenium and its components
4. Understand the importance of DevOps in Test Automation
5. Learn concepts like XPath Functions, TestNG Framework
6. Grasp concepts like Page Object Model and Page Factory
7. Understand how to implement continuous testing using Selenium
8. Learn how to perform continuous integration with Jenkins by building and automating test cases using Maven
9. Understand how to perform Performance Testing, Stress & Load Testing using JMeter
10. Learn how to integrate Selenium Webdriver with Apache JMeter
11. Learn different approaches of mobile testing
12. Understand how to use Appium to automate the application
#Selenium #Java #SeleniumWebdriverTutorial #SeleniumUsingJava
Негізгі бет Selenium WebDriver Tutorial | How to handle multiple windows - Getting started
Пікірлер