Moving to Selenium RC from Selenium IDE should be painless, right?
You can just select the test case and export it to the language you love. Really simple.
- Click on the test case
- Click on the File menu
- Wait on Export Test Case as
- Click on the desired format
- Type in the filename
- Click on the save button
If you have been using Selenium IDE heavily and already have a few suites each with about a dozen or more test cases, and fearing the move to Selenium RC. You won’t have to fear it for much longer. 🙂
How it came to be? Some people don’t mind manual labour, I do. I prefer to be efficient. 🙂 That means, I want to reuse as much code as possible, get things done without having to repeatedly do a sequence of items and not to be bothered with needless prompts. What started as a dirty patch to the Selenium IDE quickly evolved into a User Extension that I came to depend on.
I recently had reason to revisit this area and I decided to bundle the old code into a plugin after polishing it a bit. Ta Dah! The batch converter will be out soon. It has been a great help to me, I have a feeling it will helps some others as well. Check back soon if you are interested.
Hi, I use Selenium RC(1.03) and Selenium IDE(1.0.7) for a long time and everything works work great. Mainly I’m able to format my test cases to java code from Option/Format. Now I got a new PC and installed newer IDE 1.4.1 but I can’t download Selenium Server 2.14.0. From { IDE/Option/Formats, I see HTML/Ruby RSpec (WebDriver)/Ruby Test::Unit (WebDriver)/…/Python 2 (WebDriver)/.. }, but Java formatter is not included.
What am I missing? I have been reading and tried “Export Test Case as” and setting flag “Enable experimental features” and try to install “The Batch Converter” which failed, gray out in extension. Help, Please advise.
Many thanks.
Hi Susanna,
I am not sure I understand your question. If you are still having a problem, get back to me and I will try to help.
Cheers,
Samit
Hi,
I don’t see Java or Perl neither in “Export Test Suite as” nor in “Format”. What can be the reason?
Thanks.
Hi Remdy,
The official support for the Perl exporter was dropped it should be available separately. The Java formatters are in two flavors JUnit and Test NG. You can choose any one of these that you like. I am planning to put the Java name back in those for the next release.
Cheers,
Samit