Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

How to identify fields with XPATH

acsejvaacsejva Members
Hi,
In the web application we are trying to test, the html is generated and the ids are thus not stable as they can change when the page is modified.
The html however contains the attribute "data-testtoolid" which is a stable identifier. see example of input:
<input id="F_13" name="CC" class='FIELDInputEdit' data-testtoolid='yourname' type="text" style="width: 185px;">
Testtools like selenium can identify this thru xpath.
Can someone tell me how this would work with SAHI Pro?

Thanks,

Comments

Sign In or Register to comment.