forked from Ardesco/Ebselen
-
Notifications
You must be signed in to change notification settings - Fork 0
IDE Convertor
Ardesco edited this page Dec 8, 2011
·
1 revision
An IDE Converter is available to try and ease the transition from Selenium IDE scripts to Selenium scripts that can be run as part of the Ebselen Test Framework.
The converter is not 100% feature complete yet, but it is capable of converting basic Selenium IDE scripts to Java so that they can be run in the Ebselen Test Framework.
To use it in IntelliJ do the following:
- Open IntelliJ and load up the ebselen project
- Open the file IDEToEbselen.java (Press CTRL + SHIFT + N and then type IDEToEbselen into the text box that appears)
- Click the drop down box at the top of the screen and select Edit Configurations
- In Program parameters enter the absolute file path to a Selenium IDE test script (not a test suite)
- Click OK
- Run IDEToEbselen
- You should now have a converted Java file in the Ebselen Test package "convertedfromide" (To see it in the IDE you will need to right click convertedfromide and select Synchronize.
- You can now right click the file in the IDE and select run and it should just work.
- Finish translating all the IDE commands to Selenium 2 (If you need something that is not yet implemented raise an issue and I'll try to add it ASAP)
- Tidy up directory traversal (currently directory traversal should work, but it may choke on some files that are not Selenium tests)