How to fetch the test instance id of test set present in test lab while running the UFT script through ALM | QTP/UFT Forum
S
Siddhant kumar sahoo Posted on 19/05/2021

I am running the UFT script through ALM . My test cases are in Test Lab folder in ALM under the below path(in screenshot).

I want to fetch the  particular test instance id  of  test set while  running the script from ALM.

For example if I am running the test Logout_Test from ALM then I want to fetch the test instance id of the Logout_Test which is 41030 during run time .

 I want to know how can we proceed with this using OTA architecture .

But can anyone provide me the exact code in vbscript (which can be written )from UFT to fetch the test instance id  using OTA .

 

Example

In this I need to fetch the test instance id  ( 41030) of the test set Siddhant_UFT_POC.

How can i fetch the test instance id 41030 using vb script by applying OTA

SO the test set id is 7840 and the test instance id is 41030. Kindly assist

PFA the screenshot