This is a forwarded message
From: Andrew Sickorsky <[EMAIL PROTECTED]>
To: [email protected]
Date: Wednesday, May 30, 2007, 12:49:29 PM
Subject: no alert/confirm handler installed warning after attempt to pass 
through java-script dialogs

===8<==============Original message text===============
Hello All!

I'm trying to use WebTest with pop-up alert/confirm messages via ExpectDialog:

<expectDialog description="Expected dialog for record duplicating" 
dialogType="confirm"/>
<clickElement xpath="//[EMAIL PROTECTED]'dataProcessing']/li/[EMAIL 
PROTECTED]'Duplicate record']" description="Duplicate first 10 records"/>
<verifyText text="Total records: 110" />

But nothing happens: there is one warning  "window.alert("Please select rows") 
no alert handler installed".  
BTW no scence in presence of <expectDialog> step in the testsuite.

So, what should I do/install/remove/modify to force WebTest to click on such 
dialogs?

WebTest 2.5 was used.

Thanks in advance, and sorry for disturbing

-- 
Best regards,
 Andrew. 
Texuna Tech                          mailto:[EMAIL PROTECTED]


===8<===========End of original message text===========



-- 
Best regards,
 Andrew                            mailto:[EMAIL PROTECTED]
--- Begin Message ---
Hello All!

I'm trying to use WebTest with pop-up alert/confirm messages via ExpectDialog:

<expectDialog description="Expected dialog for record duplicating" 
dialogType="confirm"/>
<clickElement xpath="//[EMAIL PROTECTED]'dataProcessing']/li/[EMAIL 
PROTECTED]'Duplicate record']" description="Duplicate first 10 records"/>
<verifyText text="Total records: 110" />

But nothing happens: there is one warning  "window.alert("Please select rows") 
no alert handler installed". 
BTW no scence in presence of <expectDialog> step in the testsuite.

So, what should I do/install/remove/modify to force WebTest to click on such 
dialogs?

WebTest 2.5 was used.

Thanks in advance, and sorry for disturbing

-- 
Best regards,
 Andrew.
Texuna Tech                          mailto:[EMAIL PROTECTED]

--- End Message ---

Reply via email to