How to change appium version for Appium Desktop - appium

I have Appium Desktop 1.2.7 which uses Appium 1.7.1 I also have Appium Desktop 1.6.2 which uses Appium 1.8.1. I am using Mac High Sierra.
When I launch AD 1.6.2 from Documents folder, it gave me a warning to keep the AD 1.6.2 in Applications Folder, which I did.
Now the issue is AD 1.2.7 is informed me to move to Applications Folder, which I did.
When I launch AD 1.2.7, it now connects to Appium 1.8.1. How do I change AD to connect to Appium 1.7.1?
Reason I want to do this is because the Appium Desktop Inspector is not working correctly when launching app with AD 1.6.2 and Appium 1.8.1 nor AD 1.2.7 with Appium 1.8.1.

This isn't possible from inside of the Appium Desktop app, but you can install Appium via command line and run sessions from that using the 'Custom Server' tab.

Related

Appium IDE not starting and displaying an error- "Error ECONNRESET"

System info:
MacOS Sierra 10.12.6
Appium commandline version: 1.7.2
Appium IDE version: Version 1.3.1 (1.3.1)
Appium IDE location: /Applications Folder
npm version: 3.10.10
Node version: v6.10.0
Whenever I try to open a new session using Appium IDE, I am getting error:
Error ECONNRESET
I am having older version of Appium IDE Version 1.5.3 (Ara) - and it works fine.
Also note that- at the time of trying to open new Appium IDE, old IDE is kept closed.
This issue is now fixed.
Installed all updates for Appium Desktop (1.5.0)
Toggled the port once from 4723 to 4724 (on host 127.0.0.1) in inspector mode.
Once Inspector mode was up and running, shut down the appium IDE.
reset the port to 4723(on host 0.0.0.0) and Inspector started.
Also verified that older version of Appium IDE (Appium IDE Version 1.5.3 (Ara) ) is still working.

How to install multiple appium version on the same machine?

For my daily work I've been using appium 1.4.16 and java_client 3.3.0
I would like to start and to look into the new appium version (currently 1.5.1 / 3.4.1)
Download the new jar and embed into my project it's not an issue, but I was wonder how do I download 2 different appium versions and how do I start the specific version I need ?
I've tried to use "appium-version-manager" , I've installed 1.4.16 / 1.5.0 / 1.5.1 but from some reason I couldn't launch appium ver 1.50 and above while 1.4.16 version was launched without any issues...
Any advice would be appreciated
Thanks

Make sure you are using the latest version of SafariLauncher that appium is using

I want to do mobile browser automation on real iOS device using Appium. Here are the steps I have followed:
I cloned Safari Launcher project from https://github.com/snevesbarros/SafariLauncher and successfully installed Safari launcher app into the iPhone 6.
Copied the Safari launcher.app file and zip the file and then copy the zip file into the Safari launcher folder in this path:
Appium\Contents\Resources\node_modules\appium\build\SafariLauncher
Set ios_webkit_debug_proxy successfully and connected to my I-Phone.
When I run the appium; it connects to the device and open the Safari launcher app on the device; but then the following error was thrown:
Failed to start an Appium session, err was: Error: Error. Could not find button to launch Safari. Make sure you are using the latest version of SafariLauncher that appium is using.
Other details:
Appium version: 1.4.13
X-code version: 7.3
I Phone 6 iOS version: 9.3
Enable UI Automation set to Yes in Developer mode.
Web inspector is enabled.
Please make sure you are using compatible version of Safari browser and appium.

How to run Inspector when appium is installed using npm?

I used npm to install appium, but I don't know how to run the inspector.
I need to use the Inspector to locate elements in iOS.
How can I run inspector while using appium from terimnal and not from graphical app?
Appium inspector is not available for command line installation. Better download and install the UI version of appium which support the appium inspector for finding the element easily.
Also Appium inspector won't work in windows machine.
So you can do this by
Install npm (which you have already done
Install the Appium application (Slavo gave the link to Appium site answer)
go to developer settings in the app
Check "Use external appium package
enter in the location of your NPM install in text area.
When you do this the version of appium you installed via npm will be connected to the GUI application.
The gui does have its own version of the appium server, but it is an older version. That said it will still work, though it will be an old version and connecting the most recent version via an npm install and a gui download is the reccommended approach in the appium docs I think
Visit official Appium website
In the middle of the page there is big blue button with label Download Appium.
Download the client app to run the inspector, but before that you should run Appium doctor to check if all dependences were installed properly.
If you have downloaded appium using npm then you will run it through terminal by running "appium" command.
After starting appium server from terminal, open older graphical appium (install it first if you don't have it already). Don't press Launch button from gui. Press apple button and add capabilities there (platform version, device name etc) and press Inspector button.

Appium GUI runs older version of Appium than console

when I run appium through the terminal with the command "Appium &" it runs appium 1.4.10
When I run it from my GUI (which I need to do to use the inspector) it runs 1.4.8
Any ideas how I can make it run with the latest version from the GUI? Thanks.
Itseems you have installed appium ver 1.4.10 at a system level, but the gui you installed is of version 1.4.8. So you should probably download the corresponding gui version - 1.4.10 dmg or exe and install the GUI

Resources