Share
Go down
dainova
Active particpant
Active particpant
Posts : 19
Join date : 2012-02-23

Selenium - C# - nUnit

on Thu Jul 19, 2012 3:30 pm
Hi all
I used Se RC with Ruby, but now need to migrate to C# on nUnit, can anybody point me to end-to-end example how to make it run for simple TC. Like for dummies. I have Se2, nUnit, VStudio 10 Express but have problems configuring all this things.
Now my VS can't be compiled, it does not see Selenium.* though I make Project>Add reference>Browse ==>nunit.framework.dll

Appreciate your help.
I working as operator for Community Healtp Plan and trying to move on, gladly accept help even willing to donate some.

I found one on http://www.theautomatedtester.co.uk/tutorials/selenium/selenium_csharp_nunit.htm but can't get p3 how to add reference to Nunit, surely it's simple for some guys, but I'm brand new to VS and dlls.


Dai
avatar
sandeepqa
Posts : 3
Join date : 2012-08-03

Re: Selenium - C# - nUnit

on Tue Aug 07, 2012 5:26 pm
Check below link


avatar
sandeepqa
Posts : 3
Join date : 2012-08-03

Re: Selenium - C# - nUnit

on Tue Aug 07, 2012 5:31 pm
[b].NET client driver configuration[/b]


.NET client Driver can be used with Microsoft Visual Studio.
To Configure it with Visual Studio do as Following.


  • Launch Visual Studio and navigate to File > New > Project.




  • Select Visual C# > Class Library > Name your project > Click on OK button.




  • A Class (.cs) is created. Rename it as appropriate.




  • Under right hand pane of Solution Explorer right click on References > Add
    References.




  • Select following dll files -
    nmock.dll, nunit.core.dll, nunit.framework.dll,ThoughtWorks.
    Selenium.Core.dll, ThoughtWorks.Selenium.IntegrationTests.dll,
    ThoughtWorks.Selenium.UnitTests.dll and click on Ok button


Sponsored content

Re: Selenium - C# - nUnit

Back to top
Permissions in this forum:
You cannot reply to topics in this forum