Selenium IDE and version 2.0?

63 views
Skip to first unread message

emilybache

unread,
Jan 13, 2010, 9:16:55 AM1/13/10
to webdriver
Hi,

I currently use version 1.0 of Selenium-RC with Java and I usually use
the Selenium-IDE firefox plugin to record snippets that I can use in
my tests. Java is just one of a long list of languages Selenium-IDE
currently supports. I am wondering if there are any plans for a
WebDriver option as part of Selenium 2.0? I mean, so that I can record
some clicks and stuff, then choose clipboard format "Java (Selenium
2.0)" and paste into my test class some code that uses
org.openqa.selenium.WebDriver instead of
com.thoughtworks.selenium.Selenium?

Emily

QA_manager

unread,
Jan 13, 2010, 9:56:44 AM1/13/10
to webdriver
I wrote that and contributed the code a while back; it should be in a
future version of Selenium. If you download the source now and begin
testing it you could provide us with feedback; that would be helpful.

I think the Selenium internal architecture is not well documented,
although there have been some recent efforts in that direction. The
very short (i.e., hastily-written) version of the instructions for
adding the WebDriver exporter to your existing Selenium is:

1) Find selenium-ide.jar; on Windows it should be here: C:\Documents
and Settings\<Your Account Name>\Application Data\Mozilla\Firefox
\Profiles\<Your Profile>.default\extensions\{a6fd85ed-e919-4a43-
a5af-8da18bda539f}\chrome

2) Make a copy of the jar file, so if you break something you can
easily start over. :-)
3) Unzip the jar file.
4) Add the new exporter in the 'selenium-ide\content\formats'
directory with the other exporters.
5) Make the changes to add the new exporter to the menu (there is a
diff file for that).
6) Build a new jar and name it selenium-ide.jar.

If you need additional help please feel free to email me directly.

Leslie

QA_manager

unread,
Jan 13, 2010, 10:10:52 AM1/13/10
to webdriver
BTW, you can also influence the inclusion of the WebDriver exporter
into the official Selenium IDE; just go to this thread:
http://groups.google.com/group/selenium-developers/browse_thread/thread/79bf2b64956f8afd?hl=en

and vote for it by posting '+1 http://jira.openqa.org/browse/SIDE-353'.
You may also add reasons why this enhancement should be added, if you
wish to.

Finally, that link will also give you the source code; I forgot to
include it in my earlier (hasty) post.

> On Jan 13, 9:16 am, emilybache <emily.ba...@gmail.com> wrote:
>
> > Hi,
>

Reply all
Reply to author
Forward
0 new messages