我正在尝试用katalon设置一个简单的TESTSUITE,以便在Gitlab上自动运行,但是我一直碰到这个错误:
在运行此脚本时,不能将katalon识别为内部或外部命令:
我遵守了本教程。并尝试使用katalon-execute.sh代替katalon,但没有更改。
gitlab.html#add-katalon-path-to-environment-variables
如果能提供一些帮助,我们将不胜感激。
run_katalon_test_suite:标记:- shell脚本:
katalon -noSplash -runMode=console -consoleLog -projectPath=
"My project path>" -retry=0
-testSuitePath="Test Suites/FirstTestSuite>" -executionProfile=
"default" -browserType="Chrome (headless)"发布于 2019-05-15 12:53:37
您需要导航到安装Katalon的文件夹,然后从该文件夹运行控制台命令。
发布于 2019-09-01 06:03:29
如果是shell脚本,那么它应该从./开始,解决方案将需要修改shell脚本。
./katalon -noSplash -runMode=console -consoleLog -projectPath=
"My project path>" -retry=0
-testSuitePath="Test Suites/FirstTestSuite>" -executionProfile=
"default" -browserType="Chrome (headless)"发布于 2020-05-04 10:38:25
假设u katalon IDE位于您的桌面上
"C:/Users/xxx/Desktop/Katalon_windows/Katalon.exe" -noSplash -runMode=console -consoleLog -projectPath="My project path>" -retry=0 -testSuitePath="Test Suites/FirstTestSuite>" -executionProfile= "default" -browserType="Chrome (headless)"https://stackoverflow.com/questions/56149785
复制相似问题