문제

I am following Robotium guidelines for automating third party application.when i create android test application ,it is throwing null pointer exception.Even if I neglect it and try to run application ,it is throwing no application with that name.

도움이 되었습니까?

해결책

Even I have tried a lot over this, but in vain. One of my friend suggested me to double click the finish button twice as fast as I can and I have done it. By following this I have solved.. You too try once and check it out.

다른 팁

Not sure if this will help you, but testing third party applications I've used testdroid-robotium. This creates a simple 'template' for the robotium quickly using your touch input from the device. From there you can edit the testcase to add the extras you need.

While following the tutorial for testdroid I haven't run into any null pointer exceptions. Maybe you can try this out and see if it helps?

edit- and then I see this was asked 1 year ago :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top