Katalon Studio

The application is free, has quite a lot of opportunities and is gaining more and more followers. It gives us three modes of test writing available in the application. Most popular is mode namely Recording. It is the fastest and the easiest mode, it does not require knowledge of java or groovy (because in such languages we can write tests in Katalon) but we also do not handle all operations on the site with it. Perfect for understanding how Katalon works and writing quick simple tests.

How to start

The application can be downloaded from katalon.com. We can download versions for Windows, Linux, MacOS. We download the file, unpack it, run katalon.exe and we can write tests. The GUI of the program is very clear and intuitive. On the producer's website, we have very well and accurately described all its elements, so you can see interested parties here: GUI Overview

Steps:

  • The first step we need to do after starting the program is to create a new project. Click on the top menu and choose File> New> Project

    In the new window, enter the name of our project and optionally if you need to change its location on the disk and add a description. Only the name is mandatory and after entering it we can press the OK button.

  • We already have everything we need to record, but before we get to it, I would like to present a test case.

    Go to the website: http://demoaut.katalon.com/

    Click: Make Appointment

    In the Us

    In the name field, enter: John Doe

    In the Password field, enter: ThisIsNotAPassword

    Click the button: Login

    Touch Menu

    From the list, select: Logout

    So how can we make Katalon do it for us? From the upper graphical menu, select Record Web

  • We see a new window in which we enter the address of the website that we want to launch. Then click on the browser icon and select the browser on which we want to record our test from the drop-down list.

    After selecting the browser, it will automatically start up and the page you entered in the previous step will load. In the "Web Recorder" window, we should also see the first entry with the Navigate action.

  • After doing all test cases, we return to our "Web Recorder" window. We should see in it a list of all the steps we have just taken.

    Click OK. The system in the next step will ask us if we want to add all the recorded elements of the page to the repository, thanks to which it will be possible to quickly use these saved elements in other tests.

    In this window we can set nothing and click OK to go further or create a new directory in which we want to keep these items, deselect those we do not want to save and then click OK.

    In the program in the left window "Test Explorer" we should see our test and the object repository. In the right window, all the steps of our recorded test.

  • We can now to check if our test works correctly try to run it. Click on the top menu in the Run button and select the browser on which you want to run the test from the drop-down menu.

    The browser will start and everything that we have just done will be done in turn. In our program, the "Job Progress" window will appear on the right, showing the progress of our test, and after doing the test we will be able to see its result in the "Log Viewer" window.

  • Everything should be green :-) What means that all steps have been done correctly. At the top of the window we have also a quick statistic showing the number of runs, successful tests, failed tests and the number of errors.

    Problems

    Sometimes there are problems with the recognition of the object on the page, to improve this we can add an id to the given element and define in object list. To do it, do the following steps https://docs.katalon.com/katalon-studio/docs/manage-test-object.html , also we can change xpath in object https://docs.katalon.com/katalon-studio/tutorials/detect_elements_xpath.html

    Katalon Recorder

Also you can use extension to the browser you use “Katalon Recorder”

This also allows to recorder all test cases and after this play it, there you also can change which element is target, because sometimes happens that it can’t find the element you was clicked, so it is important to check command and what is targeting.

results matching ""

    No results matching ""