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:
1) Activate the menu item test
2) Select the option record and run settings
3) Select one of the following options
i) Record and run test on any opened windows based application
ii) Record and run on this application (opened on session start)
4) If at all second option is selected then click on add button
5) Browse the desired application part
6) Click on OK
7) Click on apply & OK.
Operational overview of Recording:
1) It will generate corresponding script statements for every user action on the application.
2) It will store the required related test object information in the object repository.
Operational overview of Running:
During running QTP will doing the following.
1) It will read the script statement and understands what action to be performed on which object.
2) Then it realizes it need to identify the object first to perform the action
3) To identify the object it requires some information for that information it will go the object repository and search.
4) 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.(Record and Run Settings) |