@Aleksei, can you please remove /usr/local/bin/appium file using 'sudo' and try again to install latest one. because i was able to upgrade appium 1.5 to 1.5.1 without any issue.
@Priyank_Shah are you getting Welcome to Appium v1.5.0 (REV dc865428e6a78ed6b8153132d6e50b9afc8c4570)
or it just me.
From
Seem like @isaac missed to update this as revision number is correct
dc86542
.@pr4bh4sh, no i was able to launch 1.5.1 successfully.
[Appium] Welcome to Appium v1.5.1 (REV 7abc8c03f8a74a0fed4f409326c58796855c7ff7)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
i think you did not upgrade your appium.
Thanks,
Priyank Shah
@Priyank_Shah Thanks for confirmation, I'm running from source so I'll get a fresh clone and try.
Appium 1.5.1 cannot be installed by avm.
Look at the issue here, https://github.com/appium/appium/issues/639531
I just fixed the issue for avm install Appium 1.5.1.
Because some file path is changed in Appium 1.5, so avm cannot install it.
I make the change for avm file, then it can install all Appium versions.
- in 'activate' function, link "node_modules/appium/build/lib/main.js" to "bin/appium".
- in 'execute_with_version' function, use "node_modules/appium/build/lib/main.js" to start Appium.
@pr4bh4sh
Hi, pr4bh4sh, I was wondering if there's a GUI version for 1.5.1 just like 1.4.13 which has Inspector to use? That would be great! If not so, what can we use to inspect element? Thanks for your effort for all of the appium users and Looking forward to your suggestion
There isn't any GUI version after 1.4.13.
Using inspector
1. Android - use uiautomatorviewer, it does not provide XPath though. If you need XPath you need to create it yourself.
2. iOS - Not working on any iOS application automation project for a long time, however, @wreed or @Priyank_Shah (not sure who) has commented on some thread, Here're the steps
- On your test script set a breakpoint just after the driver creation.
- Open the GUI version of Appium you have and click on the Inspector button. It should work as if you have started the appium from GUI mode.
Additional tip:
1. If you are starting Appium on custom port make sure you change the port on GUI versions setting section.
2. Make sure you have set commandTimeout when starting the server or in caps. So Appium server does not kill the session due to inactivity. I generally user 72000 seconds.
And thanks for the appreciation.
As other members suggested in this forum, you can keep 1.4.13 GUI app open and run the test in debug mode while Appium 1.5.1 server is running. Press the Inspector button on 1.4.13 GUI. you will be able to inspect the elements.
No need to press Launch button.
OK Got it. I just met a problem, which 1.4.13's inspector shows the XPath is A, but when I use 1.5.1, it found another element, I have checked the code, so I doubt maybe there's something difference in locating an element wtih XPath, that's why I ask my question to you. And I'll check more on my code and others.