用于.NET的Selenium dll文件

时间:2012-05-09 19:13:01

标签: .net dll selenium-rc

我正在安装Selenium来学习自动化测试,我选择了C#.Net作为我的语言。我从此页面下载了.Net客户端驱动程序 - http://seleniumhq.org/download/ 即我下载了:

enter image description here

现在当我遵循这些步骤时,它说我需要在Visual Studio中创建一个类库,然后添加对一些NUnit和Selenium dll文件的引用。好吧,我安装了NUnit,创建了类库,当试图引用dll时,我无法找到应该添加的少数几个。如果有人之前遇到类似问题或知道我在哪里可以找到这些文件,那么请帮助。

要添加的文件: -

http://seleniumhq.org/docs/appendix_installing_dotnet_driver_client.html#configuring-selenium-rc-net-reference

enter image description here

我在我的机器上的Dll是:

enter image description here

即。我只有ThoughtWorks.Selenium.Core.dll

我在NUnit文件夹中找到了NUnit.framework.dll和NUnit.nmock.dll。

Issue: I don't have or am not able to find the following dll's:
nunit.core.dll
nmock.dll
ThoughtWorks.Selenium.IntegrationTests.dll
ThoughtWorks.Selenium.UnitTests.dll.

请建议。

1 个答案:

答案 0 :(得分:1)

碰巧我正在寻找同样的东西,而且在这里,

https://github.com/schneems/Selenium-RC-Beta-2

你去这里下载整个包的zip文件。 解压缩zip文件,在文件夹“selenium-dotnet-client-driver-1.0-beta-2”中找到所需内容。