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
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
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,
>