!!

Welcome to Selenium Webdriver Forum

As a web user you can read and search through forum content. Once you have registered and signed you can post topics, post replies, set up watch lists, modify forum settings, and use private messaging.

Author Topic: Selenium support  (Read 831 times)

Joseph Gentle

  • Web User
Selenium support
« on: February 23, 2012, 01:18:23 PM »
I see a lot of selenium-related code. What is the status with selenium
 support? Is the plan to make selenium tests run natively in webdriver,
 or do they need to be rewritten in java from the selenese?
 -J

Joseph Gentle

  • Web User
Re: Selenium support
« Reply #1 on: February 23, 2012, 01:18:37 PM »
I see a lot of selenium-related code. What is the status with selenium
 support? Is the plan to make selenium tests run natively in webdriver,
 or do they need to be rewritten in java from the selenese?
 -J

Simon Stewart

  • Web User
Re: Selenium support
« Reply #2 on: February 23, 2012, 01:18:45 PM »
Hi Joseph,
 I assume you're talking about the code under the "selenium" part of
 our source tree? The plan with this is to provide a mechanism where
 someone can run their existing tests using the original Selenium API.
 This is useful where someone has a large body of existing tests and
 wants to move to the newer WebDriver API (or take advantage of some of
 the tech we offer) It's also useful in that when we merge the
 WebDriver and Selenium projects we'll be able to offer users the best
 underlying technology that's appropriate for what they're trying to
 do.
 
The support is currently in the "experimental" phase, and isn't quite
 ready for use yet, though if anyone's using it and finds out that they
 need "just one feature" please feel free to ask for it! It's a copy of
 the 1.0beta1 interface, so it's up to date. I've also shuffled the
 JARs around, so it should be possible to have both the Selenium RC
 jars and the "webdriver-selenium.jar" in the same project without
 anything clashing. The plan for finishing the selenium emulation looks
 like:
 
* Support dealing with alerts and prompts natively in WebDriver
 * Then pull in chunks of Selenium Core...
 * ... using Rhino to grab useful code paths automatically
 * The WebDriverBackedSelenium instance will then delegate to Core
 where it's necessary but will otherwise use WebDriver APIs directly
 
The "Core" code will be injected using the "JavascriptExecutor"
 interface, so it's theoretically equivalent to the proxy-injection
 mode of Selenium RC.
 
Currently, it's blocked on my sitting down and implementing the
 firefox code for handling alerts, though I could move a lot of stuff
 forward without implementing that and will probably do so soon.
 
Simon
 

- Show quoted text -

Selenium Webdriver

Re: Selenium support
« Reply #2 on: February 23, 2012, 01:18:45 PM »

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
1010 Views
Last post April 02, 2012, 02:41:35 PM
by Mark Collin
5 Replies
844 Views
Last post April 02, 2012, 05:08:53 PM
by Mark Collin
4 Replies
802 Views
Last post April 11, 2012, 10:10:45 PM
by Mark Collin
15 Replies
2287 Views
Last post April 12, 2012, 02:58:52 PM
by cjayswal
1 Replies
769 Views
Last post May 03, 2012, 11:00:59 PM
by David Benson
4 Replies
895 Views
Last post July 04, 2012, 03:52:18 PM
by Nandan
4 Replies
627 Views
Last post September 13, 2012, 09:32:29 PM
by Nandan