Tuesday, 11 October 2011


Web Driver: It is used to automate the web pages.
Benefit to use web driver: To over the Selenium-RC (Remote Control) method. In RC we've to run the Selenium Server which is bit of slow and time consuming.
Selenium related s/w available: http://code.google.com/p/selenium/downloads/list
S/w Required
1. Visual Studio 2008
2. Web Driver (.dll files)
 
 
2. Web Driver (.dll files)
Right Click on References -> Click on Add References -> Click on Browse -> add the above .dll files to
the project
 
 


An example:
Step 1: Write the program [Note: Scenarios can be recorded in Selenium IDE and convert it in to C# web  driver
as per the requirement and we can utilize]  





Step 2 : Run the Project [CTRL+F5]


See the results in Console Application [sign out text is not found]
[sign in text is found in the web page ]
Note : "Sign in" text is updated in the project