Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium 1 vs 2

I am starting up a test suite for an internal JavaScript UI library for the place I work.

I have written about 10 Selenium 1 test cases or so in Python, for exploratory purposes, and so far it's gone well. I wrote the tests in Python and am using RC to run the tests in IE7,8,FF and Safari on the Mac so far so good.

I know Selenium2 is in alpha but read somewhere that it's production ready, whatever that means.

1) Since I am just starting out writing this suite, should I be using the webdriver API and Sel2, or is that not ready for prime time? 2) Can I use Sel2 with RC yet? It's unclear to me from Selenium's website if that is possible.

3) Anyone have experience with the Python driver for selenium 2? Or should I just write tests in Java?

like image 709
Aaron Avatar asked Aug 02 '10 02:08

Aaron


People also ask

What is difference between selenium 2 and selenium 3?

Selenium 3.0 has become a W3C (world wide web consortium) standard. Also, Selenium 3 would be majorly looking to be a choice of software testing tool for both web and mobile-based applications. Selenium 2 is the combination of WebdDriver+SeleniumRC (Selenium1) which is based on selenium core.

What is selenium l1?

Selenium Remote Control, also known as Selenium 1, is the first Selenium tool that allowed users to use programming languages in creating complex tests. WebDriver, is the newer breakthrough that allows your test scripts to communicate directly to the browser, thereby controlling it from the OS level.

Which feature is additional in selenium 2?

Selenium 2 also includes Selenium Server, which supports distributed testing via Selenium Grid. The new Selenium Grid supports testing using both the original Selenium RC API and the new WebDriver API.


1 Answers

Disclaimer: I am a Selenium Committer

I would say write your tests in Selenium 2 where possible as the bits that are complete are ready for use and work well.

There are bits that have not been fully implemented yet like how to handle alerts and a few others but the current API is stable, what it does in the background is changing but that shouldn't affect your tests unless we introduce a bug.

like image 192
AutomatedTester Avatar answered Oct 03 '22 08:10

AutomatedTester