Mailingliste - Einträge 2005


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

Re: [qftestJUI] JDialog: qftest records it, but doesn't recognize it when replaying it?


  • Subject: Re: [qftestJUI] JDialog: qftest records it, but doesn't recognize it when replaying it?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 01 Dec 2005 21:51:04 +0100

Hi Eton,

you appear to have both a modal and a non-modal version of the dialog.
By default qftest treats these as distinct. In a case where you have
both versions of an otherwise identical dialog and want to use them
interchangably, change the option
"Replay->Component recognition->Modal penalty"
to something like 95.

Best regards,
    Greg

"Eton Cohen" <ec@?.com> writes:

>    I have a JDialog window ("dialogMessage") that is recorded by qftest,
>    but is not recognized during replay. I don't understand why?
>
>
>
>    Here is the stack trace:
>
>    de.qfs.apps.qftest.client.ComponentNotFoundException: The component
>
>    'dialogMessage'
>
>    did not appear.
>
>                at
>    de.qfs.apps.qftest.run.RMIRunContext.waitForComponent(RMIRunContext.ja
>    va:660)
>
>                at
>    de.qfs.apps.qftest.step.ComponentWaiter.exec(ComponentWaiter.java:246)
>
>                at
>    de.qfs.apps.qftest.run.AbstractRunContext.call(AbstractRunContext.java
>    :963)
>
>                at
>    de.qfs.apps.qftest.step.BasicSequence.exec(BasicSequence.java:672)
>
>                at
>    de.qfs.apps.qftest.run.AbstractRunContext.call(AbstractRunContext.java
>    :963)
>
>                at de.qfs.apps.qftest.step.Test.exec(Test.java:549)
>
>                at
>    de.qfs.apps.qftest.run.AbstractRunContext.call(AbstractRunContext.java
>    :963)
>
>                at
>    de.qfs.apps.qftest.run.AbstractRunContext.run(AbstractRunContext.java:
>    697)
>
>                at
>    de.qfs.apps.qftest.run.AbstractRunContext$Runner.run(AbstractRunContex
>    t.java:5023)
>
>
>    Sincerely,
>
>    Eton Cohen

--
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