Could we reuse objects in katalon recorder extension?

I would like know if we can save/store the objects which we can use. For ex: Target: ""xpath=//button[@class=‘loginbtn’] “” save and reuse inside other test like “Loginbtn”

Thanks,
Ester

1 Like

Only real current workaround for this at this moment is:

  • store the XPath in a variable in the script and give it a meaningful name (call it from the command,eg. ‘click’ command)
  • Same as above, but store it in Profiles, and call it via ${GlobalVariables.XX}

If we had this feature properly supported + functions (code snippets being another way they could label it), then KAR would be even more powerful.

1 Like