Hi,
I need to retrieve the element in my Automation Script. I have its IP address. There are a number of documented methods for finding elements using name, id, view etc, but is there a way to find the element using its IP address?
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Hi Trong,
You can do this by using DMS_GET_ELEMENT_ID_FROM_IP (76).
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Hi Trong, have you tried by adding using Interop.SLDms;?
Thanks Jen. This works well.
However, for me it works inside a protocol QAction. When using it inside an Automation Script I get “namespace name ‘DMS’ could not be found” error in the Logs. Not sure why.