Questions tagged [katalon]
79 questions
0
votes
0 answers
Running Test suite in Amazon Ec2(Non-GUI) instance using Katalon Runtime Engine
i’m trying to run katalon script in Amazon Ec2 but im getting
Caught: java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
what i understand by this error message is that i’m missing webdriver but i think KRE(Katalon Runtime Enviornment)…

Sourav Kalal
- 81
- 7
0
votes
1 answer
Get today's date, minus 28 days, in Katalon Recorder
My question is specific to Katalon Recorder, for which certain examples of JavaScript do not work, see associated picture.
I am using Katalon Recorder and need to verify values in two fields in a search modal pop-up. The commands to put today's…

BigRedEO
- 807
- 4
- 13
- 33
0
votes
0 answers
Katalon + Heroku CI
I’m trying to integrate Heroku CI with Kalalon Studio for runtime Test suites execution before deploying to production.
According to Katalon Docs (https://docs.katalon.com/docs/execute/cicd-integrations/cicd-integration-overview), Heroku CI is…
0
votes
1 answer
How to call custom keyword into testcase level in katalon studio?
I am trying to call custom keyword into testcase level in katalon studio:
But I am not able to do it as shown in this GIF.

Madden Crush
- 51
- 4
0
votes
1 answer
Are these two lines are same or different?
I am new to Katalon Studio. I find this line to open a website:
WebUI.openBrowser('https://stackoverflow.com/questions/ask')
and also I find this line:
DriverFactory.getWebDriver().get('https://stackoverflow.com/questions/ask')
Are these two lines…

Madden Crush
- 51
- 4
0
votes
1 answer
Why it's showing underline eventhough I import necessary package in Katalon Studio?
import org.openqa.selenium.Point
// Define the two TestObjects to be swapped
TestObject firstObject = new TestObject("firstObject")
firstObject.addProperty("xpath", ConditionType.EQUALS, "//div[@id='firstObject']")
TestObject secondObject = new…

Madden Crush
- 51
- 4
0
votes
1 answer
In Katalon Studio, How to retrieve the values using the javascript executor. document.getElementsByTagName('input')[29].value
enter image description here
I tried below code but not works.
a = WebUI.executeJavaScript('document.getElementsByTagName("input")[29].value', null)
Thread.sleep(5000)
System.out.println(a)
0
votes
0 answers
Can anybody tell me about how to read Katalon logs which is found in the Reports folder under Katalon project dirrectory
I have Katalon log and I want to parse specific information such as Testcase name, Exception if any that may have occurred for the testcase during its execution, its stacktrace etc. The log looks like as mentioned below:
…

Prasenjit Dey
- 1
- 1
0
votes
0 answers
How to auto generate a value for random alphabet, alphanumeric, numeric and timestamp for insert query in katalon
Hi all currently i am new to katalon and i need help to auto generate a value for random alphabet, alphanumeric, numeric and timestamp for insert query in Katalon script.
currently i am hardcoding with my value below:-
String insertquery = 'INSERT…

user19610349
- 9
- 1
0
votes
1 answer
[Katalon]: Regular expression for alphanumeric or null
Hi anyone can guide me with this regular expression "alphanumeric or null" in Katalon
This is what i add in "alphanumeric or null" and it will fail.
assertTrue(value1.matches("^[0-9a-zA-Z]+\$")) | null
May i know what is the actual way of writing…

user19610349
- 9
- 1
0
votes
1 answer
how to Insert SQL query from previous database table value to pass to another database table with dynamic value in Katalon
Hi any one can help me on this issue which i have problem insert a dynamic value which is from previous database table value to pass to another table in Katalon.
Please find my information below:-
This screenshot is ab.dbo.DOCUMENT table which…

user19610349
- 9
- 1
0
votes
1 answer
How to save a string coming from a HTML response in Katalon Studio
i’m here to ask you if there’s a way in Katalon Studio to store in a variable a dynamic string that is generated in the response of a rest API (POST) in HTML format. I have to use the saved string in the body of another request.
How can i do? I know…
0
votes
0 answers
Web UI methods don't work correctly when I use Selenium web driver in Katalon Studio
Good Morning,
I'm using Katalon studio to automate my testing, and I need to launch the chrome driver using selenium, then use it to call Web UI methods in the test cases. the driver launched and opened successfully, but the Web UI methods such as…

Hadeelkh
- 1
0
votes
1 answer
Katalon Studio - java.lang.ClassFormatError: Illegal method name in class CustomKeywords
I am using Katalon Studio version 8.2.5 for automating my test cases.
While I try to run a test case, an error occurs randomly stating "java.lang.ClassFormatError: Illegal method name "myMethodName" in class CustomKeywords".
I have checked that…

FarahYaacoubYuvo
- 1
- 1
0
votes
0 answers
Create a method as a Katalon Keyword to return a DOB, calculated to make the DOB always a day under 18 yrs old to use as input value
Hi guys :) pls can someone help me - I'm looking to create a method which uses todays date to calculate a DOB which is returned as an input value. This is to test rules validation and the DOB needs to always be that its the day before the 18th…