18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Having trouble with ZK pop-up Windows
Hello, we look at using Sahi to automate a ZK app and are having a small problem.
We have a page that you click a link, and a pop-up window appears and allows you to fill out a form. When scripting this, it opens the window, but then pauses for ~2 mins before continuing to fill out the form. It seems that Sahi doesn't know the window is open and waits until it hits its timeout to continue.
Is there any workaround for this that doesn't involve lowering the timeout values?
-Jared
We have a page that you click a link, and a pop-up window appears and allows you to fill out a form. When scripting this, it opens the window, but then pauses for ~2 mins before continuing to fill out the form. It seems that Sahi doesn't know the window is open and waits until it hits its timeout to continue.
Is there any workaround for this that doesn't involve lowering the timeout values?
-Jared
Comments
while(true){
var $condn;
_set($condn, _exists(element(objName));
if($condn) break
else _wait(1000);
}
Hope this helps.
That could very well be the right solution. How did you find out that you need to change it? I don't think we have published that yet! Am glad you found it and shared it.
Regards,
Narayan