UI Automation Test for Android with appium

I am just working on an Android UI Automation Test in a few weeks. I tried with robotics at a time, and now I need to go to the appium framework. And my question is:

  • I read that appium is a test tool for testing a webview application. So what about another application that is not a web browser?
  • Can I run a test from appium on genymotion?
  • Any other tool I need to install with appium (selenium or something else)?

Edit When I try to install appium without sudo, I got this error

ERR! Error: EACCES, unlink '/ Users // appium / node_modules /. Bin / tools-client.js

npm ERR! {[Error: EACCES, unlink '/ Users // appium / node_modules /. Bin / tools-client.js']

npm ERR! errno: 3,

npm ERR! code: "EACCES",

npm ERR! track: '/ Users // appium / node_modules / .bin / instruments-client.js'}

npm ERR!

npm ERR! Try to run this command again as root / Administrator.

npm ERR! Darwin System 13.1.0

npm ERR! command "/ usr / local / Footer / node / 0.10.26 / bin / node" "/ usr / local / bin / npm" "link" "appium-uiauto"

npm ERR! cwd / Users / yaphatak / appium

npm ERR! node -v v0.10.26

npm ERR! npm -v 1.4.3

npm ERR! track / Users // appium / node_modules /. Bin / tools-client.js

npm ERR! EACCES code

npm ERR! errno 3

npm ERR! Stack error: EACCES, unlink '/ Users // appium / node_modules /. Bin / tools-client.js

npm ERR!

npm ERR! Additional registration information can be found in:

npm ERR! /Users//appium/npm-debug.log

npm ERR! out of order 0

Then I try to execute sudo, then run appium . I got this error

Error: Appium will not work if used or installed with sudo. please rerun / install as a non-root user. If you needed to install Appium using sudo npm install -g appium , the solution is to reinstall node using a method (like Homebrew) that does not require sudo to install npm global packages. "

Any help?

+3
source share
1 answer

1- Yes, Appium can test applications without web browsing. The first line on the Appium page reads:

Appium is an open source tool that you can use to automate mobile native , mobile websites and mobile hybrid applications on iOS and Android platforms.

2- Yes, Appia should work with Genymotion. See here for an example.

3- Your tests will need to reference Selenium libraries to communicate with Appium.

+3
source

Source: https://habr.com/ru/post/1206420/


All Articles