I’m currently working with Katalon Studio version 8.0 and have been experimenting with the ‘Smart Wait’ feature in my test automation project. However, I’ve encountered a technical challenge that I’m struggling to resolve.
Specifically, the ‘Smart Wait’ algorithm, which is designed to optimize the execution order of test cases, doesn’t seem to be performing as expected in my project. Despite its intended functionality to prioritize test cases intelligently, it’s not delivering the desired results.
Here are some technical details:
Katalon Studio Version: 8.0
Observation: Test cases are not executing in the expected order, leading to inefficiencies in my test runs.
Error Messages: I haven’t encountered any error messages, but it seems like the ‘Smart Wait’ logic might not be properly considering dependencies or not that much smart.
I would greatly appreciate any technical advice or recommendations from the community regarding this matter. Has anyone encountered similar technical challenges with ‘Smart Wait’ in Katalon Studio 8.0, and if so, how did you address them?
Thank you for your technical expertise and assistance.
not sure from where you get this information but may be totally wrong.
can you provide the source?
from my understanding up to now, the smart wait feature waits until no more DOM changes are detected prior to move to the next step in a certain tescase.
it is just another wait.
how did you concluded it will re-arange or prioritize all testcases execution order?
If you want to read the source code of the “Smart Wait” implementation, look at the following post:
Go to <katalon-install>\configuration\resources\extensions\Chrome\Smart Wait\content\wait.js
The code you have is the injection to invoke the wait object from Groovy.
Specifically, the ‘Smart Wait’ algorithm, which is designed to optimize the execution order of test cases, doesn’t seem to be performing as expected in my project.
The Smart Wait function tackles the timing issue of automated web testing by automatically waiting for all front-end processes of a page to complete before taking further test steps.