If you are trying to automate your mobile application tests, then appium 2.0 has some interesting new features.
Aah, the good old days when I started using Appium 1.4 to automate a mobile application.
What was going for it?
a. Open Source
b. Hope for reducing risks related to “Tester exasperation”
c. Mostly Json wire protocol, and some W3C protocol
d. UiAutomator framework
e. Appium Desktop client
Cut to 2025:
What is going for appium 2.0?
a. Still Open Source
b. Hope for reducing risks related to “Tester exasperation”
c. W3C protocol
d. UiAutomator2 framework, Robot framework
e. Appium Inspector. I love the way you can get the locators. Sometimes, you can use them to interact with the app before you write a script. But there are some nagging issues. Download it here.
What is deprecated?
Among other things, TouchAction
Touch Action has now made way for a gestures plugin which can be installed using
appium plugin install --source=npm appium-gestures-plugin
and whenever you want to include gestures in your test you need to run the appium server using the following command:
appium --use-plugins=gestures
DesiredCapabilities making way for UiAutomator2 instance in the test script. Also no need to specify app package and launch/mainActivity it is taken by default. Phew!
At the time of writing this post appium is now in it’s latest version of appium 3.0
Some of the things that keep the testers away from Appium have been discussed here.
Let us know what you thought about the new changes in Appium 2.x in the comments section below.