Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Regular Contributor.. justmike23 Regular Contributor..
Regular Contributor..
359 views

Get all test instance ID

Jump to solution

Hello,

I am looking for option to retriver (OTA API customization code)  all selected (mause +ctrl or ctr+A) test instance ID in execution Grid to prevent deletion of them when needed.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.. Jan Czajkowski Acclaimed Contributor..
Acclaimed Contributor..

Re: Get all test instance ID

Jump to solution

If you are on 12.55 you should be able to use the new AllTreesSelection object:

set selectedTestInstances = AllTreesSelection.TreeSelection("ExecutionGridView")
for each selectedEntity in selectedTestInstances
   ...
next
Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
1 Reply
Highlighted
Acclaimed Contributor.. Jan Czajkowski Acclaimed Contributor..
Acclaimed Contributor..

Re: Get all test instance ID

Jump to solution

If you are on 12.55 you should be able to use the new AllTreesSelection object:

set selectedTestInstances = AllTreesSelection.TreeSelection("ExecutionGridView")
for each selectedEntity in selectedTestInstances
   ...
next
Jan Czajkowski

[Please do not contact me off line for receiving support. Use the forum!]
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.