[英]Selenium WebDriver with C# using NUnit: execute test cases on multiple browsers in parallel on single machine
I am new in Selenium testing. 我是硒测试的新手。 I want to run my multiple test cases on different browsers in single machine. 我想在一台机器上的不同浏览器上运行多个测试用例。
I have windows 7 operating system with Visual Studio 2010 installed. 我安装了Visual Studio 2010的Windows 7操作系统。 I am using Selenium IDE + WebDriver + NUnit. 我正在使用Selenium IDE + WebDriver + NUnit。
I want to run my test cases on different browsers in single machine in parallel. 我想在单台计算机上的不同浏览器上并行运行测试用例。
Let's say I have T1, T2 and T3 test cases, recorded in Selenium IDE, and IE 8, FireFox and Chrome Browser Install on my machine. 假设我有在Selenium IDE中记录的T1,T2和T3测试用例,以及在我的计算机上安装的IE 8,FireFox和Chrome浏览器。 I want to run T1 >> on IE 8, FireFox and Chrome Browser at the same time, in parallel. 我想在IE 8,FireFox和Chrome浏览器上同时运行T1 >>。
Please let me know 请告诉我
what are the software I need to install/configure to achive and how to do it. 我需要安装/配置哪些软件才能实现该功能以及如何执行此操作。
Step by Step details of configuration will really help me as I am new to Selenium and as well as to Open Source testing World. 关于Selenium和开放源代码测试世界的新手指南,详细的配置细节将对我有很大帮助。
Appreciate your quick reply. 感谢您的快速答复。
Thanks, AJain 谢谢阿Ja
Selenium Packages is needed to be installed in any of the technology you are using such as C#/Java/Delphi Selenium Packages必须安装在您使用的任何技术中,例如C#/ Java / Delphi
Install-Package Selenium.WebDriver
Install-Package WebDriverChromeDriver
Install-Package NUnitTestAdapter.WithFramework
Install-Package WebDriver.IEDriver
Install-Package Selenium.Support
Install nunit Click on Download 安装nunit单击下载
Let me know if any other guidance is needed 让我知道是否需要其他指导
您可能要尝试使用BrowserStack- http: //browserstack.com/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.