Selenium Syllabus

What to learn for Selenium Testing?

Select Selenium Tool/s, Programming Language to write Test Scripts and TestNG Framework as Test Runner.

Selenium Suite of Tools/Selenium Components
i) Selenium IDE
ii) Selenium RC
iii) Selenium WebDriver
iv) Selenium Grid

Selenium IDE is a Record and Playback tool, no programming support and it is prototype tool, not suitable for complex Test Design, so eliminate Selenium IDE, next Selenium RC is out dated, next Selenium Grid, It is only for Test Execution/Parallel Testing and doesn’t support Test Design, so now we have only one tool for creating and executing Test cases, that is Selenium WebDriver.

Selenium WebDriver supports Java, C#.NET, Python, Perl, Ruby and PHP, nowadays most of Selenium Testers are choosing Java, so selcet Java for Selenium.

Testing Framework Selection depends on Programming platform, we we select Java as programming platform, then supported Framework is either JUnit or TestNG, select TestNG Framework for selenium as Test Runner.

I) Java for Selenium

Java Standard edition or core Java is enough for Selenium Testing, In Core Java, learn,

Java Environment Setup
1) Java Data Types,
2) Java Modifiers
3) Java Variables
4) Java Operators
5) Java Comments
6) Java Control Flow
i) Java Conditional or Decision Making Statements
ii) Java Loop Statements
iii) Java Branching Statements
7) String Handling in Java
8) Java Array and ArrayList
9) Java IO
10) Java Methods
i) Predefined Methods
ii) User defined Methods
11) Java Constructor
12) Exception Handling
13) Fundamentals of Object Oriented Programming
i) Inheritance
ii) Polymorphism
iii) Abstraction
iv) Encapsulation

II) Selenium WebDriver

1) Selenium Environment Setup

2) Element Locators in Selenium
i) Element Locators
ii) Inspecting Element Locators

3) Selenium WebDriver API Commands
i) Browser Commands
ii) Commands for Web Elements
iii) Verification Commands

4) Writing Basic Selenium Test Cases

Selenium Testing Syllabus

5) Enhancing Selenium Test Cases
i) Inserting Verification Points
ii) Creating Reusable Components
iii) Create Object Repositories
iv) Parameterization
v) Synchronization
vi) Exception Handling etc…

6) TestNG Testing Framework
i) Creating Test Batches
ii) Grouping Test Cases
iii) Prioritizing Test Cases
iv) Executing Test batches and Reporting HTML Test Reports
iv) Data Driven Testing
v) Parallel Testing

7) Selenium Automation Framework
i) Maven Integration and Jenkins Integration
i) Create Folder Structure
iii) Create Test Automation Resources
iv) Create Test Cases using Test Automation Resources
v) Execute Test Batches using Driver Script and generate Test Result

Note: Jenkins is an open-source Continuous Integration (CI) server, which automates the build and deploy process of your web applications. By running your Selenium test suite in Jenkins, you also automate testing as part of the build process.

Maven is an Open Source build automation tool, It is used to setup Selenium Environment easily and maintenance of Test environment also easy.

Test Automation Resources: Object Repositories, Customized Commands, Reusable Functions, Test data etc…


You may also like...

%d bloggers like this: