Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txt file has exception but the convert result is OK, txt content as below #12

Open
if1else0 opened this issue Mar 25, 2016 · 0 comments

Comments

@if1else0
Copy link

INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=
com.nd.duoxue.test.testcases.Upgrade:
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testBaMa
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: current=1
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=.
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testBaMa
INSTRUMENTATION_STATUS_CODE: 0
INSTRUMENTATION_STATUS: current=2
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testHaoSha
INSTRUMENTATION_STATUS_CODE: 1
com.android.uiautomator.core.UiObjectNotFoundException: UiSelector[TEXT=马上更新]
at com.android.uiautomator.core.UiObject.clickAndWaitForNewWindow(UiObject.java:432)
at com.android.uiautomator.core.UiObject.clickAndWaitForNewWindow(UiObject.java:410)
at com.nd.duoxue.test.utils.Util.check(Util.java:54)
at com.nd.duoxue.test.testcases.Upgrade.testHaoSha(Upgrade.java:82)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at junit.framework.TestResult.run(TestResult.java:118)
at junit.framework.TestCase.run(TestCase.java:124)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)
at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:297)
at dalvik.system.NativeStart.main(Native Method)
INSTRUMENTATION_STATUS: current=2
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=.
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testHaoSha
INSTRUMENTATION_STATUS_CODE: 0
INSTRUMENTATION_STATUS: current=3
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testHEK
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: current=3
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=.
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testHEK
INSTRUMENTATION_STATUS_CODE: 0
INSTRUMENTATION_STATUS: current=4
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testZhanHui
INSTRUMENTATION_STATUS_CODE: 1
INSTRUMENTATION_STATUS: current=4
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=.
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testZhanHui
INSTRUMENTATION_STATUS_CODE: 0
INSTRUMENTATION_STATUS: current=5
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testXMMBA
INSTRUMENTATION_STATUS_CODE: 1
com.android.uiautomator.core.UiObjectNotFoundException: UiSelector[RESOURCE_ID=com.android.packageinstaller:id/launch_button]
at com.android.uiautomator.core.UiObject.clickAndWaitForNewWindow(UiObject.java:432)
at com.android.uiautomator.core.UiObject.clickAndWaitForNewWindow(UiObject.java:410)
at com.nd.duoxue.test.utils.Util.waitForViewExistAndClick(Util.java:29)
at com.nd.duoxue.test.utils.Util.check(Util.java:90)
at com.nd.duoxue.test.testcases.Upgrade.testXMMBA(Upgrade.java:98)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at junit.framework.TestResult.run(TestResult.java:118)
at junit.framework.TestCase.run(TestCase.java:124)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)
at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:297)
at dalvik.system.NativeStart.main(Native Method)
com.android.uiautomator.core.UiObjectNotFoundException: UiSelector[RESOURCE_ID=com.eln.t:id/guide_viewpager]
at com.android.uiautomator.core.UiObject.getVisibleBounds(UiObject.java:811)
at com.android.uiautomator.core.UiObject.swipeLeft(UiObject.java:295)
at com.nd.duoxue.test.utils.Util.check(Util.java:96)
at com.nd.duoxue.test.testcases.Upgrade.testXMMBA(Upgrade.java:98)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:115)
at junit.framework.TestResult.runProtected(TestResult.java:133)
at junit.framework.TestResult.run(TestResult.java:118)
at junit.framework.TestCase.run(TestCase.java:124)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)
at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)
at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:297)
at dalvik.system.NativeStart.main(Native Method)
INSTRUMENTATION_STATUS: current=5
INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
INSTRUMENTATION_STATUS: class=com.nd.duoxue.test.testcases.Upgrade
INSTRUMENTATION_STATUS: stream=.
INSTRUMENTATION_STATUS: numtests=5
INSTRUMENTATION_STATUS: test=testXMMBA
INSTRUMENTATION_STATUS_CODE: 0
INSTRUMENTATION_STATUS: stream=
Test results for WatcherResultPrinter=.....
Time: 775.659

OK (5 tests)

INSTRUMENTATION_STATUS_CODE: -1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant