Mailingliste - Einträge 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] How do deal with testing wizard where a modal dialog may or may not popup?


  • Subject: Re: [qftestJUI] How do deal with testing wizard where a modal dialog may or may not popup?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 11 Jul 2005 07:52:04 -0000

Hello Bill,

use something like

+ MPRC - the click that may trigger the dialog
+ Try
  + Wait for component (the optional dialog, short timeout,e.g.1000ms)
  + MPRC Click OK to close dialog
  + Catch ComponentNotFoundException


Best regards,
    Greg

William Deegan <bill.deegan@?.com> writes:

> Greetings,
>
> I'm testing a wizard, and if this is the first time a tests being run,
> it will popup a modal dialog asking if its o.k. to create a directory
> to store some files in.
>
> If it's the second or more time the test has been run, then it will not
> ask if its o.k. to create the directory.
>
> What's the best way to handle this?
> I tried wrapping clicking on the o.k. in a try, with a catch for componentnotfound,
> but an exception dialog is still raised by qfstestJUI.
>
> Thanks,
> Bill
>
>
> _______________________________________________
> qftestJUI-list mailing list
> qftestJUI-list@?.de
> http://www.qfs.de/mailman/listinfo/qftestjui-list

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Dokumentation Kaufen Gratis Testen