katalon-studio

How do I run Katalon test suite in Jenkins inside Docker

China☆狼群 提交于 2019-12-10 02:52:40
问题 I have a Katalon test suite setup and it runs great in the UI and from the CLI on the machine where I have Katalon studio installed. I have Jenkins CI server running in a docker container, and I would like to setup a job to run my test suite on that Jenkins server. What runtime do I need on the Jenkins server so it can run a Katalon job? Is there a runtime or a plugin for Jenkins for this? If not, is there a docker container for Katalon that I can use to remotely run the job via jenkins, like

Katalon Studio vs Selenium [closed]

时间秒杀一切 提交于 2019-12-08 15:22:57
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . I have been using Selenium to test software for a long time. I recently installed tried Katalon Studio and think it requires less knowledge of coding. Will Katalon replace Selenium? Is it good to start tests in Katalon? 来源: https://stackoverflow.com/questions/46266507/katalon

Connect to Oracle SQL in Katalon Studio

喜欢而已 提交于 2019-12-05 05:21:20
I tried to use Groovy script below from to connect to an Oracle SQL database: def connectDB(String dataFile){ //Load driver class for your specific database type Class.forName("oracle.jdbc.driver.OracleDriver") String connectionString = "jdbc:sqlite:" + dataFile if(connection != null && !connection.isClosed()){ connection.close() } connection = DriverManager.getConnection(connectionString) return connection } There is sqlite in connection string, but not sure which value should I use there. (I tried jdbc:oracle too.) I use following class to establish database connection. public class

How do I run Katalon test suite in Jenkins inside Docker

╄→尐↘猪︶ㄣ 提交于 2019-12-05 01:57:23
I have a Katalon test suite setup and it runs great in the UI and from the CLI on the machine where I have Katalon studio installed. I have Jenkins CI server running in a docker container, and I would like to setup a job to run my test suite on that Jenkins server. What runtime do I need on the Jenkins server so it can run a Katalon job? Is there a runtime or a plugin for Jenkins for this? If not, is there a docker container for Katalon that I can use to remotely run the job via jenkins, like the SonarQube stuff? EDIT - New answer from Katalon support I got a new response from Katalon support

How to execute basic Java code in Katalon Studio

为君一笑 提交于 2019-12-02 09:43:54
问题 I am trying to execute this basic program in Katalon Studio and Java but the O/P shows if (i < 12) Can you help me out on how to execute or use Java in Katalon Studio just like IntelliJ or Eclipse? int i = 10; if (i == 10) { // First if statement if (i < 15) System.out.println("i is smaller than 15"); // Nested - if statement // Will only be executed if statement above // it is true if (i < 12) System.out.println("i is smaller than 12 too"); else System.out.println("i is greater than 15"); }

Screenshot with Katalon and Chrome headless mode

一个人想着一个人 提交于 2019-12-02 08:05:57
问题 I'm using the following code to take screenshots of warning and error messages in my Katalon Studio scripts: import ru.yandex.qatools.ashot.AShot import ru.yandex.qatools.ashot.Screenshot import ru.yandex.qatools.ashot.coordinates.* import ru.yandex.qatools.ashot.cropper.* public class ScreenshotHelper { public void takeWebElementScreenshot(TestObject object) { WebElement element = WebUiCommonHelper.findWebElement(object, 20) WebDriver driver = DriverFactory.getWebDriver(); String fileName =

Screenshot with Katalon and Chrome headless mode

China☆狼群 提交于 2019-12-02 05:49:27
I'm using the following code to take screenshots of warning and error messages in my Katalon Studio scripts: import ru.yandex.qatools.ashot.AShot import ru.yandex.qatools.ashot.Screenshot import ru.yandex.qatools.ashot.coordinates.* import ru.yandex.qatools.ashot.cropper.* public class ScreenshotHelper { public void takeWebElementScreenshot(TestObject object) { WebElement element = WebUiCommonHelper.findWebElement(object, 20) WebDriver driver = DriverFactory.getWebDriver(); String fileName = new SimpleDateFormat("yyyyMMddHHmmSSS").format(new Date()) Screenshot screenshot = new AShot()

Get XHR response (network traffic) and parse it in Katalon Studio

ぐ巨炮叔叔 提交于 2019-11-28 06:41:54
问题 How can I read an XHR response and parse it in Katalon Studio? I currently use a workaround way of testing responsiveness of my app: I use various waitForElement_*_() (*=visible, clickable, present, not-visible, not-clickable, not-present) commands in order to measure loading time of various elements. I would like to get more specific and measure the duration of network requests (that can be seen in DevTools - network traffic). Can it be done? 回答1: I am not sure if it can be done using

Element MyElement is not clickable at point (x, y)… Other element would receive the click

三世轮回 提交于 2019-11-25 22:16:02
问题 I am trying to make some tests using selenium based Katalon Studio. In one of my tests I have to write inside a textarea. The problem is that I get the following error: ...Element MyElement is not clickable at point (x, y)... Other element would receive the click... In fact my element is place inside some other diva that might hide it but how can I make the click event hit my textarea? 回答1: Element ... is not clickable at point (x, y). Other element would receive the click" can be caused for