Post

1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

By Rafaela Azevedo
Acess the folder plataform-tools of Android Sdk and execute:
./adb start-server
Verify if the device was connected on pc, list of device and emulator:
./adb devices
Ps. 1 : Case give some error telling that the device wasn’t connected, verify if the USB Debugging Mode are enable on device (Settings> Developer Options > USB Debugging)
Fonts: http://stackoverflow.com/questions/7394868/netbeans-android-compile-test-on-real-device-unix-osx
Ps. 2 :If the your environment be configurate to run with emulator on Eclipse is necessary adjust the configurations of execution, it is written on the link: http://www.donnfelker.com/running-your-android-app-on-a-device/
*Execute the Apk on Device:
– If you have an emulator and a device connected in the same time, execute:
calabash-android to run apkfile.apk ADB_DEVICE_ARG=SERIAL (Serial captured of the device’s list, previously)
– Execute the console irb of apk
Same way on emulator, execute:
calabash-android console apkfile.apk
* Don’t forget of do the start of server on shell:
start_test_server_in_background
Contributed by Lieuthier, Eduardo

Source: http://azevedorafaela.wordpress.com/2013/10/23/configuration-to-tests-with-device-netbeans/

Category: Programming, QA, Test and Automation Stuffs, automation on device, configuration, device, mobile, netbeans, tests, tests on real device

Você também pode querer ler

Comments are off for this post.