List Icon
Mailing list Archive

2019 up to July 2022 | 20182017  |  2016  2015 2014 | 2013

The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter  


[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,
    Greg

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 | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Karlheinz Kellerer
HRB München 140833