Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi all,
How to identify the xpaths of Thingworx based IOT application. Whenever i try to use ID's, the ID are dynamic so the Xpath fails. Please suggest how can i identify the Xpaths to automate the Thingworx IOT application. I am using selenium webdriver to automate the application.
Thanks & Regards
Solved! Go to Solution.
The Widget IDs shouldn't be changing, what ID are you using?
You should be able to inspect the page source or use developer tools and the DOM should be the same each time it loads, except for Collection/Repeater widget content.
The Widget IDs shouldn't be changing, what ID are you using?
You should be able to inspect the page source or use developer tools and the DOM should be the same each time it loads, except for Collection/Repeater widget content.
Thanks for the response. I am identifying using class name right now. There are instances like The span tag text is having a <br> tag in between so the text is not getting identified. Please suggest what can be solution for this.
I need to confirm whether we can use selenium to identify the colors in the application. Please suggest the right tool to identify the color in Thingworx Application.