Ability to tell the Recorder to ignore specific attributes when recording, e.g. ID

I realize that someone is going to tell me to change the application I am testing but that is not always an option.

I am testing an application that generates its UI dynamically. It uses the ID and Name html properties for its own purposes.

It would be very handy if I could tell the recorder to skip recording the fields name and ID properties and instead use positional (within the HTML), CSS classes, Input labels or other methods instead.

At the moment the work required to use a recorded script is too significant to make it useful.

1 Like

Are you saying that the Web Locators checkboxes have no effect? You can find them in the project settings (I think they are under Test Design).

I did not know about those options. Thanks for the heads-up.

The documentation and settings i could initially find gave no clue about that functionality.

Documentation that looked through included:

  1. https://docs.katalon.com/katalon-studio/docs/optimizing-object-identification-and-tools.html
  2. https://docs.katalon.com/katalon-studio/docs/manage-test-object.html#properties-used-for-detecting-an-object
  3. https://docs.katalon.com/katalon-studio/docs/spy-web-utility.html#capture-objects-using-web-object-spy

Plus a few other search I can’t remember.

It might be handy to update the documentation.

1 Like

Sorry about the obscurity of our documentation, we will update it soon with information about this !

1 Like

No problem and I understand. I also have my issues keeping the documentation up to date with all the latest new features. That is why I gave you links to some of the relevant pages.

Thanks @anthonyv, the issue is added into our documentation’s backlog, you can track the progress here:

https://github.com/katalon-studio/docs/issues/131

Good day !