Upload Results

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

Upload scan results to a central location where your whole team can view and manage accessibility issues found during your test runs.

try axe?.postResult(result)   

In the future, the axe DevTools Mobile Dashboard will be replaced altogether by axe Developer Hub. During the transition, however, you can find results both on the Dashboard and in Developer Hub.

About axe Developer Hub

axe Developer Hub is a central location where your whole team can view and manage accessibility issues found in your app.

With Developer Hub you are able to:

  • Find results for accessibility scans
  • Share a scan/group of scans
  • Decide which results matter most and adapt your tests

Share Results with Your Team

To create a direct link to your results in Developer Hub, you can follow this pattern - adding your own project ID:

https://axe.deque.com/axe-watcher/projects/<project_ID>

This takes you to a page where all recent runs for that projectID are listed.

Create a Scan Group URL for the Mobile Dashboard

When you upload your scan to the Mobile Dashboard, the scan result returned from the POST request has the axeDevToolsResultKey object. This object has four properties: packageName, userId, resultId, and uuid. Using the uuid property, you can create a URL directing to a group of up to 20 results on the Dashboard.

Use the following as a guide for the scan URL structure:

\(dashboardBaseURL)/scans?uuids=\(uuidsSeperatedWithComma)

Example

var uuids: [String] = []

// Navigate to screen 1 and perform a scan
let scan1 = try axe.run(onBundleIdentifier: bundleId)
// Upload scan results to dashboard
let resultKey1 = try axe.postResult(scan1)
// Add UUID to array of UUIDs
uuids.append(resultKey1.uuid)

// Navigate to screen 2 and perform a scan
let scan2 = try axe.run(onBundleIdentifier: bundleId)
// Upload scan results to dashboard
let resultKey2 = try axe.postResult(scan2)
// Add UUID to array of UUIDs
uuids.append(resultKey2.uuid)

// Add more scans - UUID list limit is 20

// Join the UUIDs into a single comma separated String
let uuidsString = uuids.joined(separator: ",")

// Construct group scan URL
var components = URLComponents(string: "https://axe-mobile.deque.com")!
components.path = "/scans"
components.queryItems = [URLQueryItem(name: "uuids", value: uuidsString)]
let url = components.url!

// Output the URL in the Xcode console. (UUIDs should be full length)
print(url) // https://axe-mobile.deque.com/scans?uuids=xxx-xxx-xxx,yyy-yyy-yyy