Thursday, March 13, 2014

Selenium Webdriver with visual studio c#


Configuration to start with Selenium Webdriver with c# in visual studio

Step 1:Open the Microsoft Visual Studio

Step 2:File->New->Project

Step 3:Choose Project types as Visual c# and choose Console Application in Templates


Step 4:Name the project(by default it as ConsoleApplication)

Step 5:Click ok

(before proceed the 6th step to download the Selenium Client & WebDriver Language Bindings
in the language of c# in http://docs.seleniumhq.org/download/)

Step 6:Add the reference dll[ by right clicking the (References and Add Reference)in Solution Explorer Window]

Step 7:In Add Reference ->Browse Tab->choose the file of downloaded location
(if the file is in zip format means extract it)
and upload the dll files of either net35 or net40

Step 8:And the download the browser driver that what the browser you want

Step 9:Start to playing with Selenium Webdriver with c# in visual studio


No comments: