2012-05-09 31 views
4

我安裝Selenium來學習自動化測試,並選擇了C#.Net作爲我的語言。我下載的.Net客戶端驅動程序從這個頁面 - http://seleniumhq.org/download/ 即我下載:.NET的硒DLL文件

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.framework.dll中和NUnit.nmock.dll在NUnit的文件夾中。

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. 

請建議。

+0

您是否發現組件在哪裏? – Antebios

回答

1

它剛剛發生,我一直在尋找同樣的事情,在這裏它是,

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

你去,此地下載zip文件的全包。 解壓zip文件,並在文件夾「selenium-dotnet-client-driver-1.0-beta-2」中找到你所需要的。