Usage Service

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

Supported within:
XML Compose

Learn about your teams' usage and metrics through the axe DevTools Usage Service. The linked documentation provides more insight into this service if you're just getting started.

Disabled by default, you must opt in by providing your Deque-provided Organization ID during setup to start collecting usage data.

Opt In

On your initialized AxeDevTools object, set the organization ID prior to authenticating and running any scans.

axe.setOrgIdForUsageService("<ORG_ID>")

Full Example in Espresso

@test
fun runScanWithADTAndroid() {	
    axe.setOrgIdForUsageService("<ORG_ID>")
    
    axe.connect("<DEQUE_API_KEY>")

    rule.scenario.onActivity {
        val scan = axe.scan(it)
        Assert.assertNull(scan)
        axe.tearDown()
    }
}