You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/accessibility-automation-test.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,11 +114,38 @@ set LT_ACCESS_KEY="${ YOUR_LAMBDATEST_ACCESS_KEY()}"`}
114
114
115
115
### Step 3: Configure the Necessary Capabilities
116
116
117
-
To enable the accessibility testing within your automated test suite, set the `accessibility: true` in your configuration file. You can also define other settings capabilities as described below.
117
+
To enable the accessibility testing within your automated test suite, set `accessibility: true` in your configuration file.
118
+
119
+
There are two primary ways to run accessibility tests:
120
+
121
+
#### 1. On-Demand Scans (via Hooks)
122
+
For precise control over which pages are scanned, you can trigger scans manually at specific points in your test execution. This is the recommended approach to reduce test execution time and focus only on relevant pages.
123
+
124
+
To use this, simply enable accessibility in your capabilities:
*Note: If you do not execute the hook in your script when using this method, no accessibility reports will be generated.*
135
+
136
+
#### 2. Continuous Auto-Scanning
137
+
If you want the accessibility scanner to run automatically on every single page navigation throughout the entire test session without writing manual hooks, you can pass the `accessibility.autoscan` capability:
Copy file name to clipboardExpand all lines: docs/selenium-hyprerexecute-accessibility-tests.md
+29-3Lines changed: 29 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,15 +135,41 @@ set LT_ACCESS_KEY="${ YOUR_LAMBDATEST_ACCESS_KEY()}"`}
135
135
</Tabs>
136
136
137
137
### Step 3: Add the Capabilities to enable the Accessibility
138
-
To generate the accessibility reports, add a capability `accessibility: true` in your test files. You can also define some advanced capabilities like `accessibility.wcagVersion`, `accessibility.bestPractice`, and `accessibility.needsReview` as shown below:
139
138
139
+
To generate accessibility reports, you need to set the `accessibility: true` capability in your test files.
140
+
141
+
There are two primary ways to run accessibility tests on HyperExecute:
142
+
143
+
#### 1. On-Demand Scans (via Hooks)
144
+
For precise control over which pages are scanned, you can trigger scans manually at specific points in your test execution. This is the recommended approach to reduce test execution time on the HyperExecute grid and focus only on relevant pages.
145
+
146
+
To use this, simply enable accessibility in your capabilities:
*Note: If you do not execute the hook in your script when using this method, no accessibility reports will be generated.*
157
+
158
+
#### 2. Continuous Auto-Scanning
159
+
If you want the accessibility scanner to run automatically on every single page navigation throughout the entire test session without writing manual hooks, you must pass the `accessibility.autoscan` capability:
0 commit comments