TestProject Forum
Powered by leading experts in the test automation community

TestProject keep installing latest driver on iOS device

Hi,

I am new to this tool and I did setup my iOS device on TestProject but everytime I click on the red recording button, testProject keep installing the drive. What am I missing? how can I fix the issue?

Appreciate your help.

Manish

I think TestProject is trying to install the App on my iPhone 11.

I can see the message “Installing iOS automation driver on your device…” for a long time but nothing happens on the iPhone, Finally I get an error "Failed all attempts to start XCUITest on "

Logs:
2019-12-12 22:46:22.634 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.a.b.e Requesting driver: Appium_iOS (existing: 61b4179407bb57b5e9f750d610da6a8ad779820beb7e8641341e0474a3630551)
2019-12-12 22:46:22.853 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.a.a.c GET https://api.testproject.io/api/v1/agent/drivers?type=Appium_iOS&version=61b4179407bb57b5e9f750d610da6a8ad779820beb7e8641341e0474a3630551 - 204 (uDW7VPyK): Already up to date
2019-12-12 22:46:22.853 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.a.b.e Agent already has the latest Appium_iOS (61b4179407bb57b5e9f750d610da6a8ad779820beb7e8641341e0474a3630551) driver
2019-12-12 22:46:22.980 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Executing XCUITest (WDA) on
2019-12-12 22:46:28.666 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Installing WDA on
2019-12-12 22:46:34.292 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:46:40.183 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:46:46.555 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:46:54.480 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:00.851 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:07.060 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:12.977 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:18.799 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:24.567 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:30.665 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:31.670 l8aWpgswnUK8JPlgjpANKw ERROR 800 qtp1225514091-8 i.t.a.i.f Failed to install WDA on
2019-12-12 22:47:31.674 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Failed attempt to start XCUITest on , retrying…
2019-12-12 22:47:31.674 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Executing XCUITest (WDA) on
2019-12-12 22:47:37.313 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Installing WDA on
2019-12-12 22:47:43.119 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:49.161 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:47:55.264 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:01.302 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:07.877 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:15.021 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:22.184 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:29.274 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:35.481 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:41.415 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:42.419 l8aWpgswnUK8JPlgjpANKw ERROR 800 qtp1225514091-8 i.t.a.i.f Failed to install WDA on
2019-12-12 22:48:42.420 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Failed attempt to start XCUITest on , retrying…
2019-12-12 22:48:42.420 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Executing XCUITest (WDA) on
2019-12-12 22:48:47.961 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Installing WDA on
2019-12-12 22:48:53.491 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:48:59.518 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:05.865 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:11.905 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:17.972 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:24.173 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:30.290 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:36.527 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:42.696 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:48.780 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Waiting a second to allow WDA installation on to complete
2019-12-12 22:49:49.782 l8aWpgswnUK8JPlgjpANKw ERROR 800 qtp1225514091-8 i.t.a.i.f Failed to install WDA on
2019-12-12 22:49:49.782 l8aWpgswnUK8JPlgjpANKw INFO 800 qtp1225514091-8 i.t.a.i.f Failed attempt to start XCUITest on , retrying…

Hi Manish. Can you please answer on following questions?

  1. What is sthe version of agent installed on your machine?
  2. Did you tried to reboot device/agent and try again?
  3. Are this device is the provisioning profile whic you attached to iOS settings in your account?

Hi Vlad,

  1. What is the version of agent installed on your machine? 0.58.9
  2. Did you tried to reboot device/agent and try again? Yes
  3. Are this device is the provisioning profile whic you attached to iOS settings in your account? Yes

Does provisioning profile binded to Certificate that you created for testproject as well?

Yes, all that setting is alright.

I phone gets connected and TestProject checks the latest agent version and tried to install WPA but couldn’t.

Hi @ManishR,

Do you have another device that you can try connecting to TestProject? I want to check if the same happens with another device.

Testproject keep installing IOS automation driver and displaying device screen fail error

Testproject keep installing IOS automation driver when I tap on Record button.
I set up IOS settings and iphone gets connected to Testproject.
I tried with two different devices.But the same error message was coming as in the screenshot.
IOS version:- 13.3

Appreciate your help in this.

Hi @Suranga.W,
Did you try to restart the device and agent?

Yes.I tried both ways.It gives the same result.

I think that something in the iOS configuration process was not done correctly.
Can you please try to configure it from scratch using this tutorial?

I’ll be happy to help you over an online session if you would like :slight_smile:

1 Like


I followed the same tutorial.

I followed the same tutorial.

I will have to see the agent logs. Could you please send me a message in the TestProject chat?

I generated the certificates again and restarted the agent…now It’s working fine.
Thank you so much. It really helped. :blush:

Hi @Suranga.W,

I’m really glad it’s working now!
I’m here if you’ll need me help in the future :slight_smile:

1 Like

I am having a similar issue and I redid the certificates and restarted the agent and get a very similar error.

I am facing the same issue now. Earlier when I did the setup, it was working fine both on iOS & Android but now its giving an error message.

iOS error: failed to start ios automation driver
Android error: Failed to create driver session. Check device is configured for automation and try again.

Please help.

1 Like