I am getting error while integrating the webdriver scripts in katalon studio
groovy.lang.MissingPropertyException: No such property: Testing for class: Script1631511119520
at home.run(home:23)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:430)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:421)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:400)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:392)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:273)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:142)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:133)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
Notice that “Testing” is underlined. In KS, that means it is not defined beforehand. I think you need to tell us what you were trying to do? Note: obviously your statement is currently not correct.
You probably need a Community Modulator, however, did you try to copy and paste your Selenium script into Katalon Studio and then run it? My understanding is that KS will run Selenium scripts.
@Russ_Thomas, @kazurayam Do you know if the OP can run Selenium scripts directly from KS or is there some import process?
You can absolutely run pure Selenium scripts in KS (in fact, that’s ultimately what KS is doing behind the scenes when you call WebUI keywords), however you’ll need to do some tinkering to get your WebDriver instance set up the way you want.
Regarding the specific error in the OP, you are trying to call a class that you haven’t imported yet. Simple as that…
My selenium code file is under groovy>>Eaisvar folder (Lets say “Testing.java”) and I want to execute that class code file from home but getting error while execution.
Please help me to understand the process to integrate selenium Project into Katalon studio.
When you run this in Katalon Studio GUI, it will be OK. But when you run this in Katalon Runtime Engine in command line, it will fail.
As you may be aware of, System.getProperty("user.dir") regurns what is called “current directory” for a OS user.
When you are in Katalon Studio GUI, the current directory will be equal to the Katalon project directory.
But when you execute a test in Katalon Runtime Engine, the current directory will be (unless intentionally tailored) equal to the directory where katalonc.exe is found. So that a call to System.getProperty("user.dir") + "\\Include\\... does not make sense.
Hi I have migrated my selenium project into Katalon.
when migrated Test Date excel file formatting changed and its coming in the above format… So I need help how it will be in normal format so my data should be in understandable form