Tuesday 15 March 2011

QTP LifeCycle

'QTP Life Cycle' contains '6 phases'.
They are:

1)Test Planning
2)Genarating The Basic Script
3)Enhansing The Script
4)Debugging The Script.
5)Executing the Script/Test.
6)Analyzing The Result.


1)Test Planning:
  In this case the Automation Test Lead will do the following:
1)He will Understand the requirements.
2)He will identify the areas to be automated
3)He will analyze the +ve & -ve flows of the application.
4)He will analyze the dynamism of theapplication
5)He will do the pre-configuarational setting for the tool in such a way that the tool is compatable with the application.
6)He will do the resourse planning
7)He will do the scheduling
8)Finally he prepares the automation test plan document with the above analyzed information.


II)Genarating The Basic Script:
    In this phase, the automation test engineer will generate the basic script for the both +ve & -ve flows of the application.

 III)Enhancing The Script:
One can enhanse the script in the following ways.
    --> Inserting the Checkpoints.
   --> Inserting the synchronization point statements.
   --> Parametrize the test.
   --> Inserting the output value statements.
   --> Inserting the Transaction Point statements for measuring transactions.
   --> Inserting the comments.
   --> Inserting the script statements manually.

IV)Debugging The Script:
     'Debugging' is a process of executing the script in a user-defined passion with some temporary breaks inorder to identify the errors during the execution break.
 To do the same QTP has provided 'step commands' & 'break point' features.

V) Executing the Script/Test:
In this phase execute the test scripts what you have developed using QTP.

VI) Analyzing The Result:
   In this Phase compare the actual value what you have get after execution phase with the expected value.If actual value=expected value then the result is 'PASS' else the result is 'FAIL'.

No comments:

Post a Comment