You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To view the testID and accessibilityID for a screen in an iOS application, you can use the Appium Inspector. The following instructions will guide you through setting up the Appium Inspector application, configuring the Appium Server, and preparing the iOS component to run on your device.
Download the Appium Inspector application on your Mac and move it to the Applications folder or any other preferred location.
Clone the WebDriverAgent project to your desired directory.
Open the WebDriver Xcode project, set the appropriate development team for the "WebDriverAgentRunner" schema (component), and press and hold the "Play" button in Xcode. Choose "Test" instead of "Run."
Obtain the name and UUID of your test device (iPhone) by running the following command in the terminal:
xcrun xctrace list devices
Launch the Appium server component by executing the following command, replacing both the device name and UUID from Step (4) above:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
To view the
testID
andaccessibilityID
for a screen in an iOS application, you can use the Appium Inspector. The following instructions will guide you through setting up the Appium Inspector application, configuring the Appium Server, and preparing the iOS component to run on your device.xcrun xctrace list devices
npx appium -dc '{"deviceName": "REPLACE_WITH_DEVICE_NAME_FROM_STEP_4", "platformName": "iOS", "automationName": "XCUITest", "bundleId": "ca.bc.gov.BCWallet", "udid": "REPLACE_WITH_UDID_FROM_STEP_4" }'
/wd/hub
in the "Remote Path" field of the user interface.Please note that the screen does not refresh automatically. To update the screen, press the refresh button in the user interface.
Beta Was this translation helpful? Give feedback.
All reactions