Accessibility Testing in Opkey

Accessibility testing evaluates a website's usability and accessibility, ensuring it is functional for users with disabilities, thus enhancing inclusivity. 

 

Accessibility Testing with Opkey: 


Opkey now supports automated UI testing for websites with the addition of two new keywords: AccessibilityCheckPointSettings and ValidatePageAccessibility. Let us have a look at how we can achieve this.


Scenario: 


Let us automate a website Cresconnect https://cresconnect.crestechsoftware.com/ using Opkey Web and its dedicated accessibility testing keywords. 


Follow the steps below to create a Test Case: 

 

Let us add test steps using Visual QA Testing specific keywords in the Test Case. 

To add a Test Step using the "OpenBrowser" keyword and specify the browser name and website URL in Opkey, follow these steps: 


 



AccessibilityCheckPointSettings


The "AccessibilityCheckPointSettings" keyword in Opkey establishes the prerequisites for conducting an Accessibility test. While it doesn't require any object input arguments, it does require certain data input arguments to be specified. 

 

 

 


Data Input Arguments: 

 

ReportName – Provide the name of the report to be created. 


ReportFolderPath – Provide the path of the created folder. 

 

ValidatePageAccessibility


The "ValidatePageAccessibility" keyword is employed to validate the accessibility of a web page. It does not require any object or data input arguments. 

 

 

 

 

After ensuring that all necessary data input arguments are correctly provided, save your test case. Then, initiate the execution process by clicking on the "Run button". Once you're done successfully, you can go over the execution results. 


 

 

Navigate to the specified location and open the folder. You will find a folder named "AccessibilityReport," which contains the accessibility test report. 

 

 

 


The "AccessibilityReport" folder includes another folder containing HTML files of the report and rules, along with a few images. 

 

 

 

 

Here, you can view your Accessibility Testing report as shown below. 

 

 

 


Open the Accessibility Test Report to view detailed report information. 


 


You can open the Rules file to view Accessibility rules. 


 


You’re now at the end of the article. 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article