lovelysystems / robotframework-androidlibrary

Robot Framework Automation Library for Android
29 stars 22 forks source link

Not able to run Android -RF project #61

Open praduman opened 10 years ago

praduman commented 10 years ago

Hi, I have created a sample project but not able to execute. Getting some issues. I m using latest SDK,PYTHON 2.7 and latest Robot framework on windows 8.

Error:-

TEST SUITE: Apidemos Expand All Full Name: Apidemos Source: D:\apidemos Start / End / Elapsed: 20131206 16:00:26.566 / 20131206 16:04:46.594 / 00:04:20.028 Status: 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed TEST SUITE: Data Expand All Full Name: Apidemos.Data Documentation:
Tests the ApiDemos.apk that is included in the Android SDK Source: D:\apidemos\data Start / End / Elapsed: 20131206 16:00:26.591 / 20131206 16:04:46.593 / 00:04:20.002 Status: 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed Message: Suite setup failed: WindowsError: [Error 5] Access is denied

Also suite teardown failed: WindowsError: [Error 5] Access is denied SETUP: Setup Suite Expand All Start / End / Elapsed: 20131206 16:00:26.690 / 20131206 16:04:46.588 / 00:04:19.898 KEYWORD: Android SDK Should Exist Expand All KEYWORD: ${HEADLESS_BOOL} = BuiltIn.Convert To Boolean ${HEADLESS} Expand All KEYWORD: AndroidLibrary.Start Emulator ${EMULATOR_NAME}, no_window=${HEADLESS_BOOL} Expand All KEYWORD: BuiltIn.Sleep 40 Expand All KEYWORD: Re-Sign ApiDemos.apk with Debug Keystore Expand All KEYWORD: Build Instrumentation App Expand All KEYWORD: Install App Expand All KEYWORD: AndroidLibrary.Stop Emulator Expand All Documentation:
Halts a previously started Android Emulator. Start / End / Elapsed: 20131206 16:04:46.557 / 20131206 16:04:46.587 / 00:00:00.030 16:04:46.587 FAIL WindowsError: [Error 5] Access is denied TEARDOWN: AndroidLibrary.Stop Emulator Expand All Documentation:
Halts a previously started Android Emulator. Start / End / Elapsed: 20131206 16:04:46.592 / 20131206 16:04:46.593 / 00:00:00.001 16:04:46.592 FAIL WindowsError: [Error 5] Access is denied TEST SUITE: 02 Apidemos Expand All Full Name: Apidemos.Data.02 Apidemos Source: D:\apidemos\data\02 apidemos.txt Start / End / Elapsed: 20131206 16:04:46.588 / 20131206 16:04:46.591 / 00:00:00.003 Status: 1 critical test, 0 passed, 1 failed 1 test total, 0 passed, 1 failed Message: Parent suite setup failed: WindowsError: [Error 5] Access is denied TEST CASE: Setup Set Text Test Expand All Full Name: Apidemos.Data.02 Apidemos.Setup Set Text Test Timeout: 10 minutes Start / End / Elapsed: 20131206 16:04:46.590 / 20131206 16:04:46.590 / 00:00:00.000 Status: FAIL (critical) Message: Parent suite setup failed: WindowsError: [Error 5] Access is denied

Also parent suite teardown failed: WindowsError: [Error 5] Access is denied

Regards, Praduman srivastava