Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Some background. I am a long time WatiN coder, and have been since I first looked a Selenium a few versions ago, and decided that it didn't meet my needs, then went with WatiN.

I now want to switch to selenium 2 (selenium web-driver)

What are the best resources where can I can find out about getting started with Selenium 2?

I am personally interested in the C# API, how control mapping works, and implementation examples. Selenium HQ.org still talks primarily about Selenium IDE and the older versions.

share|improve this question

4 Answers 4

up vote 3 down vote accepted

WebDriver documents are available at -

http://seleniumhq.org/docs/03_webdriver.html
http://seleniumhq.org/docs/04_webdriver_advanced.html

Does it help?

share|improve this answer
    
Being in the exact same boat as Bruce, the first link has very very basic information, and the second link is mainly 'to do'. I'm still finding it more useful to go through the method definitions in the dll's. –  Lyndon Vrooman May 8 '11 at 5:53
    
let us be more specific about kind of implementation example and/or control mapping being soughed here. May be I could help –  Tarun May 8 '11 at 10:18
1  
Please note that those docs are in the process of being revised for the upcoming Selenium 2 release. There are other resources available for information about Selenium WebDriver. Another answer already indicated the Google group for WebDriver. Another resource is the #selenium IRC channel on Freenode where many of the core developers frequent. –  JimEvans May 19 '11 at 16:03

I think a truly complete introduction to Selenium 2 is non-existent actually. But the project is still in beta-phase so it is a little understandable.

For C#, I would recommend starting here :

http://code.google.com/p/design-of-selenium-tests-for-asp-net/

If someone is looking for something less specific, The best I could recommend is going over the project's wiki : http://code.google.com/p/selenium/w/list

Especially those ( preferably in that order) :

http://code.google.com/p/selenium/wiki/GettingStarted

http://code.google.com/p/selenium/wiki/NextSteps

http://code.google.com/p/selenium/wiki/DesignPatterns

A good place to look for more information on Selenium is the official Selenium blog : http://seleniumhq.wordpress.com/

share|improve this answer

I think the Google Groups site is as good of a place as any for information: http://groups.google.com/group/webdriver/topics

share|improve this answer

I have a suite working in C# on a heavy javascript application. I found Selenium 2 Testing Tools: Beginner's Guide to be a great resource to figuring out the Page Object Pattern and other important Selenium concepts for writing a clean, informative, modular UI testing suite. I also recommend to focus on running your tests regularly on all the configurations you wish to test on (all browsers, domain, IE!, etc.) rather than writing as many tests as possible and fixing all the bugs later on other browsers / domains / configurations. Also in a javascript heavy app, explicit waits are your friend, this was a long barrier for me to finally get Selenium to be useful.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.