Vivek72
12 years agoContributor
how to set variable to UIA object index?
Hi,
I got a script where object is identified only as UIA object as test complete is not recognising these objects as silverlite as it is supposed to be. I am using UIA object properties to run the script which is fine with me. The Child objects are named as
I got a script where object is identified only as UIA object as test complete is not recognising these objects as silverlite as it is supposed to be. I am using UIA object properties to run the script which is fine with me. The Child objects are named as
UIAObject("Equals"), UIAObject("Equals_2"),UIAObject("Equals_3")and so on. I need to put checkpoint here to select these objects but not knowing how and where to put variable in the script to replace those indexes using VB script. Please help.
- The following example shows how to append a variable to a text string in VB:
For i = 1 To 3
Log.Message("Equals_" & i)
Next