Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium - C# - nUnit

View previous topic View next topic Go down

Selenium - C# - nUnit

Post by dainova 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

dainova
Active particpant
Active particpant

Posts : 19
Join date : 2012-02-23

Back to top Go down

Re: Selenium - C# - nUnit

Post by sandeepqa on Tue Aug 07, 2012 5:26 pm

Check below link


avatar
sandeepqa

Posts : 3
Join date : 2012-08-03

Back to top Go down

Re: Selenium - C# - nUnit

Post by sandeepqa 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


avatar
sandeepqa

Posts : 3
Join date : 2012-08-03

Back to top Go down

Re: Selenium - C# - nUnit

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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