Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

Selenium - C# - nUnit Empty Selenium - C# - nUnit

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
sandeepqa
sandeepqa
Posts : 3
Join date : 2012-08-03

Selenium - C# - nUnit Empty Re: Selenium - C# - nUnit

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


Selenium - C# - nUnit Appendix_installing_dotnet_driver_client
sandeepqa
sandeepqa
Posts : 3
Join date : 2012-08-03

Selenium - C# - nUnit Empty Re: Selenium - C# - nUnit

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.

    Selenium - C# - nUnit Chapt5_img01_Launch_VisualStudio


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

    Selenium - C# - nUnit Chapt5_img02_CreateProject


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

    Selenium - C# - nUnit Chapt5_img03_TestClassFile


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

    Selenium - C# - nUnit Chapt5_img04_AddReference


  • 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

    Selenium - C# - nUnit Chapt5_img05_AddDlls
Sponsored content

Selenium - C# - nUnit Empty Re: Selenium - C# - nUnit

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