I completed the webui katalon learning path, which was excellently put together btw, last week.
I finished some stuff up before the weekend to make sure most of my certifications would be done by today.
I’m still missing:
“Test run executions on TestOps agents using Katalon Runtime Engine: 0/5”
but I clearly have run tests using local agent as you can see in the screenshots I added. - I even followed the tutorial from the forum here.
“Test case creations: 10/30”
I made 20+ new test cases on friday, with executable steps in a new non-demo project and i executed them, are not showing up.
" Test results on Katalon TestOps: 136/250"
I ran a test suite over 150 times between friday and now, so now I have 200+ test results on katalon test ops. But it also isn’t updating.
Am I completely missing the mark here, or has it not been updated since friday 06/10/23 17:00 UTC?
Hello @leyssm1 : For Test run executions on TestOps agents using Katalon Runtime Engine:
You have to run your tests using Runtime engine. Please download the runtime engine and run it via CLI by firing the test suite command from the runtime folder
Hmm it seems that while its running on the KRE, it isn’t using the agent. If i add the appended code for the agent or not, the actions are the same and the agent isn’t doing anything.
This is my command:
katalonc -noSplash -runMode=console -projectPath=“LOCALPROJECTPATH” -maxFailedTests=3 -retry=0 -testSuitePath=TESTSUITEPATH" -browserType=“Firefox” -executionProfile=“default” -apiKey="APIKEY -testOpsProjectId=1232830 --config -proxy.auth.option=NO_PROXY -proxy.system.option=NO_PROXY -proxy.system.applyToDesiredCapabilities=true -webui.autoUpdateDrivers=true- testOpsAgentType=local -testOpsLocalAgentPath=PATHTO LOCALAGENT\Documents\katalon-agent-win-x64-v1.7.6 -testOpsLocalAgentPort=50001
so it told me to add: testOpsAgentType=local -testOpsLocalAgentPath=PATHTO LOCALAGENT\katalon-agent-win-x64-v1.7.6 -testOpsLocalAgentPort=50001
(I censored PATHTOLOCALAGENT, but it is the correct folder)
if i add it or not, it just runs it through the KRE, and the local agent does nothing. I also dont see the local agent doing anything after checking testops.
I’m also getting more and more confused.
Here I’m being told to schedule the agent on KRE with a command from katalon studio, appended with code that says to use the agent:
"
Download and install Katalon Studio from the Katalon website.
Create a Test Suite or Test Suite Collection in Katalon Studio.
Download Katalon Runtime Engine from the Katalon website.
Go to the Katalon TestOps platform and create a project if you haven’t already.
In your TestOps project, go to “Configurations” and then “Agent Setup”.
Select “Local Environment”, choose your operating system, and download the agent (which will be downloaded as a zip file).
Unzip the agent file to a location on your local machine.
In Katalon Studio, open the “Build CMD” dialog by selecting your Test Suite or Test Suite Collection and clicking on the “Build” button.
Choose your desired browser and platform for the test run, then click “Generate Command”. This will generate a command to run the test in the console.
Copy the generated command to your clipboard.
Open a Command Prompt or Terminal window on your local machine.
Navigate to the directory where you unzipped the agent file.
Paste the command you copied in step 10 into the Command Prompt or Terminal window.
Append the following to the command: “-testOpsAgentType=local -testOpsLocalAgentPath=path\to\agent\file -testOpsLocalAgentPort=50001”. Replace “path\to\agent\file” with the actual file path to the agent you unzipped in step 7.
Press “Enter” to execute the command.
After the test run completes, verify the test results and reports in the TestOps platform.
"
But this doesnt do anything with the agent, the appended code does nothing.
and here I’m being told to schedule the test using testops and selecting the local agent
That’s what I did last week, multiple times. But it doesnt show my using my localagent on testops if I do this. i did it now aswell, and it just show me that I ran the scripts locally using KRE.
I’ve just turned off the local agent, ran the code in the CLI for the KRE again, and it runs the same. so the local agent is not doing anything. so I’m not achieving the “local agent” part of the requirement.
If you look at my original post you can see I already did 5 tests like you said last week, and they did not count.
I’ve done 5+ tests in the KRE like you’ve instructed me, and I’ve done 5+ tests using a local agent in testops like you’ve shown me, and I did them 3 days ago.
Still both of them are not counting. Hence my original question if I am doing something wrong or misunderstanding what I need to do for the requirement.