Confirmed users
905
edits
| Line 259: | Line 259: | ||
=== Run tests remotely via the SUTAgent === | === Run tests remotely via the SUTAgent === | ||
* In order to run tests remotely you will need to setup the SUTAgent ([https://wiki.mozilla.org/QA_SoftVision_Team/Mobile/Pandaboard_setup#Using_the_SUTAgent How to install]) | |||
* The device will have to be in the same network as the pc you are trying to run the tests from | |||
* After getting the IP of the device just substitute the variables in the command: | |||
<pre> _virtualenv/bin/python _tests/testing/mochitest/runtestsremote.py --robocop-path=./dist --robocop-ids=./build/mobile/robocop/fennec_ids.txt --console-level=INFO --log-file=./mochitest-robotium.log --file-level=INFO --dm_trans=sut --app=org.mozilla.fennec_root --deviceIP=192.168.77.104 --xre-path=/home/adriantamas/desktopc/objdir-firefox/dist/bin --robocop=./build/mobile/robocop/robocop.ini </pre> | <pre> _virtualenv/bin/python _tests/testing/mochitest/runtestsremote.py --robocop-path=./dist --robocop-ids=./build/mobile/robocop/fennec_ids.txt --console-level=INFO --log-file=./mochitest-robotium.log --file-level=INFO --dm_trans=sut --app=org.mozilla.fennec_root --deviceIP=192.168.77.104 --xre-path=/home/adriantamas/desktopc/objdir-firefox/dist/bin --robocop=./build/mobile/robocop/robocop.ini </pre> | ||
* If you want to select which tests, from the existing tests in the build, to run in the testrun just create a robocop.ini file and specify it with the --robocop variable | |||