Test Case don't launch

critical

#1

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.


#2

Please explain:


#3

do you got the web navegator installed? try to select the rigth navegator.


#4

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.


#5

Here is the .log file.

katalon.log (7.3 KB)


#6

copy your code pls, i will try if the rpoblem is in your code.


#7

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’)


#8

try like this

you have to ge care about the character “/”

image


#9

Changed the address, but the problem persists.
Nothing happens.


#10

did you delete the wrong line right?

oh boy I thought it going to work, sorry.


#11

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.


#12

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.


#13

Thanks. I’ll move this to the Bugs forum.

@devalex88 Any ideas? Note that the two logs posted show different outcomes.


#14

Ok.
Can you help me to complete uninstall / remove Katalon 6.0.6?

I think try a fresh install of 6.1.


#15

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?


#16

No. My tests were runned on 6.0.6.

I’m thinking to install a new version now.


#17

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…


#18

Please don’t tell my boss that ! He thinks I’m using Katalon all day and paying me to do it ! :open_mouth:

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.