I just working on android UI automation test in few weeks. I tried with robotium in a time and now I want change to appium framework. And my question are:
- I read that appium is a test tool to test webview application. So how about the other app that is not webview app?
- Can I run test from appium on genymotion?
- Any other tool do I need to install with appium(selenium or something)?
Edit When I try to install appium with out sudo I got this error
ERR! Error: EACCES, unlink '/Users//appium/node_modules/.bin/instruments-client.js'
npm ERR! { [Error: EACCES, unlink '/Users//appium/node_modules/.bin/instruments-client.js']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/Users//appium/node_modules/.bin/instruments-client.js' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! System Darwin 13.1.0
npm ERR! command "/usr/local/Cellar/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! path /Users//appium/node_modules/.bin/instruments-client.js
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/Users//appium/node_modules/.bin/instruments-client.js'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users//appium/npm-debug.log
npm ERR! not ok code 0
Then I try with 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 had to install Appium using
sudo npm install -g appium
, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages."
Any help?
1- Yes, Appium can test non-webview apps. The first line on the Appium introduction page says:
2- Yes, Appium should work with Genymotion. See here for an example.
3- Your tests will need to reference the Selenium libraries in order to communicate with Appium.