Wednesday, 30 April 2014

UFT - QTP - What is hapens when an actions is created

Call to New Action... can be done in multiple ways
1) Using UFT Design menu - Call to New Action
2) Using UFT Test Flow - User need to perform Right mouse click to bring up the menu in which has "Call to New Action" option
3) Using UFT Test Flow - User need to select any existing action and perform right mouse click as in the below snapshot
4) Using UFT Expert View - User need to perform right mouse click to bring up the menu with Action --> Call to New Action..

So what happens when a user click on Call to New Action...






1)  "Insert Call to New Action" dialog will be shown and user can provide the Name and Description for the new action.
2)  Please remember every new action is by default "Reusable Action" and user can Uncheck that if they want to make it Non Reusable
3) By default every new action will be inserted at the end of the test

Also

4) A new folder will be created for the action with default action name ( New action folder will be created under the test folder path)
5) A Script.mts file will be shown under the newly created folder
6) PerAction Repository is created
7) A new datatable sheet will be added to the DataTable with the Action Name




When I Clicked on Insert Call to New Action.. "Action2" folder is created and is shown in figure below

Above snapshots shows the "Action2" folder content

Happy Reading,
Sreenu Babu

No comments:

Post a Comment