Great video! A question - What if Jenkins and Katalon project are on different machines? What can we do then?
@RaghavPal4 ай бұрын
Vansh you can put your project on GitHub and then on the system you have Jenkins can clone the project on the Jenkins job and then run it, I believe I have shown this in one of the videos
@vanshgoel91684 ай бұрын
@@RaghavPal Thanks for the reply! In my case, its actually quite not possible, as katalon isn't supported for arm64 architecture it seems. I tried using katalon docker image too, but that too isn't compatible with arm64.
@RaghavPal4 ай бұрын
Okay, you can raise this on Katalon Forum and also send to Katalon team
@sushildarekar62554 жыл бұрын
Hi Raghav, thanks for the wonderful tutorial am getting licensing issue when i perform exact steps as in this video, does KRE need paid license ? am using 7.5.1 version of Katalon studio and Katalon runtime
@RaghavPal4 жыл бұрын
Hi Sushil, yes Katalon now is commercial. Check this - kzbin.info/www/bejne/bIDdfa1mrZl4btU
@jayeshdalal75 жыл бұрын
Thanks a lot Ragahv.
@jayeshdalal75 жыл бұрын
Now I know where i did mistake . Thanks a lot.
@RaghavPal5 жыл бұрын
Glad to know that Jayesh, If you can put the details, it can help others. Also pls reply on the original comment
@blessedandhighlyfavoured40175 жыл бұрын
yes please. It works well on the windows server though
@RaghavPal5 жыл бұрын
Glad to know this Dorcas
@iRobotoAA4 жыл бұрын
I wonder if this works if my test scripts are located in SVN? and does the type of linux machine matter? I'm trying to do what you've done here with SVN & RHEL7 Linux box. Thanks
@RaghavPal4 жыл бұрын
Hi, the basic process remains same. I will try to put a session using linux
@rsmtech92744 жыл бұрын
Hi Raghav, thanks for the wonderful videos. I am not able to open the katalon studio in linux OS. can you please help me? My OS: 18:04 bionic and Katalon version is 7.7.2. Thanks in Advance.
@RaghavPal4 жыл бұрын
Hi will need to check the logs. You can also check in Katalon forum
@SindhuN-zq1sv4 ай бұрын
Hi Raghav, I am trying to run test suites using Katalon plugin on Jenkins running on Linux, I am getting this log and job is failing "Katalon: Cannot open display".
@RaghavPal4 ай бұрын
Sindhu The "Cannot Open Display" error typically occurs when trying to open a GUI application on a Linux system, especially from the command line or when using X11 forwarding via SSH. Let's troubleshoot this issue: 1. Check the DISPLAY Variable: - First, verify the value of your `DISPLAY` variable. Run the following command: ``` $ echo $DISPLAY ``` - If it shows no output or gives an error, your variable hasn't been set or is set incorrectly. - Set the `DISPLAY` variable (adjust the value if needed): ``` $ export DISPLAY=:0 ``` - Confirm that the variable is now set correctly: ``` $ echo $DISPLAY ``` - Try opening `xeyes` to verify the fix: ``` $ xeyes ``` 2. Enable X11 Forwarding via SSH: - If you're running a GUI application from a remote server, ensure X11 forwarding is enabled in your SSH connection. - Reconnect using the `-X` option: ``` $ ssh -X username@remote-server ``` 3. Check SSHD Configuration: - Make sure X11 forwarding is enabled in the `sshd_config` file on the server: ``` $ grep X11Forwarding /etc/ssh/sshd_config ``` - The line should look like this if it's enabled: ``` X11Forwarding yes ``` 4. Verify Host Permissions: - Execute the following command on the server to disable access control and allow all hosts to use X11 forwarding: ``` $ xhost + ``` 5. Alternative Approach: - Consider using a different application for sharing the desktop screen, such as X11vnc. --
@stsni18415 жыл бұрын
why should to use jenkins and amazon ec2?
@RaghavPal5 жыл бұрын
Jenkins is a CI tool, If you need to integrate your testing process with other processes in the project like dev build, deployment jobs etc. then Jenkins will be useful. It can be used to create a build or delivery pipeline where all the jobs are automated and chained. for example The process starts with Dev Build job. If it is success, it will trigger a DeployJob, if pass, will trigger the TestJob and so on. Amazon ec2 is a cloud services platform, You can get server machines and run your projects, applications there and not be dependent on local systems
@nasrs39015 жыл бұрын
Hi Raghav, With the same steps , if I run on Ubuntu host with jenkins inside a docker with katalon plug in , I face this issue, please suggest .. ======= error snippets ======= 2019-03-21 10:44:52.566 DEBUG testcase.Publicare Services - 1: openBrowser("") 2019-03-21 10:44:52.695 ERROR c.k.katalon.core.main.TestCaseExecutor - ❌ openBrowser("") FAILED. Reason: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at org.sikuli.api.robot.desktop.AWTDesktop.(AWTDesktop.java:27) at org.sikuli.api.robot.desktop.DesktopScreen.getSize(DesktopScreen.java:43)
@RaghavPal5 жыл бұрын
Hi, here you might have to set x11 display for headless browser. java.awt.HeadlessException: No X11 DISPLAY variable was set I have not gone deep on this, here are some links to help forum.katalon.com/t/running-katalon-on-linux-machine-after-ssh-is-throwing-java-awt-headlessexception-no-x11-display/8197/2 stackoverflow.com/questions/662421/no-x11-display-variable-what-does-it-mean stackoverflow.com/questions/46579893/katalon-debian-headless-browser
@nasrs39015 жыл бұрын
@@RaghavPal Thank you for the references, i have performed all of those actions, still no luck, will explore more. And loving your tutorials (All of them).
@RaghavPal5 жыл бұрын
Sure, Nasr, keep trying.
@anucoonjan33484 жыл бұрын
Hi Raghav, I am getting error Invalid argument: Cannot find project when running test in gitlab. Do you know how i can resolve this issue. Thanks
@RaghavPal4 жыл бұрын
Hi Anu, pls check your locations and paths provided in Jenkins
@A.B.000075 жыл бұрын
How to do this from Windows Machine? As in Git Integrated Katalon Studio Tests run from Jenkins using Katalon Studio Plugin?
@A.B.000075 жыл бұрын
More specifically, What Command Arguments should be a Valid Input in Katalon Studio Plugin's Command Arguments??
@A.B.000075 жыл бұрын
Its Alright, I got it.
@blessedandhighlyfavoured40175 жыл бұрын
java.lang.IllegalStateException: Cannot create directory to store Katalon Studio package please what is causing this exception. I get this exception when I build after installing the katalon studio
@RaghavPal5 жыл бұрын
Hi Dorcas, are you by any chance using a project created with older ver on a new version Katalon Studio. Usually this compatibility is taken care of but may be a issue sometimes. Also try with a diff ver.
@blessedandhighlyfavoured40175 жыл бұрын
@@RaghavPal please I am using version 6.1.5
@RaghavPal5 жыл бұрын
Is this the same ver used to create and to run the tests
@aamirshaikh17314 жыл бұрын
How to install katalon on linux and how to resolve the issues occured after the installation
@RaghavPal4 жыл бұрын
Hi Aamir, Pls check the documentation - docs.katalon.com/katalon-studio/docs/katalon-studio-gui-beta-for-linux.html For issues, you can check online or on katalon forum forum.katalon.com/