Create a New Selenese Object

To convert a test case recorded with Selenium IDE, follow the steps below:

1- Record your test case using Selenium IDE. In the video at the bottom of the article, we have used an example to navigate to Reference site, log into a user and add a new post.

2- Stop recording the test case on Selenium IDE and enter a name for it.

3- Save the project to a location on your device.

4- Back on Subject7, hover over Repository and select Selenese Objects to define your Selenese object.

image-20240620-101029.png

5- Click + while on Selenese Objects tab. You can select Folder to create a folder to organize your Selenese objects. To create a new Selenese object, select Object.

image-20240306-081226.png

6- Click Converter to convert Selenium IDE file to commands that Subject7 will run.

7- For Selenium IDE version 2.x, copy and paste the HTML output of the Selenium IDE recording into the text area shown below:

8- For Selenium IDE version 3.x, upload the file that was saved from the Selenium IDE project.

9- Select the parameter for the converter in case it runs into an unsupported command:

                A- Skip: Skips any unsupported command and brings up supported ones only.

                B- Error: Shows an error message if an unsupported command is found.

10- Click Convert. The result will appear in the Commands field.

11- Click Save.

12- Create an automated test case and use the command Execute_Selenese.

13- Select the object you defined earlier.

14- Run your test case to verify that the steps have been performed successfully.