How to handle dynamic object IDs using TestComplete
Hi,
I have an issue. We use an application called Clarity
i was not able to proceed using the tool with the application due to the dynamic object IDs that are present in the application.
The snippet is as below:
“Call table.cell.textboxD18284e6.SetText("loginID")
Call table.cell2.passwordboxD18284e8.SetText("pwd")
“
The value in bold above is the dynamic value for the textbox field which recognizes the text box field at run time. Now, I wish to replace this value with some other field identifier; this is the field id, how will I be able to replace with the field name instead?
Or, can I use a regular expression for this field, give that expression a name and replace the occurrence of the dynamic value with the regular expression name? if so, how can I implement it in TestComplete?
OR, is there any other method to solve this issue?
could anyone suggest?
Thanks in advance