Selenium | Workshop on Selenium Testing
Selenium is a portable software-testing framework for web applications. Selenium provides a record/playback tool for authoring tests without the need to learn a test scripting language (Selenium IDE).
Topics to be covered in Workshop
(20% Theory & 80% Hands-On Session)
- Introduction to Selenium.
- Introduction to Java
- Java Setup and configuration
- Installing Eclipse
- Why Java for Selenium.
- Data Types, String Class, If-Else
- Classes, Methods etc
- Loops – While, Do-While, For, Enhanced For
- Single Dimensional and Two Dimensional Array
- Access modifiers
- Function Input parameters and return types.
- All OOPs concepts
- Inheritance
- Abstraction
- Encapsulation
- Polymorphism
Understanding Selenium Webdriver
- Overview of Selenium Webdriver, pros and cons
- Understanding Object Identification
- Extracting Xpaths, CssSelectors
- Downloading and configuring Java WebDriver in eclipse
- WebDriver Interface
- Working with Firefox, IE, Chrome browsers
- Working with Firefox profile
- Identifying Web-Elements using id, name, linkname, class, xpath, tagname
Working with Web objects
- Handling Input box/buttons, list/selection/drop down boxes, radio buttons, check boxes
- Extracting links and other Web-Elements
- Extracting Data from WebTable
- Capturing screenshots
- Object Synchronization using Implicit and Explicit waits
- Handling pop-ups, frames, and windows
- Simulating the Keyboard and Mouse actions
- Data driving using Java APIs - CSV and excel
TestNG and Grid
- Grid – executing selenium tests on different browsers
- What is TestNG
- installing TestNG in eclipse
- TestNG annotations
- Understanding usage of annotations
- Running a test in TestNG
- Batch running of tests in TestNG
- Skipping tests
- Parameterizing tests - dataprovider
- Assertions/reporting errors
- TestNGreports
- Advantages over JUnit
- Using TestNG in selenium
Framework Development
- What is framework?
- Types Of Framework
- Difference between Data Driven, Keyword Driven, and Hybrid Driven Framework
- What is the use of framework?
- Development of Page Object Model
- Development of Framework.
Duration: The duration of this workshop will be two consecutive days, with eight hour session each day in a total of sixteen hours properly divided into theory and hands on sessions.
Certification Policy:
- Certificate of Participant for all the workshop participants.
- At the end of this workshop, a small competition will be organized among the participating students and winners will be awarded with a 'Certificate of Excellence'.
- Certificate of Coordination for the coordinators of the campus workshops.
Eligibility: There are no prerequisites. Anyone interested, can join this workshop.