Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Appium inspector not launching #4

Closed
GEguy opened this issue Feb 15, 2017 · 3 comments
Closed

Appium inspector not launching #4

GEguy opened this issue Feb 15, 2017 · 3 comments
Assignees
Labels

Comments

@GEguy
Copy link

GEguy commented Feb 15, 2017

Hello I am new to Appium and App test automation.

I am trying all the steps to automate testing using Appium. I made sure the app path points to the IPA file, and I have connected my device and properly entered the UDID. Then I click on launch and once the "Get 200" comes up, I click the "Inspector" icon and I get the following error

Could Not Launch Appium Inspector

Could not start a new session

Be sure the Appium server is running with an application opened by using the "App Path" parameter in Appium.app (along with package and activity for Android) or by connecting with selenium client and supplying this in the desired capabilities object.

Why is this happening? This seems to be a fairly common post, but I can't figure out what I'm doing wrong. Some people mention somehting about a selenium client? I'm not sure what that is but I have downloaded the two JAR files:

selenium-server-standalone-3.0.1.jar
java-client-4.1.2.jar

What do I do with those files. Thanks for any help! Below are my setup stats:

MacOS Sierra 10.12.3
Xcode 8.2.1
iOS 10.2
Appium version 1.5.3

@Seijan
Copy link
Contributor

Seijan commented Feb 16, 2017

Okay I'll try to answer you as best as I can, but you should maybe state this question in the official appium github: https://github.com/appium/appium

But now to your question:
You can't start the Appium over the launch button in the application, because it does not support this version of OS and the version of XCode. To start the Appium Inspector with this versions you have to start the Appium server over the console and after the server is up and running you have to start the Appium Inspector in the Application.
The start command is
appium --default-capabilities '{"fullReset":true}'
The default capabilities is not necessary but if you want to have the app you install to your device to restart fresh every start you need it.

I don't know if you really need Selenium for it, normally Appium is standalone which doesn't need a selenium server.

@liptga liptga added the invalid label Feb 16, 2017
@liptga liptga self-assigned this Feb 16, 2017
@liptga
Copy link
Contributor

liptga commented Feb 16, 2017

Please create a follow up issue at appium project at https://github.com/appium/appium

@liptga liptga closed this as completed Feb 16, 2017
@GEguy
Copy link
Author

GEguy commented Feb 16, 2017

THanks for your response, I reposted this in the main Appium forum. I tried running this command you mentioned in Terminal

appium --default-capabilities '{"fullReset":true}'

But I got back the following response:

-bash: appium: command not found

liptga added a commit that referenced this issue Jun 19, 2017
…master

* commit '5ee90a1fda835d0b60a773743b05dcc402118bb1':
  #8 upgrading to selenium 3.4.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants