← Back to team overview

sikuli-driver team mailing list archive

[Question #232110]: Script fails due to non-responsive mode of pop-up window

 

New question #232110 on Sikuli:
https://answers.launchpad.net/sikuli/+question/232110

I have a workflow where clicking on a button initiates a process and a pop-up window (A) displays the progress. But during the progress, another application is launched (multiple times) followed by a pop-up window (B) each time; clicking on the pop-up window (B) resumes the progress back on pop-up window (A). But, there a small delay during which the pop-up (A) is non-responsive.

Workflow:

Click (“Next”)
While next screen not exist
	If window(A) exists
		If window(B) exists
			Click (“OK”)
		Else
			Continue
	Else
		Break

Now, my script fails when it is not able to identify window (A) after clicking "OK" button, since it is in non-responsive mode (Title = Not Responding).  Since this period is very small, I am not able to capture it as screenshot also.

The same piece of code runs perfectly in slow mode.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.