Update: You find the current version of the SeleniumABAP Project at SAP Code Exchange.
Unfortunately I've caught a bad cold and I have to stay in bed exactly to the time I want to travel the Cluetrain to Vienna. Also today, which is the night of the SAP TechEd 2009 Demo Jam, I was not well enough to travel to Vienna. So I had to call Craig Cmehil this morning and canceled my attendance. But as already planned I release the source code of my project to the public.
To get an insight of what Selenium and Selenium for ABAP can do for you, please watch this Videos:
The first thing what you need to record tests is Selenium IDE which comes as a Firefox plugin. If you're not running Firefox get it here.
To convert the recorded test in Selenium IDE to a ABAP Unit test class you need abap-rc.js which is a JavaScript file that can be imported into Selenium IDE by navigating to Options - Options ... - Formats in the Selenium IDE Menu. There you can click on the Add button, provide a name for the new format where I would suggest "ABAP Selenium RC" and then paste the code into the box below.
To run the generated ABAP Unit test you have to install the SAPLink Nugget ZSELENIUMABAP.nugg.zip. It provides the Selenium RC ABAP Client Driver class and also the XSL Transformations to create this class from the iedoc.xml which is the Selenium API definition.
This is the current status of this project. What I would like to add is a possibility to generate eCATT tests in Selenium IDE and import them as an eCATT test script. If you know a way how to do that please contact me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 |