是否有可能在Linux上使用Genymotion为Android创建机器人?

时间:2016-09-11 07:52:50

标签: android bots genymotion

我有genymotion运行所有设置。我想构建一个脚本来在应用程序中创建一些任务。有可能吗?

3 个答案:

答案 0 :(得分:0)

您的任务类似于自动UI测试。查看SelendroidRobotium

答案 1 :(得分:0)

您可以使用UI Automator(https://developer.android.com/training/testing/ui-testing/uiautomator-testing.html)在设备内注入触摸和键盘事件。

答案 2 :(得分:0)

您可以使用Selendroid或Appium为移动应用程序创建自动化脚本。 Selendroid非常容易理解,您也可以使用这些测试框架执行大多数与UI相关的任务。

对于Selendroid,您可以点击此链接: http://www.guru99.com/introduction-to-selendroid.html

对于Appium:https://www.youtube.com/watch?v=eRddxh-4u5k

希望它会对你有所帮助。 :-)