Mark Gibson
Katalon Ambassador
11/01/2017
edited November 2017

Exporting Test Cases and Test Suites

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?

Upvote
Quote

Comments

  • Liam B
    Katalon Moderator
    12/01/2017
    edited December 2017

    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 :)

    Liam

    Best Answer
    Upvote
    Quote
  • Hai Nguyen test
    Katalon Apprentice
    11/16/2017

    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.

    Upvote
    Quote
  • Eleanor Forwood
    Katalon Apprentice
    11/23/2017

    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.

    Upvote
    Quote
  • Mark Gibson
    Katalon Ambassador
    11/29/2017

    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

    Upvote
    Quote
  • Ian He
    Katalon Apprentice
    11/29/2017

    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,

    Upvote
    Quote
  • Mark Gibson
    Katalon Ambassador
    11/30/2017

    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.

    Upvote
    Quote
  • shital ayarekar
    Katalon Apprentice
    12/06/2017

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

    Upvote
    Quote
  • Marcy
    Katalon Apprentice
    12/15/2017
    Hello Everyone.. Is there a way to export Katalon scripts via java/junit to my local computer?
    Upvote
    Quote
  • Liam B
    Katalon Moderator
    12/18/2017
    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
    Upvote
    Quote
  • Varuni Witana
    Katalon Apprentice
    01/10/2018
    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
    Upvote
    Quote
  • Greg Turnquist
    Katalon Apprentice
    01/18/2018
    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?  
    Upvote
    Quote
  • Liam B
    Katalon Moderator
    01/19/2018
    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
    Upvote
    Quote
  • Boris Faitout
    Katalon Ambassador
    01/25/2018
    +1 for export functionality !
    Upvote
    Quote
  • Jason Dykstra
    Katalon Apprentice
    02/01/2018
    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.
    Upvote
    Quote
  • Vinit Dhamani
    Katalon Apprentice
    02/07/2018
    +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 ?
    Upvote
    Quote
  • Greg Turnquist
    Katalon Apprentice
    02/13/2018
    Export to Python is in the Recorder but not in Studio.

    That's what I was missing. -Greg
    Upvote
    Quote
  • Thomas Higgins
    Katalon Apprentice
    02/22/2018
    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.
    Upvote
    Quote
  • Russ Thomas
    Katalon Evangelist
    02/28/2018
    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

    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

    Upvote
    Quote
  • Liam B
    Katalon Moderator
    03/01/2018
    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

    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
    Upvote
    Quote
  • Don Welsh
    Katalon Ambassador
    03/01/2018
    edited March 1
    +1 for adding 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" from within Katalon Studio.
    Upvote
    Quote
  • Jeff H
    Katalon Apprentice
    03/01/2018
    +1 for export functionality
    Upvote
    Quote
  • Daniel Keenan
    Katalon Apprentice
    03/19/2018
    +1 for export functionality. Any news would be appreciated.
    Upvote
    Quote
  • Ernest
    Katalon Apprentice
    03/19/2018
    +1 for export functionality
    Upvote
    Quote
  • Kyle Meyer
    Katalon Apprentice
    03/26/2018
    Id like to export to the recorder from the studio +1
    Upvote
    Quote
  • Jon West
    Katalon Ambassador
    04/03/2018
    +1 for adding 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" from within Katalon Studio.
    Upvote
    Quote
  • John Rix
    Katalon Apprentice
    04/11/2018
    +1. I want to create test suites with Katalon Studio and import them into AlertSite UXM, but this only accepts JAR files.

    Upvote
    Quote
  • Gerwyn
    Katalon Apprentice
    04/13/2018
    edited April 13
    +1  I also need to export test scripts to 'Test Pad' in order to reuse the test cases for manual human functional testing of a user interface.

    Katalon Studio is a very fast method of capturing the user interaction of any UI and therefore can be useful to capture and export each step for use within manual (human) test scripts, when required.
    Upvote
    Quote
  • Michael Ellis
    Katalon Apprentice
    04/13/2018
    I have an automation test case in Katalon Studio that I would like to share with a developer to help them enter data automatically...how can I share a test case with them? Or can I create a shared instance of Katalon that they can then connect to and utilize the tests I've already created? Thanks in advance!
    Upvote
    Quote
  • Alexander Mihailov
    Katalon Apprentice
    04/25/2018
    +1 for export functionality from me too! If one wants to integrate UI tests in an automated build process, one should have them as scripts for some automate-able Framework (Selenium). Or could I use Katalon in an automated build process and how?
    Upvote
    Quote
  • David Edmondson
    Katalon Ambassador
    04/28/2018
    edited April 28
    How do I migrate Katalon Studio Project for PC "A" to PC "B"?

    Issue:
    Cannot run Test Cases/Test Suites on PC "B" that were created in Katalon Studio v5.4.1 PC "A"...

    Console Error:
    Error occurred during initialization of VM
    Could not reserve enough space for 1013760KB object heap

    Reducing Max Heap Size causes Test Cases/Test Suites to hang or run extremely slowly - 30 seconds per step...

    *******************************
    PC "B" Java Version

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:\Users\David>java -version
    Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
    Picked up _JAVA_OPTIONS: -Xbootclasspath/a:"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes
    \jasmine.jar"
    java version "1.8.0_144"
    Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
    Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

    ***************************************
    PC "B" Katalon.ini File

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.401.v20161122-1740
    -data
    config
    -vmargs
    -Xms256m
    -Xmx1024m
    Upvote
    Quote
Sign In or Register to comment.
Not the answer you're looking for? Consider subscribing to Business support.