Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


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

Re: [QF-Test] automate scrollbar test


  • Subject: Re: [QF-Test] automate scrollbar test
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 04 May 2007 09:03:34 +0200

Hi Huawei,

I guess the best you can do is try to access the scrollbar from an SUT
script and check its selection, i.e.

panel = rc.getComponent("...")
bar = panel.getVerticalBar()
pos = bar.getSelection()
# caculate if the position makes sense
rc.check(..., "Vertical scrolling")

This will verify that your actions are triggering the scrollbar.
Whether the repaint methods for the panel are implemented correctly so
that the users sees what you expect can only be verified using image
checks.

Best regards,
    Greg

"Huawei Luo" <hluo@?.com> writes:

>    Hi, I have a scrollbar which is customered to reside on left side of
>    the panal. I would like to automate the test on this scrollbar against
>    the following:
>
>
>    - If i do up-arrows part the top of the window, or down-arrows past
>    the bottom, the window should be scrolled to show the selected node.
>
>
>    - if i expand a subtree at the bottom of the window, the window should
>    be scrolled to show the subtree children.
>
>
>    - if i collaspe a subtree at the bottom, the window should be scrolled
>    to fill in the blank space (assuming there is something to scroll)..
>
>
>
>    How could I check the scrollbar really does what it is supposed to do?
>
>
>    Thanks a lot
>
>
>    Huawei
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-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
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833



Videos Downloads Dokumentation Kaufen Gratis Testen