List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren

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

Re: [QF-Test] How to scroll down the page of Web Browser client?

  • Subject: Re: [QF-Test] How to scroll down the page of Web Browser client?
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Fri, 28 Feb 2014 18:55:24 +0100

Hi Gwen,

QF-Test abstracts those scrolling events away in order to avoid that
simple tests depend too much on scrolling. On the other hand that
makes it harder in case you really need it.

Here's a suggestions:

- Record a click on the parent component that holds the scrollbar.

- Use its component id in a 'Fetch geometry' event to capture its
  width and height in respective local variables

- Change the recorded click to replay as hard event and change x and y
  to $[$(width) - 10] and $[$(height) - 20].

- Replay the event, watch where the mouse cursor moves to and adjust
  the offsets 10 and 20 as necessary

Sorry this is difficult, normally you really don't need this stuff. If
you can't get it to run, please send the test-suite and run-log to me (not the
list) and I'll help.

Best regards,

Gwenael Plantefeve <gwen0504@?.com> writes:

> Hi,
> Is there an easy way to move down the scrollbar of my Web Browser Client?
> I've tried with mouse click events (pressed/move/release)  but it doesn't work.
> My web site under test is providing an infinite scrolling page, with lazy async loading of data
> when scrolling down the page.
> So I really need this functionality to work in order to use QFTest product.
> Thanks for you support
> Gwen

Gregor Schmid

E: gregor.schmid@?.de
T: +49 (0)8171 38648-11
F: +49 (0)8171 38648-16

Quality First Software GmbH |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833