Find Element by ID
Posted: Thu Jul 11, 2013 2:49 pm
Hello, I want to know if there is a way to locate elements by the ID value on the element. With our new version most of the functionality has not changed but the UI has changed somewhat. Because of the change the xpath changed but the Unique ID is the same. Maybe a wildcard for the element type or something that just searches for the ID of an element. I could not find anything like this on the forum or the user guide.
Here is an example of the new UI vs old UI xpath of a button.
/dom[@domain='localhost']//button[#'RunInteractive']
/dom[@domain='localhost']//input[#'RunInteractive']
Thanks
Here is an example of the new UI vs old UI xpath of a button.
/dom[@domain='localhost']//button[#'RunInteractive']
/dom[@domain='localhost']//input[#'RunInteractive']
Thanks