tvarchive / optimusTemplate

This is a cucumber jvm implementation template using the optimus mobile automation framework. If you like it, star it, help spread the word.
http://docs.testvagrant.com
66 stars 23 forks source link

iOS - cannot run tests on iPhone XR #55

Closed sandeepmosali23 closed 4 years ago

sandeepmosali23 commented 4 years ago

I am unable to run tests on iPhone xr (only) but able to run tests on other iOS devices.

Error details:

FAILURE: Build failed with an exception.

Any idea what would have happend?

vinaykumarvvs commented 4 years ago

Hi @sandeepmosali23 could you please confirm whether the device is listing or not when you execute this xcrun instruments -s devices command in terminal.

sandeepmosali23 commented 4 years ago

@vinaykumarvvs when i run xcrun instruments -s devices device is listed on the terminal

vinaykumarvvs commented 4 years ago

ok @sandeepmosali23. Thanks for confirming. Will check and let you know.

vinaykumarvvs commented 4 years ago

@sandeepmosali23 Looks like there is an issue with the UDID. The UDID for older devices is 40 characters long and for new iPhone devices, it is 25. I'm suspecting this is the reason why the device is not identified/picked for the automation.

vinaykumarvvs commented 4 years ago

@sandeepmosali23 meanwhile could you please try this https://github.com/appium/appium/issues/11448#issuecomment-427524554 and let us know whether it is fixed or not.

sandeepmosali23 commented 4 years ago

@vinaykumarvvs above mentioned issue was closed last year( latest comment is not related issue im facing). Also i was able to launch app and find locators using appium UI.

vinaykumarvvs commented 4 years ago

@sandeepmosali23 ok we will look into the issue and get back to you. Thanks for raising it.

sandeepmosali23 commented 4 years ago

@vinaykumarvvs any update on this issue?

vinaykumarvvs commented 4 years ago

@KrishnB could you please follow up on this issue.

thenishant commented 4 years ago

Hey @sandeepmosali23 this has been fixed in the latest release of optimus. https://github.com/testvagrant/optimus/releases/tag/v3.1.3