Mailingliste - Einträge 2014
[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?
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