selenium - 带 Selenium 的 Genymotion 模拟器

标签 selenium selenium-webdriver genymotion

我可以将genymotion模拟器与selenium集成吗?进行Android应用程序的测试。在没有设备的情况下使用 selenium 的功能我的意思是使用 genymotion 模拟器。

最佳答案

我得到了答案,并成功地将 Genymotion 与 selenium 集成。

我做了以下工作:

1 - 在 eclipse 中安装 genymotion 插件

2 - 使用我的项目配置 Selendroid JAR 文件

3 - 在我的程序中指定 Genymotion 设备序列,例如 capa.setSerial("192.168.xx.xxx:xxxx");

4 - 就是这样,我现在可以通过 selenium 运行 genymotion。

关于selenium - 带 Selenium 的 Genymotion 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26801713/

相关文章:

Ruby/Selenium WebDriver XPath 优缺点

android - Charles 代理与 Genymotion : monitoring https -> unreadable response

selenium - 如何在 Mozilla Firefox 中安装 Selenium IDE

c# - 如何使用 selenium C# 清除 session 存储?

javascript - 如何使用 Protractor 验证不同位置的两个跨度是否相等?

java - 如何重置字段中的用户名?

android - 等待 GenyMotion 的任何设备上的黑色/空白屏幕服务 SurfaceFlinger 问题

ubuntu - Genymotion 配置不正确

java - 使用 selenium 打开 url 时未显示 Ajax 控件

java - 为什么我的点击事件在 Selenium 中不起作用?