Selenium Test Life Cycle
Selenium Test Process / Selenium Test Life Cycle
Phases:
i) Planning
ii) Generate Basic Tests/Test Cases
iii) Enhance Tests
iv) Run & Debug Tests
v) Analyze Test Results too Report Defects
-----------------------------------------------
Software Test Process / Software Test Life Cycle
Phases inwards STLC:
i) Test Planning
ii) Test Design
iii) Test Execution
iv) Test Closure
-----------------------------------------------
i) Test Planning
a) References / Input
Test Requirements (SRS (srs, frs) /CRS/FRS ....)
Project Plan
Test Strategy
----------------------------
Corporate standards doc/s
Design docs
Prototypes etc...
b) Tasks
i) Understanding too Analyzing Test Requirements
ii) Risk Analysis
iii) Test Strategy Implementation
iv) Test Estimations (Scope of the AUT, Available Resources, Time, Budget etc...)
v) Team Formation
vi) Test Plan Documentation
vii) Configuration Management Planning
viii) Traceability Metrics Documentation
ix) Define Test Environment Setup
Output:
Test Plan Document
-----------------------------------------------
ii) Test Design
a) References / Input
Requirements
Test Plan
-----------------
Test Case Template
Test Data Template
-------------------------
Corporate standards doc/s
Design docs
Prototypes etc...
---------------------------------
b) Tasks
i) Understanding Test Requirements
ii) Derive / Create Test Scenarios
iii) Test Case Documentation
iv) Test Data Collection
c) Output
Test Case docs
Test Data
-----------------------------------------------
iii) Test Execution
a) References / Input
Test Requirements
Test Plan
Test Case Docs
Test Data
-------------------------
Readiness of AUT
Readiness of Test Environment
------------------------
Defect Report
-----------------------
b) Tasks
Verify Test Environment Setup
Create Test Batches
Test Execution
Smoke Testing
Comprehensive Testing
Reporting Defects
Tracking Defects
Select Test Cases for Regression Testing Cycle 1
Sanity Testing
Regression Testing Cycle 1
Reporting Defects
Tracking Defects
Select Test Cases for Regression Testing Cycle 2
Sanity Testing
Regression Testing Cycle 1
Reporting Defects
Tracking Defects
.
.
.
Final Regression
Output:
Opened too Closed Defect Reports
Tested Software
-----------------------------------------------
iv) Test Closure
a) References/Input
Test Requirements
Test Plan
-------------------
Opened too unopen Defect Reports
etc...
-----------------------
Test Summary Report Template
--------------------------------------
b) Tasks
Evaluating the Exit Criteria
Collect all documents
Prepare Test Summary Report
Send Test Deliverables to Customer
Improvement suggestions for hereafter projects.
-------------------------------------------------------
Selenium Test Process / Selenium Test Life Cycle
i) Planning
ii) Generate Basic Tests
iii) Enhance Tests
iv) Run & Debug Tests
v) Analyze Test Results & Report Defects
-----------------------------------------------
i) Planning
> Get Environment (AUT) details shape evolution team
> Analyze the AUT inwards damage Object Identification / Element Identification
> Page Inspector inwards Firefox Browser, Developer Tools inwards Chrome or IE
> Select Test Cases for Automation
i) Tests that nosotros bring to execute on every modified cook (Sanity Tests)
ii) Tests that nosotros bring to execute on every modified cook (Regression Tests)
iii) Tests that nosotros bring execute using multiple sets of Test Data (Data Driven Tests)
> Select Selenium Tools too Configure
If yous Select Selenium WebDriver, Java, TestNG etc...
Download Eclipse IDE too Extract
Download Java Software too Install
Download Selenium WebDriver Java linguistic communication binding too Add WebDriver appall files to Java Project inwards Eclipse.
Download TestNG from Eclipse too Install
-----------------------------------------------
ii) Generate Basic Tests
Selenium IDE
By Recording user Actions on AUT Or Type Test Steps using Element Locators too Selenese Commands
Selenium RC - * Out Dated
Selenium WebDriver
Type Test Steps using Element Locators too WebDriver API Commands
Selenium Grid - NA
-----------------------------------------------
iii) Enhance Tests
Selenium IDE:
Using Verify too Assert Commands, Add Comments, Synchronization etc...
Selenium WebDriver
Using Java Flow Control Statements insert Verification points
Add comments
Synchronization
Using Text files or Excel files alongside the assistance of Java comport Data driven Testing
Uusing Java features grip Errors etc...
Or
Using TestNG Framework Assertion methods insert verification points
-----------------------------------------------
iv) Run & Debug Test Cases
Debugging Tests:
What is Debugging?
Locating too isolating errors thru measurement past times measurement execution.
When Debugging is Required?
Scenario 1: Test is non showing whatever errors too providing right output - Not required
Scenario 2: Test is showing errors- Debugging is optional
Scenario 3: Test is non showing whatever errors too Not providing right output - Debugging is Mandatory
Note: Whenever Test is non showing whatever mistake too non providing right output thence Debugging is required.
Run / Execute Tests:
Run Single Test
Batch Testing
Selenium IDE supports batch testing
Selenium WebDriver supports batch testing
-----------------------------------------------
v) Analyze Test Result too Report Defects
Selenium WebDriver doesn't bring built inwards Result Reporter
Using Java yous tin define Test Results
Or
Using JUnit or TestNG nosotros tin define Test Results.
Report Defects
Functional Test Automation Defect Management
-----------------------------------------------------------------
Selenium Manual
----------------------------------------------------------------------
Selenium Bugzilla / Jira etc...
-------------------------------------------------------------------
Selenium Test Process / Selenium Test Life Cycle
Phases:
i) Planning
ii) Generate Basic Tests/Test Cases
iii) Enhance Tests
iv) Run & Debug Tests
v) Analyze Test Results too Report Defects
-----------------------------------------------
Software Test Process / Software Test Life Cycle
Phases inwards STLC:
i) Test Planning
ii) Test Design
iii) Test Execution
iv) Test Closure
-----------------------------------------------
i) Test Planning
a) References / Input
Test Requirements (SRS (srs, frs) /CRS/FRS ....)
Project Plan
Test Strategy
----------------------------
Corporate standards doc/s
Design docs
Prototypes etc...
b) Tasks
i) Understanding too Analyzing Test Requirements
ii) Risk Analysis
iii) Test Strategy Implementation
iv) Test Estimations (Scope of the AUT, Available Resources, Time, Budget etc...)
v) Team Formation
vi) Test Plan Documentation
vii) Configuration Management Planning
viii) Traceability Metrics Documentation
ix) Define Test Environment Setup
Output:
Test Plan Document
-----------------------------------------------
ii) Test Design
a) References / Input
Requirements
Test Plan
-----------------
Test Case Template
Test Data Template
-------------------------
Corporate standards doc/s
Design docs
Prototypes etc...
---------------------------------
b) Tasks
i) Understanding Test Requirements
ii) Derive / Create Test Scenarios
iii) Test Case Documentation
iv) Test Data Collection
c) Output
Test Case docs
Test Data
-----------------------------------------------
iii) Test Execution
a) References / Input
Test Requirements
Test Plan
Test Case Docs
Test Data
-------------------------
Readiness of AUT
Readiness of Test Environment
------------------------
Defect Report
-----------------------
b) Tasks
Verify Test Environment Setup
Create Test Batches
Test Execution
Smoke Testing
Comprehensive Testing
Reporting Defects
Tracking Defects
Select Test Cases for Regression Testing Cycle 1
Sanity Testing
Regression Testing Cycle 1
Reporting Defects
Tracking Defects
Select Test Cases for Regression Testing Cycle 2
Sanity Testing
Regression Testing Cycle 1
Reporting Defects
Tracking Defects
.
.
.
Final Regression
Output:
Opened too Closed Defect Reports
Tested Software
-----------------------------------------------
iv) Test Closure
a) References/Input
Test Requirements
Test Plan
-------------------
Opened too unopen Defect Reports
etc...
-----------------------
Test Summary Report Template
--------------------------------------
b) Tasks
Evaluating the Exit Criteria
Collect all documents
Prepare Test Summary Report
Send Test Deliverables to Customer
Improvement suggestions for hereafter projects.
-------------------------------------------------------
Selenium Test Process / Selenium Test Life Cycle
i) Planning
ii) Generate Basic Tests
iii) Enhance Tests
iv) Run & Debug Tests
v) Analyze Test Results & Report Defects
-----------------------------------------------
i) Planning
> Get Environment (AUT) details shape evolution team
> Analyze the AUT inwards damage Object Identification / Element Identification
> Page Inspector inwards Firefox Browser, Developer Tools inwards Chrome or IE
> Select Test Cases for Automation
i) Tests that nosotros bring to execute on every modified cook (Sanity Tests)
ii) Tests that nosotros bring to execute on every modified cook (Regression Tests)
iii) Tests that nosotros bring execute using multiple sets of Test Data (Data Driven Tests)
> Select Selenium Tools too Configure
If yous Select Selenium WebDriver, Java, TestNG etc...
Download Eclipse IDE too Extract
Download Java Software too Install
Download Selenium WebDriver Java linguistic communication binding too Add WebDriver appall files to Java Project inwards Eclipse.
Download TestNG from Eclipse too Install
-----------------------------------------------
ii) Generate Basic Tests
Selenium IDE
By Recording user Actions on AUT Or Type Test Steps using Element Locators too Selenese Commands
Selenium RC - * Out Dated
Selenium WebDriver
Type Test Steps using Element Locators too WebDriver API Commands
Selenium Grid - NA
-----------------------------------------------
iii) Enhance Tests
Selenium IDE:
Using Verify too Assert Commands, Add Comments, Synchronization etc...
Selenium WebDriver
Using Java Flow Control Statements insert Verification points
Add comments
Synchronization
Using Text files or Excel files alongside the assistance of Java comport Data driven Testing
Uusing Java features grip Errors etc...
Or
Using TestNG Framework Assertion methods insert verification points
-----------------------------------------------
iv) Run & Debug Test Cases
Debugging Tests:
What is Debugging?
Locating too isolating errors thru measurement past times measurement execution.
When Debugging is Required?
Scenario 1: Test is non showing whatever errors too providing right output - Not required
Scenario 2: Test is showing errors- Debugging is optional
Scenario 3: Test is non showing whatever errors too Not providing right output - Debugging is Mandatory
Note: Whenever Test is non showing whatever mistake too non providing right output thence Debugging is required.
Run / Execute Tests:
Run Single Test
Batch Testing
Selenium IDE supports batch testing
Selenium WebDriver supports batch testing
-----------------------------------------------
v) Analyze Test Result too Report Defects
Selenium WebDriver doesn't bring built inwards Result Reporter
Using Java yous tin define Test Results
Or
Using JUnit or TestNG nosotros tin define Test Results.
Report Defects
Functional Test Automation Defect Management
-----------------------------------------------------------------
Selenium Manual
----------------------------------------------------------------------
Selenium Bugzilla / Jira etc...
-------------------------------------------------------------------