WebDriverAgent(WDA) run failure


There are no execution errors in Testsigma website and the Execution stays in Queued state for an extended period of time.


Open the Appium Console and check for errors. Look for the following Error messages:

Appium Console:
[MJSONWP] Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: "Could not proxy command to remote server. Original error: Error: read ECONNRESET". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.

Manually check whether the WebDriverAgent(WDA) is running or not;

Open a Terminal window on your Mac and perform the following operations:

$ cd usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/

$ mkdir -p Resources/WebDriverAgent.bundle

$ ./Scripts/bootstrap.sh -d

$ xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=' test

Please check the below link for a highly detailed guide(Goto the full manual configuration section):

Setting up iOS Real Devices Tests with XCUITest - full manual configuration