自动化机器人

发布于 2024-12-18 15:42:08 字数 100 浏览 2 评论 0原文

我遵循 Robotium 自动化第三方应用程序的指南。当我创建 android 测试应用程序时,它会抛出空指针异常。即使我忽略它并尝试运行应用程序,它也不会抛出任何具有该名称的应用程序。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧城空念 2024-12-25 15:42:08

就连我也为此做了很多尝试,但都是徒劳。
我的一位朋友建议我以最快的速度双击“完成”按钮,我已经做到了。通过遵循这个我已经解决了..你也尝试一次并检查一下。

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.

幽梦紫曦~ 2024-12-25 15:42:08

不确定这是否对您有帮助,但测试第三方应用程序时我使用了 testdroid-robotium。这将使用设备的触摸输入快速为机器人创建一个简单的“模板”。从那里您可以编辑测试用例以添加您需要的额外内容。

在遵循 testdroid 教程时,我没有遇到任何空指针异常。也许你可以尝试一下,看看是否有帮助?

编辑-然后我看到这是在一年前被问过的:)

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 :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文