Ask a Question

Getting error connecting emulator

SOLVED
letoged
Occasional Contributor

Getting error connecting emulator

ds.PNG

Hi I am getting this message when I try to select device in local appium option.

13 REPLIES 13
Marsha_R
Community Hero

Have you set up the Desired Capabilities? Here's a reference for that:

https://support.smartbear.com/bitbar/docs/testing-with-bitbar/automated-testing/appium/desired-capab...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
letoged
Occasional Contributor

Hi @Marsha_R thanks for feedback, I already set the capability but when I hit "ok button" after that the above error message popping up can you please tell me what I am doing wrong here.

 

Capture.PNG

The error message you posted says "Username and password or apiKey must be defined in Desired Capabilities" but I don't see that in your list of parameters. Fix that and see what happens.

 

Marsha_R_0-1679065012107.png

Marsha_R_1-1679065111782.png

 

 


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
letoged
Occasional Contributor

Hi @Marsha_R that's the issue I am facing I really don't know what is the username and password or apiKey I should put there.

 

I tried putting username and password of testComplete but that didn't work.

Marsha_R
Community Hero

Since the error is coming from your Appium server, I would try entries for that.

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
letoged
Occasional Contributor

Can you guide me what should I put there, because I couldn't find it on internet.

rraghvani
Trusted Contributor

The link that @Marsha_R had posted has the information you need, with examples.

 

rraghvani_0-1679131681376.png

 

letoged
Occasional Contributor

Hi @rraghvani I have one question, when I use local appium server using emulator why it's saying failed to connect to remote device in first error message. I am not using bitbar.

letoged
Occasional Contributor

Can I use local appium server with local emulator or not?

If yes, then why it's saying remote device.

cancel
Showing results for 
Search instead for 
Did you mean: