Understanding of HTML, XML
This course provides training for handling testing projects and provides hands on experience with web applications, functional test automation and cross browser test automation using Selenium test suite.
Intended Audience:
- Software test engineers
- Software developers involved in agile development
At the end of Selenium training the delegates will be able to:
- Use Selenium test suite effectively in real projects
- Use Selenium for cross browser testing
- Distribute the tests using Selenium Grid
Selenium Introduction
- Selenium WebDriver Architecture
Setup & Installation
- Java, Eclipse, Maven Plugin
Data Types
- Variables, Reference Data type, String Methods, Arrays
Classes and Methods
Getters, Setters, this keyword & Constructor
Conditional statements and loops
- Switch, While, For
Static Keyword
Object Oriented Programming Concepts
- Inheritance, Access Modifiers, Abstraction, Method Overloading and Overriding
Exception Handling
Collections Framework
- Array List, Linked List, Sets, Maps
Browser Add-ons to inspect elements
- Firefox devtools, Try XPath, Chrome Devtools, Chrome Extension
Selenium WebDriver – Setup & Running tests
- Firefox, Google Chrome, Internet Explorer, Safari
Find Elements
- ID, XPath, Name, LinkText, PartialLinkText, ClassName, TagName
CSS Selectors
XPath Locators
- Contains, Starts-With, Find
Web Elements
- Click and Type, Navigation, Disable and Enabled elements
- Radio buttons, Checkboxes
- List of elements, Dropdown elements, Multiple select elements
- Hidden elements
Firefox Profiles and Chrome Options
Synchronization Issues
- Implicit Wait, Explicit Wait
Calendar Selection, Autocomplete, Take Screenshots
Execute Javascript Commands
Switch to Window, Iframe and Popup
Working with Mouse Hover, Drag and Drop, Sliders
Handling Key Press Events
Automation Framework
- Page Object Model, Object Repository, Page Class, Page Factory
Log4j2
- Console, File, Custom
TestNG
- Annotations, Asserts, BeforeSuite, AfterSuite, BeforeTest, AfterTest
Advanced TestNG
- Prioritizing, Grouping, Dependency, Disable, Timeout, Preserve Order
- Parameterization, Parallel runs
TestNG DataProviders
TestNG ITestResult
TestNG Listeners
- IInvokedMethodListener, ITestListener, ISuiteListener
TestNG Reporters and Logs
Advanced Reporting
- Extent reports, Attaching screenshots, Reporting with Page Object Model
Selenium WebDriver Data-driven testing
- Read/Write multiple dataset from/to Excel
Uploading files & Handling Windows Authentication
WebDriver Event Listener
Selenium Grid 2.0
- Hub and Nodes
Maven
- Build lifecycle & Maven Commands, TestNG Integration and Maven Profiles
Jenkins
- Build Maven project using Jenkins
Testing Database
- MySql, Oracle, MongoDB
Performance Testing
Behavior Driven Development using Cucumber
- Convert Selenium Test to Cucumber with Step definition
Integrate Sauce Labs
Conclusion