I need to create a nested test suite in Selenium that will run in the Selenium IDE or the Selenium TestRunner. This is basically the structure that I'm trying to achieve:
MasterTestSuite.html
- ComponentTestSuite.html
- TestCase1.html
- TestCase2.html
- OtherComponentTestSuite.html
- TestCase3.html
- TestCase4.html
I NEED to be able to achieve something equivalent to this. I have started to try an Include extension, which allows me to include the contents of another test case, but I am running into problems with it. How have you achieved this? What advice can you give on how to help me achieve this?
This might not be an explicit answer, but I played with Selenium IDE for 3 months. Then I found out that WebDriver is so much more powerful. Your situation is a piece of cake with Selenium WebDriver. The more complex the logic, the better off you are using source code instead of a GUI interface to define your workflows. The input and output parameters can get very confusing if not documented properly. And they can break very easily if they upgrade Selenium IDE. The Selenium IDE is very good at showing a novice programmer how to automate a workflow with a recorder, but if you are a programmer, it'll hold you back.
However, if you really want to accomplish your situation, you can develop your own custom JavaScript function that calls other functions (or other test cases).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With