Selenium used in JavaScript involves using a set of commands and methods to interact with web elements and perform actions on web pages.
Let's understand this with an example of using the AccessibilityCheckpointSettings keyword.
1. AccessibilityCheckpointSettings
Accessibility Testing is a subset of Usability Testing and it is performed to ensure that the application being tested is usable by people with disabilities like hearing, color blindness, old age, and other disadvantaged groups.
This keyword sets the prerequisites for the Accessibility Test. It takes the report name of the Accessibility Test and the location where the Accessibility Report of a page after creation will be stored.
It will check the Accessibility of the current page and will generate the Accessibility Report of that particular page at the location or path given by the user.
For example, to do checkpoint settings in an application to make it accessible to users, we can use the following steps:-
1. Add a new step in your test case by clicking the + icon at the top. Search AccessbilityCheckpointSettings and click on the search result to add it to the new test step.
2. Click on the downward arrow in the input data column of the step to open the input data window for the keyword.
3. Add the input data as shown below and click on OK button.
Suppose you want to set the prerequisites for the Accessibility Test then, here is how you will
use the AccessibilityCheckPointsSettings keyword.
AccessibilityCheckPointsSettings
Report Name | ABC |
Report Folder Path | ALS |
Test Object
Input Data
Output Data
Common Error conditions
Now let's go through the list of various keywords to understand their functionality.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article