Hi team please hel me on that how to connect on devices using sauce labs

Hi team,

please help me on that how to connect devices using saucelabs.

it is really important to me.
please help me on that

Regards
Saikrishna

Hi Saikrishna

There is a guide from SauceLabs describing what you are asking at UiPath Integration | Sauce Labs Documentation

Cheers,
Cristian

Hi @phaserescu

I’m getting these Issue . “Mobile Device Connection: Unexpected error. Desired capabilities are using JWP style which is not compatible with Appium version starting from 2.0. To use Appium version 2.0.0, please use W3C capabilities style since only W3C supports Appium version higher than 2.0Please check our platform configurator for more details (Sauce Labs Platform Configurator)”

please find the attached capabilities for your reference.

can you tell me any solution in that it’s really helpful

Can you please show the configuration from MDM? It seems that you included too many options but I can’t tell for sure if I don’t see the configuration in MDM.

Another thing that sticks out to me is that the options capability looks like a placeholder. Can you try deleting it and see if it works? Or give it the value “{}”?

Hi @phaserescu

please find the MDM Configurator screenshot for your reference.

I’m getting these issue I’m connecting through the saucelabs.

please send me any solution on that.

Regards,
Saikrishna.

Please redact private info like username, accesskey and sauce labs url.

You should only need the appium capability. Try deleting the others. The MDM manages apps in a separate configuration, so not sure if you can specify an app through capabilities.

Also try with a newer or older version of Appium. Look in the platform configurator for available versions.

Hi @phaserescu ,

is there any chance connect with you?

Regards,
Saikrishna

Saikrishna unfortunately no. If I can answer things on this forum then that’s fine for me, being that the process is asynchronous and I don’t necessarily have to commit to it; otherwise no. Hope you understand!

Regards,
Cristian

Hi @phaserescu

Appium version below 2.0 is connecting the device.

Regards,
Saikrishna

Hi @phaserescu ,

i need to connect the devices using appium version 2.0 on words. please let me know how i will pass the capabilities type w3c type.

getting these issue

please hep me on that.

Regards
Saikrishna

Hi Saikrishna

As is documented at Migrating from Appium 1.x to Appium 2.x - Appium Documentation, the non-standard capabilities (and most of them aren’t standard) must be prefixed with a vendor. So appiumVersion becomes appium:appiumVersion for Appium 2.0.

Please give your capabilities prefixed with appium: and it should work.

Cheers,
Cristian

Hi @phaserescu,

now that issue solved but now I’m getting session timeout.
image

could you please help me on that.

Regards,
Saikrishna

Hi Saikrishna

Please open a new topic, as this is completely different from the original topic.

Also look in Sauce Labs and see if you can extract more information from there: like what is the time after the connection timed out. This might happen if the app you’re trying to test is big and it takes time to install, but without other info I can’t figure out what’s going on.

Regards,
Cristian

Just wanted to give a little guidance on the topic about how capabilities should be sent when using appium 2. Try sending a sauce:options object like in the image below
image

Hi @Astrid_Diana_Staicu ,

How I will pass through the Automation.

I’m passing like these

getting session timeout issue

Regards
Saikrishna

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.