Mailingliste - Einträge 2005

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

[qftestJUI] Timeout attribute versus Wait for absence attribute

  • Subject: [qftestJUI] Timeout attribute versus Wait for absence attribute
  • From: Raphael Neu <raphael.neu@?.com>
  • Date: Fri, 5 Aug 2005 15:10:46 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ThwaUbMxjcMqb/uv7JaH5eqWAC9Yqr1QOQGggNdhGua5IxQ7CYCndimFFA0DYp5HH8byeg9JDbTPjzYqsRJXy9Fdo2aMfBa37iU65INJ84IRYBoWKEJzE4UyTaDLmU4UMk0gnZR/fT4qXaAZOQHUjVBJ/cJ3eMKcjJjm4C5AKIU=


I'am using version version 1.08.2-p4. I use some "Wait for component"
nodes in order to test the absence of an error modal dialog. I set the
Timeout attribute to 5000 milliseconds and check the "Wait for
absence" checkbox. Note that the "Wait for component" node is alone in
a try-catch[component found exception] statement.

As the error dialog take some time to appear (1-2 seconds), I expected
that the node will wait 5 seconds before deciding that component did
not appear and continue to the next step.
However, it is not the behavior I experience there. the next node is
called immediately. As a workaround, I use the "delay before"
attribute, but the waste of time (5 seconds when error could appear in
2 seconds) may become a problem as I have a bunch of such test to do.

There is no word on interaction between Timeout and Wait for absence
attributes in the help, and I didn't found something similar in the
mailing list archive. That's why I am asking the question:
Is "Timeout" attribute ignored if "Wait for absence" attribute set to
true?  What is the theorical behavior in my case?

thanks in advance,