Mailing list - Entries of 2006


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

[QF-Test] Re: [qftestJUI] Query re: Verification of Tooltips.


  • Subject: [QF-Test] Re: [qftestJUI] Query re: Verification of Tooltips.
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 21 Nov 2006 08:39:54 +0100

Hello Chris,

currently you cannot use a 'Check' node for verifying tooltips.
However, you can easily create a Jython script to do so. For a Swing
application you could use an SUT script like the following:


com = rc.getComponent("...qftest id of the component to check...")
rc.check(com.getToolTipText() == "Expected text", "!Check tooltip text")

Please see the scripting chapter in the manual and the API reference
for details of these methods.

Best regards,
    Greg


<Christopher.Stanbridge@?.au> writes:

>    Hello,
> 
> 
>    I was wondering if tooltips in an application (when the mouse hovers
>    over an icon and text appears) can be verified using your `Check'
>    functionality in qfTest?
> 
> 
>    Thanks,
> 
> 
>    Chris
> 
>    ----------------------------------------------------------------------
>    ---------------
> 
>    Chris Stanbridge          
> 
>    e-Health Research Centre
> 
>    A joint venture between CSIRO and the Queensland Government
> 
>    Lvl 20, 300 Adelaide Street BRISBANE QLD 4000
>    PO Box 10842 Adelaide Street BRISBANE QLD 4000
> 
>    Ph: 07 3024 1600 Fx: 07 3024 1690
>    Em: [1]christopher.stanbridge@?.au Web: [2]http://e-hrc.net/
> 
> Verweise
> 
>    1. mailto:christopher.stanbridge@?.au
>    2. http://e-hrc.net/
> _______________________________________________
> 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 Documentation Buy Free Trial