Selenium Testing Process

Selenium Testing Process, Choose Selenium Tools & other Software plugins, Selenium Test Environment Setup, Locating Elements in Selenium, Performing actions on the elements, Java Programming for Selenium, TestNG Testing Framework for Selenium, Writing Selenium Test Cases, Executing Selenium Test Cases, and Maintenance of Selenium Tests.

selenium tutorial
Selenium Tutorial for Beginners

Phases of Manual Testing Test Process

1. Requirements Analysis
2. Test Planning
3. Test Design
4. Test Environment
5. Test Execution
6. Test Cycle Closure

 

 

Steps for Selenium Testing Process

1. Select Manual Test cases for Automation

No restrictions and no limitations for selecting test cases for automation

a. Test cases that can be executed on every software build – Sanity Tests
b. Test cases that can be executed on every modified software build – Regression tests
c. Test cases that can be executed using multiple sets of Test data -Data driven tests
etc.

2. Select Selenium Tool/s and other third party plugins & Frameworks

i. Elipse IDE – As Editor

ii. Java as Programming Language

iii. Selenium WebDriver as Test Tool – Recognizing HTML/Web Elements in web pages and performing actions on the elements

iv. TestNG – Testing Framework – As Test Runner –

v. Maven – Build Automation Tool – Test Environment Setup & Maintenance

vi. Jenkins – CI Tool – Integrating Testing Process with Development Process
Etc.

3. Selenium Test Environment Setup

i. Download & Install Java (JDK) Software

ii. Set Java Environment Variable (path)

iii. Download & Extract / Install Eclipse IDE

iv. Download Selenium WebDriver jar file from selenium.dev, and add the jar to Java Project in Eclipse IDE

v. Download & Install TestNG plugin for Eclipse IDE

vi. Using Maven POM XML configure

vii. Download Browser driver/s for Executing Test cases

4. Writing Selenium Test Cases

Prerequisites for writing Selenium test cases
i. Manual test cases

ii. Element Locators for identifying elements in web pages

iii. Selenium WebDriver methods to perform operations on the elements

iv. Java programming for enhancing Selenium test Cases

v. TestNG for prioritizing test cases, grouping test cases, and inserting verification points.

5. Executing Selenium Test Cases


Web/HTML Elements/Objects

Edit box, Text Box – (Enter a Value)

Link – Text Link, Image Link (Click)

Checkbox (Check/Uncheck)

Radio Button (Select an Option)

Dropdown Box (Select an item)

List Box (Select one or more items)

Combo Box (Dropdown box + Edit Box)

TextArea

Text / Content

Error Message

PopUp Window

Frame

Web Table / HTML Table
———————
Inline Elements

Mouse Hover

Date Picker
etc…


Selenium WebDriver Syllabus

1. Test Types supported by Selenium

2. Selenium Installation

3. Browser drivers

4. Inspecting Elements (By Browser feature)

5. Locating Elements (Element Locators)

6. Performing Actions on the Elements (Selenium WebDriver Methods)

7. Page Object Model (creating object repositories)

8. Result Reporting by Testing Framework
etc…


Element Locators supported By Selenium

id()
name()
tagName()
className()
linkText()
partialLinkText()
cssSelector()
xpath()


Java Programming for Selenium

Java Standard Edition/Core Java

1. Java Environment Setup

2. Java Syntax and Program Structure

3. Java Modifiers

4. JavaData Types

5. JavaVariables

6. Java Operators

7. Java Control Flow (Conditional/Decision making, Loop, Branching)

8. String handling in Java

9. Arrays, and ArrayLists in Java

10. Java User Input

11. Java File handling

12. Java Methods (Predefined & User-defined)

13. Java Constructor

14. Java Exception handling

15. Java Object-oriented programming (Inheritance, Polymorphism, Abstraction, and Encapsulation)
etc…


TestNG Framework for Selenium

1. Creating Test Batches

2. Prioritizing Test Cases

3. Grouping Test Cases

4. Executing multiple programs using XML file

5. Parallel Testing

6. Executing Test Batches and Generating Test Reports.


Selenium Automation Framework (Ex: Hybrid Framework)

1. Selenium Test Environment Setup

2. Create a Folder Structure for storing automation resources

3. Create object repositories, customized commands,

4. Create reusable functions, collect test data

5. Create Test cases using OR, functions, and by connecting test data

6. Execute Test Batches and Store Test Results.

7. Maintenance of Automation Resources.


Selenium Syllabus
Selenium Testing Process 
Follow me on social media: