Capturing and Comparing Dynamic CaseID and CaseName from Table in UFT One

Hi all,

I am automating a scenario where:

A user fills in CaseID and CaseName (both set as input parameters) in the "Maintenance Exposure" screen as per below:



After clicking the Search button, the search results appear in a Table as per below.



I need to capture the displayed Case ID and Case Name from the table and compare them with the user input.


The issue I'm facing is that the CaseID and CaseName can change based on user input, which causes UFT One to have trouble identifying the CaseID_data and CaseName_data objects in the table.

How can I reliably capture and compare the dynamic CaseID and CaseName values displayed in the table, especially when UFT One is struggling to identify the objects due to the varying input?

Here is a snippet of the code I’m using.

Any advice or suggestions to solve this issue would be greatly appreciated!

Thanks!

Parents Reply Children
No Data