Update Scan Name

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

Scans uploaded to the dashboard automatically grab the View Controller's title, or the title set in the navigation bar - if available. You can set the scan name based on other criteria before pushing the scan by posting a custom argument for the withScanName parameter in the postResult method.

func testAccessibility() throws {
    guard let result = try axeDevTools?.run(onElement: XCUIApplication()) else {
        XCTFail()
        return
    }
    try axeDevTools?.postResult(result, withScanName: "AUTOMATION")
}