7

I know how to export Test case in python from Selenium IDE. But I wonder Is it possible to export Test Suite in python?

Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
faisal
  • 81
  • 1
  • 6

2 Answers2

3

This is not supported in the core Selenium IDE itself (yet), but this add-on will let you export all the test cases in a suite in one go:

Pi Delport
  • 10,356
  • 3
  • 36
  • 50
-2

You can export Selenium IDE Test Suite in Python like the following steps:

  1. Record the series of actions to test which you would like to export from the Selenium IDE. This is the "test suite" in which actions that evoke certain behaviors are saved by Selenium to repeat on command.
  2. In the menu bar, click "Options," then "Format," then "Python."
  3. Save the test under the name "test one," and then save the Python test suite as "test_one.py". The Python script will represent the actions in test suite in Python code.

Read more : http://www.ehow.com/how_12188004_export-python-test-suite-selenium.html

Set Kyar Wa Lar
  • 4,488
  • 4
  • 30
  • 57
  • 3
    The procedure you described is for exporting one only test to Python, not a Test Suite. In addition, I am unable to access the article you linked. The problem mentioned above is about exporting a set of tests which will all run together, one after another. See the related export issue in the following [link](https://groups.google.com/forum/#!topic/selenium-users/WYlhIHnVf7I) – GOstrowsky Jan 28 '15 at 16:08
  • link leads to an article titled "How to Convert MATLAB Scripts to Python" – DMart Jan 21 '16 at 17:42