Highlighted
Absent Member.. Absent Member..
Absent Member..
939 views

QTP/UFT Support Tip: Is it possible to modify/edit an external action in QTP/UFT?

Hello everyone,

 

I remember some users asking about this in the past. In QTP or UFT, if a user performs a "Call to Existing Action..." within a GUI test, the external action is opened as read-only, so many may ask to themselves "is is possible to edit that external action from within the local test?".

 

In answer to that question, inserting a call to an existing action will let the user view the steps of the action in the action view, but it cannot be modified. The called action's local object repository and the action's name will also be read-only.

To modify a called external action (including changing the action's name, Object Repository and action steps), it is necessary to open the test with which the action is stored and make any modifications there. The modifications apply to all tests that call that action.

 

"Workaround":

If it is not possible to open the test that contains the external action, and modifying the external action is necessary, the user has the option to add a "Call to Copy of Action..." instead, which will create a local copy of the external action in its entirety. Any modifications performed to this copied action will not be reflected on the external action, and will only be applied on the local test.

 

I hope this information helps anyone out there.

 

Thanks,

Braulio

HP | Unified Functional Testing Engineer

[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]

(Posts and opinions made here are my own and do not reflect the opinions of my employer HP in any way)
Labels (2)
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.