Im also testing my app with selenium, and use waitForCondition for most of my tests... which evaluates a given Javascript expression till returns a truthy value.
cheers, Miguel On 6/4/07, Geoff Callender <[EMAIL PROTECTED]> wrote:
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