Exporting Test Cases and Test Suites


#1

Selenium IDE has the ability to export test cases into a user’s programming language and test framework of choice. e.g. “Java / JUnit / WebDriver” or “C# / NUnit / WebDriver”. This is very useful because it allows us to quickly produce a test case/suite which can then be adapted.

Are there any plans for Katalon Studio to provide a similar feature?


#2

Hi. Check out Katalon Recorder https://forum.katalon.com/discussion/4056/katalon-automation-recorder-powerful-selenium-ide-to-record-debug-play-tests-in-any-browsers. I’m using it to export my old Selenium IDE test cases to C# and it works well so far.


#3

How exactly are you loading in your existing Selenium IDE test cases? I can’t seem to find an import option in the Katalon Recorder and pasting into the script section of a test case produces multiple syntax errors.


#4

Eleanor,
In Selenium, when you save a test case it should be saved as an html file.
In Katalon Recorder, if you click on the three vertical dots next to ‘Test Case’, select ‘Open Test Suites’ then browse to your Selenium test case html file, select it and click ‘Open’

Hope this helps


#5

Hi Mark,

  1. Could you provide a screenshot indicating where is the 3 vertical dots? I don’t see it anywhere in the Katalon Recorder.
  2. Open test suite and then select test case but not test suite html file?
    Thanks,

#6

Here’s a screenshot showing the three dots next to the Test case heading

And here’s a screenshot showing the expanded menu

It looks like you can open both Test Suites and Test Cases html files. If you open a Test Case it seems to create a Test Suite as well.

Note that I’m using the latest version (2.0.10) of the recorder in Firefox.


#7

Ian,
We just posted tutorials on working with Katalon Automation Recorder. Please take a look

Import recorded Test Case into Katalon Automation Recorder

How to import Selenium IDE test cases into Katalon Studio

Let us know if you have other questions.

Also, thank you Mark for helping out :slight_smile:

Liam


#8

can we export existing test cases to execute again?? I didn’t get any option there…


#9

Hello Everyone… Is there a way to export Katalon scripts via java/junit to my local computer?


#10

Hi @“shital ayarekar” and @Marcy,

Thank you for using Katalon Studio. Katalon Studio does not support exporting test scripts at the moment. But the team will consider it for future releases.

Would you please explain what you are trying to achieve? Maybe we can help with a workaround.

Best,
Liam


#11

I would like to write tests of the form

  1. perform some actions generated using Katalon studio (record or manual mode)
  2. Call a custom API function to validate if actions in 1. resulted in the expected result in an external component

#12

Regarding exporting the test scripts - is there an older version that does test export? Exporting the test to python is my main use case, I see that in the documentation but not in the product. Am I missing it?


#13

Greg Turnquist said:

Regarding exporting the test scripts - is there an older version that does test export? Exporting the test to python is my main use case, I see that in the documentation but not in the product. Am I missing it?

Hi Greg,

All of Katalon Studio versions don’t have test export. It is something the team is considering for future releases.

Thanks for using Katalon Studio,
Liam


#14

+1 for export functionality !


#15

Looking to start using Katalon studio but the one big blocker is the inability to export tests - this means we are committed to Katalon and have no opt out if we fall out of love with it in the future. The export functionality would allow us to adhere to our business continuity policy.


#16

+1 for Export functionality.Exporting the test to python is my main use case, I see that in the documentation but not in the product.If it is not available, is there any other way round to use the Katalon studio script in python ?


#17

Export to Python is in the Recorder but not in Studio.

That’s what I was missing. -Greg


#18

Another +1. Our use case is we develop test cases for software we build for clients. But if their standard is to use Selenium, we need to provide them Selenium scripts. Katalon *should* make developing these scripts faster and easier for us (at least that is our hope as we continue to test it’s capabilities), but if we can’t provide the customer the results in the format desired, it becomes a non-starter. Since this capability is already built into the Katalon Recorder, please consider adding the same feature into the full Studio product.


#19

Hi Liam

Liam B said:

Ian,

We just posted tutorials on working with Katalon Automation Recorder. Please take a look

[How to import Selenium IDE test cases into Katalon Studio

](https://forum.katalon.com/discussion/4220/how-to-import-selenium-ide-test-cases-into-katalon-studio#latest)

Let us know if you have other questions.

If I try the above with selenium test cases built in Katalon Recorder, I get errors. It does not work. I have reported the bugs I found here:

I hope someone (Liam?) can help me do this.

Thanks


#20

Russ Thomas said:

Hi Liam

Liam B said:

Ian,

We just posted tutorials on working with Katalon Automation Recorder. Please take a look

[How to import Selenium IDE test cases into Katalon Studio

](https://forum.katalon.com/discussion/4220/how-to-import-selenium-ide-test-cases-into-katalon-studio#latest)

Let us know if you have other questions.

If I try the above with selenium test cases built in Katalon Recorder, I get errors. It does not work. I have reported the bugs I found here:

https://forum.katalon.com/discussion/5384/exporting-katalon-recorder-test-scripts-for-use-in-katalon-studio#latest

I hope someone (Liam?) can help me do this.

Thanks

Russ,

I have replied to your other post. Please refer to that post for details answer to your issue.

Thank you for choosing Katalon Studio,
Liam