Mailing list - Entries of 2006

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

Re: [QF-Test] Fire doubleclick event in SUT script

  • Subject: Re: [QF-Test] Fire doubleclick event in SUT script
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 28 Nov 2006 14:04:51 +0100

Hello Olaitan,

that the button's position can change is not a problem. If QF-Test can
identify it, it will be able to replay events, regardless of whether
you use an MPRC or try to hack up a script.

That said, what do you get if you record a double-click on the button?
Normally you should be able to simply replay that to get a
double-click effect. What's the effect during replay in your case?
Please send me (not the list :-) your test-suite and a run-log and
we'll take a closer look.

Best regards,

Olaitan Malomo <olaitan.malomo@?.com> writes:

> I am trying to fire a double click event in an SUT script
> I cannot use the Mouse_MPRC event because the button's position can
> change at runtime.
> I am trying to do something like:
> wait=button.getMultiClickThreshhold()
> button.doClick()
> time.sleep(wait)
> button.doClick()
> This is not working. Any ideas as to how i can do this.
> Thanks
> -- 
> Olaitan Malomo
> Professional Services Team
> Integra SP Ltd
> Email: Olaitan.Malomo@?.com
> Phone: +44(0)207 956 2441
> Fax:   +44(0)207 956 2259

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