我收到异常“ java.lang.NoClassDefFoundError: Could not initialize class com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword
”
在詹金斯上从katalon studio运行以下命令时:
./katalon --args -noSplash -runMode=console -projectPath="/home/QA/.jenkins/workspace/TestProject/KatalonProj1/KatalonProj1.prj" -retry=0 -testSuitePath="Test Suites/TestSuite1" -executionProfile="default" -browserType="Firefox (headless)"
使用Katalon Studio通过jenkins运行Web自动化命令
./katalon --args -noSplash -runMode=console -projectPath="/home/QA/.jenkins/workspace/TestProject/KatalonProj1/KatalonProj1.prj" -retry=0 -testSuitePath="Test Suites/TestSuite1" -executionProfile="default" -browserType="Firefox (headless)"