[英]How to run Selenium C# tests on real android device in browser?
I need to add the ability to my existing Specflow/C#/Selenium/NUnit project to run tests in a browser on a mobile phone without using emulation. 我需要在现有的Specflow / C#/ Selenium / NUnit项目中添加该功能,以便在不使用仿真的情况下在手机的浏览器中运行测试。 Please can you point me to a useful guide so I can achieve this? 请您为我指出一个有用的指南,以便我可以实现这一目标? I keep finding guides in Java or guides to do this via a business's services, it's so frustrating. 我一直在寻找Java指南或通过企业服务执行此操作的指南,这真令人沮丧。 I need to use Appium... maybe? 我需要使用Appium ...也许?
As Selenium itself hasn't have the ability to communicate with mobile device directly, Yes you need to integrate tool such as Appium. 由于Selenium本身不具有直接与移动设备通信的能力,是的,您需要集成诸如Appium之类的工具。
Appium internally use Selenium and have a another wrapper on top of it which have the ability to communicate with mobile devices or emulators Appium在内部使用Selenium,并在其顶部有另一个包装,该包装可以与移动设备或仿真器进行通信
Some C# reference for Appium are as below: Appium的一些C#参考如下:
Important : 重要事项:
https://www.diatomenterprises.com/testing-mobile-apps-with-specflow-and-appium/ https://www.diatomenterprises.com/testing-mobile-apps-with-specflow-and-appium/
https://applitools.com/tutorials/appium-web-csharp.html#analyze-your-test-results https://applitools.com/tutorials/appium-web-csharp.html#analyze-your-test-results
Others : 其他 :
https://www.automatetheplanet.com/getting-started-appium-android-csharp/ https://www.automatetheplanet.com/getting-started-appium-android-csharp/
https://www.3pillarglobal.com/insights/ios-mobile-app-automation-testing-using-appium-and-c https://www.3pillarglobal.com/insights/ios-mobile-app-automation-testing-using-appium-and-c
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.