Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to export Selenium IDE Test Suite in Python?

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

like image 469
faisal Avatar asked Nov 05 '13 10:11

faisal


People also ask

What is testsuite in selenium Python?

The Unittest module has a TestSuite class which makes it easy to create an end to end Selenium Python Test Suite. With this feature, we can combine various tests into logical groups and turn them into a unified test suite. All of this is achievable by using the TestSuite, TestLoader, and TestRunner classes.

How do I export a test case from Selenium IDE?

With a simple test case set up in Selenium IDE we're ready to get started. Exporting a test is just a couple of clicks away. The best option given our preference (Ruby and WebDriver) is to use the Ruby / RSpec / WebDriver option from the menu.

What is Selenium IDE?

What is Selenium IDE? Selenium IDE is a Firefox/Chrome Add-on that helps create Selenium test cases and test suites against web applications. It is a useful tool to create the bulk of your Selenium scripts, but it does also have its limitations. For this blog, we will concentrate on just Firefox, although Chrome is pretty much the same.

What is selenium Python unittest test loader?

Selenium Python Unittest Framework Test Loader – It’s a Python class which loads test cases and suites created locally or from an external data source like a file. It releases a TestSuite object that carries those cases and suites.


1 Answers

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:

  • Selenium Test Suite Batch Converter (Firefox add-on by Samit Badle)
like image 114
Pi Delport Avatar answered Oct 02 '22 14:10

Pi Delport