0 Replies
      Latest reply on May 22, 2019 11:19 AM by Jason PSS
      Jason PSS Level 1 Level 1 (0 points)

        -How to enter device passcode in wireless test automation

         

        I am using XCTest to run a test with Xcode wireless debugging feature turned on. Setting up wireless debugging needs passcode enabled on iPhone

        In the test, it will lock the screen in the middle of workflow. When unlocking the screen, it asks for a device passcode. But I could not find a way to enter device passcode.  Since at this moment, XCUIApplication could not find any element on the passcode screen.

         

        Can anyone know:

        1. What Bundle ID is the  passcode screen? Or
        2. How to type or enter device passcode using automation?