Ask a Question

Switch from regular Name Mapping to XPath

SOLVED
sirping
Occasional Contributor

Switch from regular Name Mapping to XPath

Hello,

We have an existing Project where we use regular name mapping. We thought about switching to XPath since we already have special "testid" tags on every important element of our webpage. Is there an easy way to switch to using XPath for the namemapping?

2 REPLIES 2
mattb
Staff

Hi,
On the Open Applications > Web Testing > General page of the existing project’s Properties page.

asda.png


Now when you interact with a web element, it will store the object in the name mapping repository with selectors. 

sirping
Occasional Contributor

Nice. This makes everything a lot easier. We have special testid tags on our website and custom input fields and it used to be impossible to map those so we did scripts that entered text and other actions. This feature changes everything and makes working way easier. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: