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
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
Awesome work dude.. keep it up.. Please create a blog for C# & ADO.net..
ReplyDeleteHi ,
ReplyDeleteIt is really very useful information .
Please give the code snippet instead of giving it in image format.
I wanna try this , so if possible send me a sample project itself :)
Thanks for the information .
I am trying to learn the tool.I'll be sending the related information to you soon.
ReplyDeleteThank you.