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 name based on other criteria before pushing a scan by using the withScanName parameter within andPushResult.

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