Micro Focus Expert
Micro Focus Expert
1326 views

Using Mobile Center for working with Appium Inspector

Jump to solution

Appium Desktop (https://github.com/appium/appium-desktop) provides Appium Server and Inspector in Desktop GUIs for Mac, Windows, and Linux.  The post below explains how to use Appium inspector together with the devices hosted by Mobile Center.

  • Launch Appium Desktop app
  • Open New Session from Appium menu
  • Navigate to Custom Server tab
  • Setup the needed parameters (see attachment)
  1. Mobile Center FQDN/IP and Port
  2. Remote path: /wd/hub
  3. Proxy (if used)
  4. Desired capabilities:

Screen Shot 2019-08-31 at 20.04.37.png

 

  • Please be sure to add browserName capability as empty, otherwise Appium will add the default browser name.
  • It is highly recommended to use OATH Client ID and Secret instead of username/password for the user
  • If you set Anonymous Access option for Appium to NO, please provide userName and password capabilities as well. If it is set to YES - no needed, it will work anonymously.Screen Shot 2018-06-07 at 11.08.04.png

     

 

 

  • Done - Appium Inspector is launched with device hosted by Mobile Center.Screen Shot 2018-06-07 at 11.07.44.png

     

 

 

1 Solution

Accepted Solutions
sophia_han Respected Contributor.
Respected Contributor.

Re: Using Mobile Center for working with Appium Inspector

Jump to solution

Hi Vivek

   Firstly, please make sure Remote host is just ip address, without http://

   Also, Close all services which may occupy adb host, like MC connector service, wandoujia, etc.

 

Hope it helps.

Sophia

View solution in original post

0 Likes
4 Replies
sophia_han Respected Contributor.
Respected Contributor.

Re: Using Mobile Center for working with Appium Inspector

Jump to solution

Hi Evgenyk

   Customer follow the steps and when he start session, it report "Error: could not start session"

Annonimous Access option is set to No.

settings in appium server.pngappium settingserror.pngerror

0 Likes
sophia_han Respected Contributor.
Respected Contributor.

Re: Using Mobile Center for working with Appium Inspector

Jump to solution

Hi Evgenyk

   It is working now.

 

thank you so much

Sophia

0 Likes
VivekBhatt
New Member.

Re: Using Mobile Center for working with Appium Inspector

Jump to solution

Hi Sophia,

Can you please let me know how it worked. The same issue is happening for us and we are not sure how to resolve.

Thanks

Vivek

0 Likes
sophia_han Respected Contributor.
Respected Contributor.

Re: Using Mobile Center for working with Appium Inspector

Jump to solution

Hi Vivek

   Firstly, please make sure Remote host is just ip address, without http://

   Also, Close all services which may occupy adb host, like MC connector service, wandoujia, etc.

 

Hope it helps.

Sophia

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.