Hi. I’m creating a test project (web) on katalon studio 6.0.6 build 4.
The script was recorded and saved.
The script only opens a browser and goes to google page.
But when run test case fails.
Why?
I already remove and unzip the katalon zip file again. But the problem persists.
do you got the web navegator installed? try to select the rigth navegator.
Yes. I have Firefox, chrome, IE.
I face this problem when i push the run button, with any browser selected.
Nothing happen and test case fails.
copy your code pls, i will try if the rpoblem is in your code.
Here is the code:
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import internal.GlobalVariable as GlobalVariable
WebUI.openBrowser(‘http://www.google.com’)
try like this
you have to ge care about the character “/”
Changed the address, but the problem persists.
Nothing happens.
did you delete the wrong line right?
oh boy I thought it going to work, sorry.
This looks like an installation issue. Please download another copy of Katalon and execute directly from the folder where you unzip it.
Create a very simple project with one simple test:
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
WebUI.comment("******************* This is a test *********************")
and check the console/Log viewer for that message.
Hi. Thanks for reply.
After run this script as you wrote, my log viewer continues empty.
Here is the script:
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
WebUI.comment(‘This is a test’)
Here is the log file.
This time the execution was on another machine. Behind a proxy.
katalon1.log (258.3 KB)
Thx.
Thanks. I’ll move this to the Bugs forum.
@devalex88 Any ideas? Note that the two logs posted show different outcomes.
Ok.
Can you help me to complete uninstall / remove Katalon 6.0.6?
I think try a fresh install of 6.1.
First make a backup of your projects, then just delete your existing Katalon installation.
You do NOT need to delete your projects.
But now i’m confused. I thought you HAD installed a newer version?
No. My tests were runned on 6.0.6.
I’m thinking to install a new version now.
Installed Katalon Studio 6.1.0 and have same problem as described above.
Unfortunately, I will have to give up this tool, because it does not work…
Please don’t tell my boss that ! He thinks I’m using Katalon all day and paying me to do it !
Seriously. You’ve done the hard work by providing the logs. Let the devs take a look later (they’re not around just yet) and come back to see what they say.
2 Likes