【问题标题】:Is there anyway to mix ios automation and web automation in a single script using selenium无论如何使用 selenium 在单个脚本中混合 ios 自动化和 Web 自动化
【发布时间】:2016-09-25 16:00:21
【问题描述】:

我正在尝试使用 selenium web 驱动程序和 appium 在 ios 设备上执行自动化。在一种情况下,我必须创建一个帐户,我需要启动 Web 浏览器并验证该帐户,然后返回到移动设备并执行其余的自动化操作。

还有办法吗?任何参考表示赞赏

【问题讨论】:

    标签: java selenium selenium-webdriver appium


    【解决方案1】:

    这可以通过使用某些框架来实现,例如 TestNG(使用优先级或数据提供者标签)、Selenium Grid、混合驱动框架。

    【讨论】:

    • 谢谢@selva ..我现在正在使用TestNG框架..有什么参考可以让我完成这个过程..
    • @ArunKumar,您实际上可以执行类似 In Priority=0 - 创建帐户 In Priority=1 - 执行网络启动和验证 In Priority=3 - 执行移动自动化。
    • 您也可以通过 testng.xml 将 Selenium Grid 与 Appium 一起使用
    • 非常高兴它有帮助。
    猜你喜欢
    • 2022-01-07
    • 2020-09-30
    • 2019-07-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多