OpKey Blog

Accessibility Testing using OpKey

Radhe Shyam Prajapati 21.04.2017
Accessibility testing is a part of usability testing. The significance of this testing is to verify both usability and accessibility. By performing accessibility testing of the web application, you can enhance usability of your web application even for physically disabled persons.
 
aXe Framework is an Open Source framework for automated web UI testing. aXe is a compact JavaScript library that executes automated accessibility tests inside your testing framework or browser. It plays a key role in Accessibility Testing of web UI.
 
During automated testing using aXe Framework, it compares entire web elements of your web application and provides report by analyzing accessibility of web elements. By considering reported points, you can enhance web UI accessibility of your application.
 
aXe Framework Integration with OpKey
 
There are few aXe Framework specific keywords in OpKey which are used for accessibility testing of web application.
 

aXe Framework (Accessibility Testing) Specific OpKey Keywords:

 

(1) AccessibilityCheckPointSettings (Used to set the prerequisites for Accessibility test)

(2) ValidatePageAccessibility (Used to validates the page Accessibility test)

(3) SetViewPort (Used to set the page layout according to the dimension given)

 

Now, you can use these keywords in Test Case in OpKey and perform accessibility testing.

 

1. AccessibilityCheckPointSettings

This keyword is used to set the prerequisites for Accessibility test. It doesn’t take any objects input arguments. It also takes some data input arguments.

 

Data Input Arguments:

 

ReportName - Provide the name of report to be created.

ReportFolderPath - Provide path of the created folder.

 

 

2. ValidatePageAccessibility

This keyword is used to validates the page Accessibility test. It doesn’t take any objects/data input arguments.

 

3. SetViewPort

This keyword is used to sets the page layout according to the given dimension. It doesn’t take any objects input arguments. It takes Width & Height as data input arguments.

 

Data Input Arguments:

 

Width - Provide the width of the browser.

Height - Provide the height of the browser.

 

Recent Posts

Free Trial