Automation Process in QTP:


  • Test Plan.
  • Record the test.
  • Enhancing the test.
  • Debug the test.
  • Run the test.
  • Analyze the results and report the Defects.


1.   Test Plan:

For implementing the better framework, Automation Lead and senior members in the Automation Team comes up with Automation Test Plan in below two phases,

  1. Analyzing the Application:
In this phase, Automation Testers tries to analyze the requirements of the application thoroughly and comes with some plan like, how to go ahead with automating the application in terms of Application Environment, Modules, etc… have to be taken up for Automation.

  1. Preparing the Testing Infrastructure:
During this Testing Infrastructure Stage, Automation Testers comes up with some Automation Infrastructure in terms of

  1. Configuration about QuickTest,
  2. Managing Resource/Library Files,
  3. Managing Object Repositories,
  4. Managing Reusable Actions,
  5. Handling the Data,
  6. Automation Standards to be followed,
  7. Results Generation Approach.
2.   Record the Test:

In this phase, Automations Testers get the assigned module Test Cases, Record the basic script and make them as Reusable Actions.

3.   Enhancing the Test:

Recorded Actions will be enhanced by inserting
  1. Validation Points for verifying Property(ies) of Object(s) in functional prospective,
  2. Outputting the Values to DataTable or Variables for future reference,
  3. Synchronization Points,
  4. Replacing the constant values with parameters for broadening the scope of your Test,
  5. Built-in and User-Defined Functions.
4.   Debugging the Test:

Debug the Test to make sure no syntactic and logical errors with the help of QuickTest Built-In commands like Step Into, Step Over, and Step Out and move the test to Automation Regression Suite.

5.   Running the Test:

Once Automation Regression Suite ready, you should run this automation suite against new build/release.

6.   Analyzing the Results and Reporting the Defects:

Once the Automation Execution has done, analyze the results and if any application mismatches, then report them as defects.

No comments:

Post a Comment