Forum Discussion
ArtemS
13 years agoSmartBear Alumni (Retired)
Hello,
Yes, you can read the device name from a variable and then obtain the corresponding object through the WaitChild or Eval method.
Robert is absolutely correct. As always :)
The code would look like this:
Happy automation.
Yes, you can read the device name from a variable and then obtain the corresponding object through the WaitChild or Eval method.
Robert is absolutely correct. As always :)
The code would look like this:
...
Set Device_Name_Object = javaw.WaitChild(Project.Variables.DeviceNameStr , 0)
If Not Device_Name_Object .Exists Then
Log.Error("Device object not found.")
End If
...
Happy automation.
Related Content
Recent Discussions
- 4 hours agosimonaferrara
- 13 hours agoSubhraDas
- 2 days agotramuntana