1. Features of Automation
1. We can perform regression testing
2. Save time by executing the test cases without manual effort.
3. We can reduce the cost to the company
4. We can maintain accuracy by repeating the tasks in the same manner
5. We can identify bugs
6. We can report the bugs to the developer
7. We can ensure quality
2. Difference between Selenium & QTP
Selenium :-
1. Open Source Tool
2. Supports languages such as HTML, Java, Perl, PHP, Python, Ruby, C#
3. Compatible with Browser such as Firefox, Internet Explorer, Google Chrome, Opera, Saferi
4. Compatible with Operating System such as Windows, Linux, MAC
5. Supports only we Applications
6. Flexible and Extendable
QTP :-
1. Costly & Commercial
2. Supports only VB Script
3. Compatible with only Internet Explorer & Firefox
4. Compatible with Operating systems such as Windows Only
5. Supports both Client-Server & Web Based applications
6. Flexible
3. When to Automate
1. When the test case percentage of pass is more
2. When no blocker bugs or show stoppers exists
4. What is the Lifecycle of 'Automation'
Various stages involved in automation life cycle are
1. Automation Feasibility Analysis
2. Test Plan & Test Design
3. Test Environment Setup
4. Automation Script Generation
5. Test Execution
6. Defect Analysis and Fixing
7. Cost involved in Automation
1. Automation Feasibility Analysis
Requirements and expectations should be set clear.
a. How and what is to be automated
b. Which all modules is to be automated
c. Identify the test cases that cannot be automated due to tool limitations and/ or complexity of the functionality
d. Analyse the applicability of a suitable tool to carry out automation
e. Rough estimate of the size, effort and cost involved in this automation
f. Review of feasibility analysis report
Should be decided in the beginning itself to prevent any confusion after the automation process has been flagged off, This stage hence requires great attention.
2. Test Plan and Design
a. Analyse the manual steps from automation standpoint
b. Identify frame works
c. Analyse the frame works for their pros and cons
d. Finalise a frame work
e. Categorise Scripts based on functionality
f. Identify the functionality to be parameterised
g. Prepare the detailed cost, size and effort estimate
h. Review of Test Plan by client
3. Test Environment Setup
Test team may not be involved in this aspect if the development team provide the test environment in which case test team is required to check the readiness of the given environment.
a. Understand the required architecture, Environment-setup
b. Prepare an Environment checklist
c. Prepare hardware and software requirements
d. Finalise the connectivity requirements
e. Setup Test Environment
4. Automation Script Generation
a. Create test scenarios
b. Identify re-usable test
c. Group common test cases together
d. Finalise the test scripts
5. Test Execution
a. Perform the testing as per the Test plan
b. Perform the batch test wherever necessary
c. Update the status in status report
d. Log the defects
6. Defect Analysis and Fixing
a. Analyse the severity and priority of the defect
b. Fix the defects
c. Document the defect along with the solution
7. Cost involved in automation
Fixed Cost
a. Feasibility analysis cost
b. Tool selection and Acquisition cost
c. Hiring or training the resources
d. Time in learning the application/business process
e. proof of concept
f. Test suite documentation effort
Variable Cost
a. Script maintenance and documentations cost
b. Automated test infrastructure maintenance cost
c. Execution cost
No comments:
Post a Comment