This clicks on a submit, checks the dialog text, then clicks the alert button.

<tr>
        <td>click</td>
        <td>save</td>
        <td></td>
</tr>
<tr>
        <td>assertTextPresent</td>
        <td>You must enter a value for Login Id.</td>
        <td></td>
</tr>
<tr>
        <td>click</td>
        <td>alertButton</td>
        <td></td>
</tr>

HTH,

Geoff
http://files.doublenegative.com.au/jumpstart/

On 04/06/2007, at 12:17 PM, Jun Tsai wrote:

hi,all
i want to use selenium to test my web application,but i don't find a way
to test dojo dialog widget?who can give me some suggestions?

thanks.
Jun Tsai

--
Welcome to China Java Users Group(CNJUG).
http://cnjug.dev.java.net

Reply via email to