Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Katalon - export recorded test script to java/junit

Is there an option to export recorded test script to Java/JUuit(similar to slenium IDE) in Katalon studio? Because the application I'm working on is compatible only with IE; so I couldn't use selenuim IDE. so I'm forced to find someother tools to play/record sessions.

Appreciate your help in advance! Thanks!

like image 714
Ponns Avatar asked Sep 18 '17 02:09

Ponns


3 Answers

As of version 4.8 Katalon Studio does not support export test cases to other frameworks. But if you want more control on your project, you can modify test cases directy in the Script Mode using Groovy/Java. It is also possible to import 3rd party Java libraries to your project if need be.

like image 99
Chris Smith Avatar answered Nov 08 '22 21:11

Chris Smith


Yes you can export it Java (Junit, TestNg), python, C#, Ruby.

Download the chrome pluging

https://chrome.google.com/webstore/detail/katalon-recorder-selenium/ljdobmomdgdljniojadhoplhkpialdid

Follow the guide screen

enter image description here

enter image description here

enter image description here

Create a Maven Java project, create a new Test class file and copy paste the code and run the project to test the browser test.

Done !

like image 28
HA S Avatar answered Nov 08 '22 23:11

HA S


you can export code into java/ python using Katalon browser plugin. Just import existing test case recording into the plugin and click on "export" option.

like image 35
ssbh Avatar answered Nov 08 '22 21:11

ssbh