8 messages in com.canoo.lists.webtestRe: [Webtest] ExpectDialog
FromSent OnAttachments
Thomas Colin de Verdière26 Jun 2006 02:33 
Paul King26 Jun 2006 03:02 
Thomas Colin de Verdière26 Jun 2006 03:12 
Paul King26 Jun 2006 03:26 
Thomas Colin de Verdière26 Jun 2006 03:33 
Thomas Colin de Verdière26 Jun 2006 10:40 
Thomas Colin de Verdière27 Jun 2006 02:41 
Paul King27 Jun 2006 04:26 
Subject:Re: [Webtest] ExpectDialog
From:Paul King (pau@asert.com.au)
Date:06/26/2006 03:02:14 AM
List:com.canoo.lists.webtest

Are you using <verifyNoDialogs/> on the previous page? Perhaps one of the dialogs you were expecting to be "consumed" hasn't been yet.

Cheers, Paul.

Thomas Colin de Verdière wrote:

Hello, I've the following error, however, the expected dialog box already 'appear' in the previous page. So i thought the clickButton won't try to look for a dialog box again. Do you have any idea ?

Test step clickButton (D:\WebTest\webtests\modules\mainmenu\goCustomermenu.xml:4: ) named "Go to the customer menu" failed with message "Step[clickButton "Go to the customer menu" (29/31)]: Script error loading page executing webtest at: clickButton Wrapped com.canoo.webtest.engine.StepFailedException: Expected dialogs but none found!, Step: ExpectDialog at
D:\WebTest\webtests\modules\listactivities\verifieMessageConstanteEchappement.xml:2: with (saveProperty="messageAlert", description="PM_MES_CST_2: expect message alert with ENTER dialog message", dialogType="alert", stepType="expectDialog") (Embedded script in http://localhost:8080/patutorial/vsdemo/fs/Listactivities.srv#6) Source code: function () { [native code, arity=0] } "