Hi,
You can use:
setExpectedJavaScriptConfirm("The message in the popup", false); // false means
you click on cancel
BEFORE clicking on the link.
Regards,
Julien
________________________________
De : "Singh-2, Rajinder" <[email protected]>
À : [email protected]
Envoyé le : Lundi, 9 Mars 2009, 8h20mn 26s
Objet : [JWebUnit-development] Help:JwebUnit Testing
Hi,
When I click on a particular link a JavaScript popup comes
which has two buttons I want to click the cancel button.
How can I do it using JWebUnit (I am unable to do it as it
is a JavaScript popup).
Please help.
Regds
Rajinder
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development