[Webtest] Looping through a scrollable list

Juergen Damke webtest@lists.canoo.com
Fri, 1 Oct 2004 10:15:02 +0200


This is a multipart message in MIME format.
--=_alternative 002D55EBC1256F20_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

I have the need to select an element in a scrollable list.

The list is created by an backend system and by pressing=20
forward / backward buttons I can scroll through it.=20

So I need to implement:

        while (element not on page)
                { page forward; }
        select element;

I need=20
        1) a customstep, which returns a result (instead of failing the=20
Test)
        2) so sort of loop construction

Has someone an idea or a customstep to implement that scenario ?

Thanks,

Mit freundlichen Gr=FC=DFen / With best regards
J=FCrgen Damke
Portal Automated Function Verification Tests
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
IBM WebSphere Portal Development, Dept 0380
URL: http://www-4.ibm.com/software/webservers/portal/
I
--=_alternative 002D55EBC1256F20_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">I have the need to select an element
in a scrollable list.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">The list is created by an backend sy=
stem
and by pressing </font>
<br><font size=3D2 face=3D"sans-serif">forward / backward buttons I can scr=
oll
through it. &nbsp;</font>
<br>
<br><font size=3D2 face=3D"sans-serif">So I need to implement:</font>
<br>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; while
(element not on page)</font>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; { page forward; }</font>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; select
element;</font>
<br>
<br><font size=3D2 face=3D"sans-serif">I need </font>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 1)
a customstep, which returns a result (instead of failing the Test)</font>
<br><font size=3D2 face=3D"sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; 2)
so sort of loop construction</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Has someone an idea or a customstep
to implement that scenario ?</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Thanks,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Mit freundlichen Gr=FC=DFen / With b=
est
regards<br>
J=FCrgen Damke<br>
Portal Automated Function Verification Tests<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F</font>
<br><font size=3D2 face=3D"sans-serif">IBM WebSphere Portal Development, De=
pt
0380<br>
URL: http://www-4.ibm.com/software/webservers/portal/<br>
I</font>
--=_alternative 002D55EBC1256F20_=--