This introductory course is designed to familiarize testing professionals with the basics of testing web applications using Selenium. Testers can build, enhance, and maintain scripts in the Editor. The focus is on the practical application of Selenium to resolve common web automated testing challenges. This course focuses on getting started with Selenium. All topics are supported by extensive hands-on exercises that are based on real-life examples designed to provide the knowledge necessary to automate testing using Selenium Webdriver.
Main Topics Covered:
- History of Selenium WebDriver?
- Why use Selenium Webdriver?
- Downloading and configuring WebDriver, Firebug and FirePath Addons in Firefox
- WebDriver and WebElement Interface
- Drivers for Firefox, IE, Chrome, HtmlUnit Driver etc
- First Selenium WebDriver Code
- Identifying WebElement and different types of Locators (id, name, xpath, css, link, class,tagname)
- Verification and Assertions and use of verify or assertion
- Different methods in Navigation class - Navigate To, Back, Forward and Refresh
- Different type of Browser Commands - GetTitle, GetCurrentURL, GetPageSource, Close, Quit
- Usage of Browser Commands
- Detail of Xpath locator and building Xpath for web element and managing variable Xpath
- Detail of CSS locator and building CSS for web element
- Handling Links, Input box, Buttons, Radio button, Check box, Images
- Handling Combo box, List box, WebList , WebTable
- Handling Other HTML Tags, Dynamic objects
- Extracting links and other web elements
- Selenium Wait and Different types of wait statements.
- Driver Timeouts - Implicit Timeout, Page Load Timeout, Script Timeout
- UI Support Timeout - Fluent Wait, WebDriver Wait, Explicit Wait, Expected Conditions, UI Sleeper, Browser Launcher Sleeper
- Handling Ajax Application
- Pop up handling in Selenium - JavaScript alert messages with Selenium
- Window handles and handle multiple windows
- Tabbed browsing with Selenium
- iFrame and handle iFrame with Selenium
- Capturing screenshots with WebDriver
- Introduction to Java Robot API
- Introduction to Auto IT
- Introduction to Sequel framework
- How to upload, download files using AutoIt / Robot API / Sequel framework
- Simulating the Keyboard Keypress event
- Simulating Pressing Enter Button of Keyboard
- Extracting Data From WebTable
- Attaching files with Selenium
- Mouse movement with Selenium- Mouse Interface
- Mouse over/ Hover with Selenium
- Browser profiles and user authentication models
- What is Browser Profile - FireFox profile, IE profile
- HTTP user authentication in Mozilla, IE
- Certificate handle in Mozilla, IE
- Selenium Exception Handling
- Handling cookies
- Configuration from properties file
- Log4j Logging
- Generating the HTML and Excel reports
- Capture Screen shot and Capture Video
- Emailing test reports
- Introduction to Automation Framework
- Benefits of using Automation Framework
- Introduction of reusable utility and Defined Function
- Introduction to reusable script base
- Different types of Automation Framework
- Introduction to Modular Driven Framework
- Introduction to Page Object Model Framework
- Introduction to Page Factory and FindBy annotation
- Analyze test execution report