2 – Selenium Testing Process
Selenium 2 – Selenium Testing Process / Selenium Test Life Cycle
Phase in Selenium Testing Process
(Test Planning, Generate Basic Tests/Test Cases, Enhance Test Cases, Run & Debug Test Cases and Analyze Test Results & Report Defects)
Before going to learn Selenium Test Process, first know about phases of Software Test Process / Software Test Life Cycle
Software Test Life Cycle
i) Requirements Analysis:
(Risk Analysis, Segregate Test Requirements and Create RTM Document)
ii) Test Planning:
(Test Strategy Implementation, Test Estimations (Scope, resources, time, budget), Team Formation, Test Plan Documentation, Configuration Management planning, Define Test Environment Setup, Etc….)
iii) Test Design
(Understanding Test Requirements, Derive Test scenarios, Document Test Cases and Collect Test data etc…)
iv) Test Environment Setup
(Prepare Test Environment Checklist and Test Data, Test Environment Setup, Verify Test Environment and Conduct Smoke Tests)
v) Test Execution:
(Comprehensive Testing, Reporting Defects, Tracking Defects, Select Test cases for Re & Regression Testing cycle 1, Sanity Testing, Execute Re & Regression Test cases, Reporting defects, Tracking defects, Select Test cases for Re & Regression Testing cycle 2, Sanity Testing, Execute Re & Regression Test cases, Reporting defects, Tracking defects and 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 Test Process
i) Test Planning in Selenium Test Process
(Get Environment (UI Design and Database) details from Development team, Analyze the AUT (Application Under Test) in terms of Object identification/Element identification, Select Test Cases for Automation and Select Selenium Tools and Others for Automated Testing and Configure)
ii) Generate Basic Tests/Test Cases
(Using Recording feature or Type Test steps using Element Locators and Selenese commands we can Create Test Cases in Selenium IDE, and Using Element Locators and WebDriver API Commands we create Selenium WebDriver Test Cases)
iii) Enhance Test Cases
(Inserting Verification points, Parameterization, Synchronization, Error Handling and Adding Comments etc,
iv) Run & Debug Test Cases
(Run Test Cases is a mandatory task in Testing, but Debugging Test cases is an optional task in Automated testing)
Debug Test Cases
(Debugging feature is NA for Manual Testing and It is only for Automated Testing, What is Debugging?, When debugging is required?, and Whenever Test case is not showing any error and not providing desired result there debugging is required.)
v) Analyze Test Result and Report Defects
(Selenium WebDriver doesn’t have built-in Result Report facility, using Programming control Flow statements or Testing Framework verification methods we can generate Test Results, and After analyzing the test Results, if we find any deviation from expected then report defects….)