Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JUnit Format in WebDriver vs WebDriver Backed

I have recorded a test case in Selenium IDE and want to convert that to Junit. When I try to change through format, I have two options called ‘JUnit WebDriver’ and ‘JUnit WebDriver Backed’. Can you guys please explain me what is the different between this WebDriver and WebDriver Backed? Sorry I am new to Selenium, started learning through Internet Materials.

Thanks, Abdul Hameed

like image 765
Abdul Hameed Avatar asked Mar 20 '12 21:03

Abdul Hameed


2 Answers

You use "JUnit WebDriver" if you are using the Selenium 2/WebDriver API. You use "JUnit WebDriver Backed" if you are using the Selenium 1/RC API.

If you switch back and forth you can see the difference in the test method displayed in the IDE window.

More info on the Selenium website here.

like image 193
kenki Avatar answered Oct 19 '22 22:10

kenki


The WebDriver Backed JUnit is a hybrid option to allow you continue using the Selenium 1.0 RC while migrating your existing tests to Selenium 2.0 WebDriver

like image 2
dmeehan Avatar answered Oct 19 '22 22:10

dmeehan