Monday 23 December 2013

Automation Testing

Execute the test case suite (Test suite is the collection of all test cases which are tested  )

QTP tool itself enter the data into application under test then compare the result from expected result and Actual result. finally generate the detailed test reports.



Goal of Automation testing

Reduce number of test cases to be run manually and not eliminate manual testing.


why Automation testing?

Automation testing is important for following reasons.

-> Manual testing of all work flows, All fields, All negative scenarios is TIME AND COST CONSUMING.

-> It is difficult to test for all multilingual sites manually.

-> Automation does not require human interaction. we can run Automation test without human interaction, that means we can run over night only.

-> Automation increases speed of test execution and test coverage.




which testcases to Automated?

we can automated following testcases

-> testcases are needs to execute repeatedly.

-> Testcases are very tedious or difficult to perform manually

-> Testcases are very time consuming

-> HIGH RISK - Buisness critical test cases.



Which testcases are not suitable for Automated?

-> Testcases that are newly designed and not executed manually atleast once.

-> Testcases for which the requirements are changing frequently.

-> Testcases which are executed on AD HOC basis.



Automation Process

we Following below steps needs for automation process

1) Test tool selection

-> Test tool selection is based on which technology used in the application under test.

Ex: For instance QTP does not support informatica. so QTP cannot used for informatica based application

2) Scope Automation tool

-> scope of automation is area of your application under test which will be automated.

3) Planning, Design and development

During this phase we can create Automation strategy and plan.

4) Test Execution

Automation scripts are executed in this phase.

5) Maintenance

if the new functionality are added to the system under test, the automation scripts are need to be reviewed and maintained for each release cycle.

Maintanance becomes necessary to improve effectiveness if automation scripts.




How to choose automation tool?

-> Easy of use ( scripting language used)
-> support various type of test including functional,regression etc.
-> support fot multiple testing frameworks.


Type of Automation framework

1) Data Driven Automation framework
2) Keyword Automation framework
3) Modular Automation framework
4) Hybrid Automation framework


Use of Automation framework

-> Maintaining consistancy of testing
-> less maintenance of code
-> Improve re-usability


Automation best practice


1) scope of automation
2) select right automation tool
3) choose appropriate framework
4) scripting standared
5) measure matrics 
  -> Percent of defects found
  -> Productivity improvement etc.

No comments:

Post a Comment