Thursday, May 26, 2011

Record and Run Settings In QTP:

Record and Run Settings:

 For every new test one has to compulsorily do these settings before recording or running. These settings will make to understand on which applications it need to concentrate while recording or running.
Navigation:        
Ø  Activate the menu item Automation
Ø  Select the option record and run settings
Ø  Select one of the following options
Ø  Record and run test on any opened windows based application
Ø  Record and run on this application (opened on session start)
Ø  If at all second option is selected then click on add button
Ø  Browse the desired application part
Ø  Click on OK
Ø  Click on apply & OK.
(Record and Run Settings Window in QTP)


Operational overview of Recording:
 During recording QTP will do the following.
Ø  It will generate corresponding script statements for every user action on the application.
Ø  It will store the required related information in the object repository.
Operational overview of Running:
During running QTP will doing the following.
Ø  It will read the script statement and understands what action to be performed on which object.
Ø  Then it realizes it need to identify the object first to perform the action
Ø  To identify the object it requires some information for that information it will go the object repository and search.
Ø  Once the information is found using this information it will try to identify the original object.
Ø  Once the object is identified it will perform the action on it.


No comments:

Post a Comment