Forum Discussion

lodecesa's avatar
lodecesa
Contributor
2 years ago

Checkpoint on a Xpath (no Mapped Object)

Hello, I would like to perform in a Keyword test checkpoint on an XPath instead of a Mapped Object, I don't want the XPath to be mapped.

 

How can I do that?

 

Thank you.

3 Replies

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    You can use Run Code Snippet, but the line of code is going to be long!

     

    Is there a particular reason why you would want to do that?

     

    If you had many keyword actions, and the control changes, it would mean updating all your keyword actions. Whereas, changing one name mapping object is easier. 

    • lodecesa's avatar
      lodecesa
      Contributor

      rraghvani wrote:

       

      Is there a particular reason why you would want to do that?

      Is a dynamic site and I have some problems with the mapped object in the page that show different scenarios