Automation Object Model - Add an AddExistingAction method

Idea ID 2832340

Automation Object Model - Add an AddExistingAction method

0 Votes

In the UFT's interface, we're able to link external actions to the current test using either the "Call to New Action..." or the "Call to Existing Action..." option.

image.png

 

 

 

 

 

We tried to do the same using the Automation Object Model, but it looks like it's missing the equivalent of "Call to Existing Action...".
In the reference, there is an "AddNewAction" method in both the Action and Test objects but there isn't any "AddExistingAction" method in any of those objects. Also, the Test object has an Actions property, but it's a read-only property so we cannot use it to add external actions.

Therefore, we'd like you to consider adding an "AddExistingAction" method in the Automation Object Model.

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.