API key is not working for console mode (plugins)


#1

-projectPath=“C:\Users\lahiruh\Katalon Studio\abc…” -retry=0 -testSuitePath=“Test Suites/test/1” -executionProfile=“Mubasher” -browserType=“Chrome”-apiKey=“a3055766-bd1b-4650-aa87-e2f7863e4465”

error log

Parsing custom keywords in Plugins folder…
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/date_time/currentdatetime.groovy: 19 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/mubasher/header__navigation.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/mubasher/help_keyword_RandomEmail.groovy: 21 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/mubasher/help_keyword_start.groovy: 21 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/mubasher/market_selector.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/AnalysisNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/NewsNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/companiesNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/fixedincomeNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/fundsNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/marketsNav.groovy: 22 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/topmenu/personalNav.groovy: 20 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/trail/copyinnotepad.groovy: 19 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/trail/testingone.groovy: 19 Groovy:unable to resolve class internal.GlobalVariable
/C%%Users%lahiruh%Katalon Studio%Mubasher_info%Mubasher_info.prj/Keywords/trail/timerTask.groovy: 19 Groovy:unable to resolve class internal.GlobalVariable
Generating global variables…
Parsing custom keywords…
Project ‘Mubasher_info’ opened
com.kms.katalon.execution.exception.ExecutionException: com.kms.katalon.execution.exception.InvalidConsoleArgumentException: Invalid browser: ‘Chrome-apiKey=a3017766-bd1b-4650-aa87-e2f7863e4465’
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.getConsoleLauncher(TestSuiteLauncherOptionParser.java:155)
at com.kms.katalon.execution.console.ConsoleExecutor.execute(ConsoleExecutor.java:77)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:140)
at com.kms.katalon.console.application.Application.runConsole(Application.java:76)
at com.kms.katalon.core.application.Application.runConsole(Application.java:87)
at com.kms.katalon.core.application.Application.start(Application.java:70)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: com.kms.katalon.execution.exception.InvalidConsoleArgumentException: Invalid browser: ‘Chrome-apiKey=a3017766-bd1b-4650-aa87-e2f7863e4465’
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.createRunConfiguration(TestSuiteLauncherOptionParser.java:223)
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.buildRunConfig(TestSuiteLauncherOptionParser.java:185)
at com.kms.katalon.execution.console.entity.TestSuiteLauncherOptionParser.getConsoleLauncher(TestSuiteLauncherOptionParser.java:152)
… 17 more

Build step ‘Execute Katalon Studio Tests’ marked build as failure
Finished: FAILURE


#2

@lahimadhe100 Please follow exactly the guide at this link: https://docs.katalon.com/katalon-store/docs/user/plugin-console-installation.html#apply-api-keys-in-katalon-studio-commandline-execution


#3

omg , my bad , thanks a lot