Selenium Testing Process
Selenium Testing Process
com)
i) Requirements Analysis:
Risk Analysis
Segregate Test Requirements
Create RTM Document
ii) Test Planning:
Test Strategy Implementation
Test Estimations (Scope, resources, time and budget)
Team Formation
Test Plan Documentation
.
.
Final Regression
vi) Test Closure:
Evaluate the exit Criteria
Collect all artifacts
Prepare Test Summary Report
Send Test deliverables to customer
Improvement suggestion for Future Projects
--------------------------------------------
Selenium IDE: Use Record and playback some navigations and analyze
Selenium WebDriver: Using Element inspectors analyze the AUT,
Test Cases that can be executed on every modified build (Re &
Regression Tests)
Test Cases that can be executed using multiple sets of Test data (Data
Driven Tests)
> Select Selenium Tools and Others for Automated Testing and Configure
(Eclipse IDE, Java, Selenium WebDriver, TestNG, Maven, Jenkins etc...)
> Download Eclipse IDE and Extract -Editor, Syntax Guidance, Context Help
and Auto Compilation...
In UFT:
1) Object Repository based Test Design (Recording, Keyword Driven
Methodology)
Or
2) Descriptive Programming (Static Programming and Dynamic
Programming)
In Selenium:
a) Selenium IDE: Using Recording feature or Type Test steps using Element
Locators and Selenese commands
In UFT:
2) Parameterization
In UFT:
i) Using Data Table (UFT tool feature)
ii) Using VBScript Automation Object Models (FileSystemObject, Excel
Object....)
3) Synchronization
4) Error Handling
5) Adding Comments
To make the code readable and to disable the code from execution
In UFT:
Use "Test Batch Runner" tool or using AOM Script or ALM/QC etc...
What is Debugging?
Locating and isolating errors through step by step execution
--------------------------------------------
Application Life Cycle
Development Testing Production
---------------------------------------------------------
Error Fault Failure
Mistake Defect
Bug
---------------------------------------------------------
When debugging is required?
Scenario 1: Test Case is not showing any error and providing desired result -
Not required
Scenario 3: Test Case is not showing any error and Not providing desired
result - Required
Whenever Test case is not showing any error and not providing desired
result there debugging is required.
-----------------------------------------------
b) Reporting Defects:
After analyzing the test Results, if we find any deviation from expected then
report defects....