i
WebDriver Introduction
Selenium WebDriver Architecture
Introduction to WebDriver API
Introduction to WebDriver – Code
Handling Dropdowns and Select class
Handling Multiple Dropdown values and Links
Handling Radio buttons and Checkboxes
Capture Screenshots and Email test results
Browser Navigation Methods
Handling tabs
Capturing screenshot, Handling tabs and pop-ups – Code
Handling tabs and Pop-ups – Code
Handling Alerts
Handling User Authentication and Input alerts
HtmlUnitDriver and Handling Captchas
Handling Web Tables
Synchronization
Handling WebTables, Synchronization issues, Firefoxprofiles – Code
Actions Class
Event Listeners, Event Firing Mouse, Coordinates – Code
Handling Mouse Hover in Selenium
JavascriptExecutor
Handling Iframes
IsElementPresent, IsEnabled, IsSelected
Working with Chrome Driver - Part 1
Working with FireFox Driver - Part 2
Working with Internet Explorer Driver - Part 3
Handling SSL Certificate
Desired Capabilities
How to Encode password in WebDriver
Handling JQuery Elements - Drag and Drop, Sliders, Resizable
Handling JQuery Elements - Drag and Drop, Sliders, Resizable – Code
Working on IE Browser using Actions
TestNG, Ant & Report Generation through XSLT
Introduction to TestNG and Annotations
TestNG Parameterization
Configuring ANT, Generating TestNG & XSLT Reports
Code for generating XSLT / Surefire Reports through MAVEN
TestNG Parameterization Excel Reading
Handling Multiple data providers
TestNG XSLT Jar, Build.xml & TestNG.xml file
Frameworks Introduction
Hybrid (DATA + KEYWORD) driven Framework
Framework Architecture
Reading Excel sheets
TestNG DataProvider
Data Provider with Hashtable
Handling Multiple Test Suites
Multiple DataProviders
Setting up Run-modes at Suite Level
Setting up Runmodes at TestCase Level
Creating a common utility for Run-modes
Hybrid Framework Code
Browser Navigation methods are a set of methods to control the browser forward, backward, and refresh browser features. In some cases, we need to perform such operations to go forward or backward of a web page or to refresh the entire page. Selenium provides a set of methods to handle these situations.
Selenium Navigation Method:
Navigation method can be accessed by driver object, and further navigation methods can be called by from the Navigation Interface by putting a dot after the navigation method as shown below:
Here we can see a few methods are Object types; these are called from Object class of java and can be accessed from every object of java program. The only methods which are Navigation type are the navigation methods. Let us see these navigation methods in detail.
Navigate To Command:
This command is achieved by using the to() method of Navigation interface. This method opens a new URL, which is provided as a parameter into to() method.
driver.navigate().to("https://selflearning.io/");
This method is quite similar to "driver.get()" as both of them are used to load the URL of a web site.
Navigate Forward command:
This method of navigation interface helps us to achieve the click on the “Forward button” of a web browser.
driver.navigate().forward();
Navigate Back Command:
This method helps us to go back to the previous page. The same is done by the "Back arrow Button" of the browser.
driver.navigate().back();
Navigate Refresh Command:
Navigate refresh method helps us to do the refresh on a web page as it happens when we click on the reload or refresh button of a web page.
driver.navigate().refresh();
Don't miss out!