ThanhTo
November 5, 2019, 1:17pm
20
Hi @sshejwal
I cannot reproduce this on my side. Please send us the log under Help > Error Log
when this issue happens. Also I notice in the picture you post the path references a 6.3.1 version of Katalon Studio, are you certain that you’re using the latest version ?
Hi ThanhTo,
Thanks for your reply.
as requested please find attached error log file and latest screenshot.
error log.txt (12.7 KB)
Note-I am able to execute test cases successfully with Firefox browser and facing issue with Chrome browser.
ThanhTo
November 6, 2019, 8:31am
22
Hi @sshejwal
Can you look under the path specified within the error to see if there’s a manifest file ? If there is then please send it here. Also, please try to switch to a user folder (Download folder for example) to see if the problem is resolved.
Hi ThanhTo,
manifest file is not present at given location.
ThanhTo
November 6, 2019, 1:32pm
24
Hi @sshejwal
Where is your Katalon Studio located ? Can you try to move it to a different locationb ?
tangr6
November 8, 2019, 7:32am
25
Is there any way to completely disable Smart Wait? Failing that, an option to disable the Smart Wait extension?
The browser extension is causing issues for us, even though it has been turned off by default in Project > Settings > Execution > Default Smart Wait.
ThanhTo
November 8, 2019, 7:33am
26
Hi @tangr6
Why do you think the extension is causing the trouble even if it’s turned off ? What are the troubles ?
tangr6
November 12, 2019, 12:24am
27
It causes our file upload applet to hang indefinitely. Our current workaround has been to disable the extension in the manifest for the Chrome driver.
We were just wondering if it was possible to disable it in a less messy way…
1 Like
tangr6
November 12, 2019, 12:33am
29
We have already done this. This turns off smart wait by default, but the extension is still there, which is the thing causing issues.
Does this feature - that it waits for element to be clickable before clicking, only start from 7.0.0 or was it also in 6.3.3 ?
ThanhTo
November 13, 2019, 7:23am
31
@Yaacov_Silverstein
It’s available from 7.0 onward.
@tangr6
We will add an option to start a browser without Smart Wait extension in the upcoming release.
Thank you !
2 Likes
ThanhTo
November 22, 2019, 9:37am
32
Hi @tangr6 ,
In 7.1 if you want to completely handle the waiting issues on your own, then you can disable installing Smart Wait extension by Project > Settings > Execution. More info about Katalon 7.1 is available in the release note
Thanks !
2 Likes
What if page is not loaded completely,But I get my element ,something like.
Does it wait till page will be static or it will perform action on element
ThanhTo
December 6, 2019, 6:49am
34
@shraddha.savant1
It will try to wait until the page become static befor performing actions on an element.
1 Like
Russ_Thomas and Brandon_Hein did a surgery on the SmartWait function.
I’ve seen many times that the Katalon script does not REALLY waits until the page or the element is completely loaded and ready to be clickable. Doesn’t matter if I use:
WebUI.waitForAngularLoad(30)
chrome error:
this pages attempted to load appartitr scripts from unauthenticated sources
[Capture]
Sorry to flood this topic, but I can’t help myself… I got curious about the SmartWait implementation:
public static void doSmartWait() {
WebDriver main = DriverFactory.getWebDriver();
JavascriptExecutor js = (JavascriptExecutor) main;
try {
js.executeAsyncScript(WAIT_AJAX_SCRIPT);
js.executeAsyncScript(WAIT_DOM_SCRIPT);
} catch (Exception e) {
// Ignore exceptions to avoid clogging user's console log
}
}
privat…
They found the implementation code and reviewed it.
The doc says Smart Wait is only available on Chrome and Firefox. Will Smart Wait also work on the new Edge Chromium browser?
Hi Kevin,
We have an update on this in v8.2.0 recently, Smart Wait is now also on Edge Chromium
Please first check out the release note and click here to download if you want to try out version 8.2.0 (stable).
Best,
Chris
Caution.
Smart Wait Function sometimes confuses you when you are not aware that Smart Wait is enabled in your project.
like
Thank you kazurayam, your suggestion is very helpful and I was bothered by this issue for a long time and finally get your message. It works!