What is the difference between Call to copy of Action and Call to existing action in QTP/UFT?


There are 2 ways in UFT/QTP where you can call the external actions in a new test.

The first option is Call to copy of action, in this option the copy of the action will be copied over to the test and there will be no reference to the original action. All the resources of the action like repository or data table will also be copied. And if you do any changes in the action it will not be reflected in the other test.

The second option is Call to existing action, in this option QTP just creates a call to the action but the resources will not be copied over. And user will not be able to edit the action in the new test. If you edit the action in the original test then those changes will be reflected in the tests wherever the action is called.

There were some scenario's i have seen where testers have used the call to existing action but when the original test with action is shifted to some other location, they haven't changed the location in the test where the action is called. 

Comments

Post a Comment

Popular posts from this blog

UFT - Resolving scrolling issue if object is not visible

How to create a zip folder using VBScript

how to access the excel file as database in UFT?