Exclude Attributes/Classes


Sometimes, while capturing elements from your website, you would want to exclude certain attributes/classes. The reason could be that they could be changed soon, whereas you want your elements to be stable and accurate. In this document, we will discuss how to exclude certain attributes/classes while recording test steps via the Testsigma test recorder.


Pre-requisites:

You should already have and know:

  1. installed Testsigma test recorder for google chrome.
  2. how to create a test case via the Testsigma test recorder.


Steps to follow:

  1. Start recording a test case via the Testsigma test step recorder.
  2. On the Testsigma test step recorder, hover over the settings button on the top right, also highlighted in the screenshot below:

settings button highlighted for excluding attributes and classes in Testsigma recorder

  1. On hover, menu options would appear (as also shown in the screenshot below) - click on the option ‘Excluded Attributes’.

excluded attributes menu in Testsigma recorder

  1. On the excluded attributes and classes UI that appears, you can add the attributes and classes that you want to be excluded while test step recording:

excluded attributes UI in testsigma recorder UI