[Webtest] StoreRegex query

Pande, Satchit webtest@lists.canoo.com
Thu, 6 Apr 2006 11:40:13 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C65990.65000BC7
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,

There are many links on single html page such as :-

<a
href=3D"SessionManager/J1V4XSAETMKQMCRPRLDCFEQ/">J1V4XSAETMKQMCRPRLDCFEQ/=
<
/a>
<a
href=3D"SessionManager/J1V4TYTYTYTYTYTRLDCFEQQ/">J1V4XSAETMKQMCRPRLDCFEQ/=
<
/a>

I use the regular expression to identify links whose href has
"SessionManager/J1V4TYTYTYTYTYTRLDCFEQQ" =20

SessionManager/[A-Z|0-9]{23}=20

Also the click of each link takes you to different page..

Question

1) Would I be able to capture all such links and store in an array in
canoo.?
2) would I be able to simulate the click of links with invoke statement
by tuning the response generated.
3) Can I use <repeat> to traverse and store such html <a> tags which
need to be clicked.?

Any help with this is appreciated.

Thanks,
Satchit

------_=_NextPart_001_01C65990.65000BC7
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6617.90">
<TITLE>StoreRegex query</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">There are many links on single html =
page such as :-</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&lt;a =
href=3D&quot;SessionManager/J1V4XSAETMKQMCRPRLDCFEQ/&quot;&gt;J1V4XSAETMK=
QMCRPRLDCFEQ/&lt;/a&gt;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&lt;a =
href=3D&quot;SessionManager/J1V4TYTYTYTYTYTRLDCFEQQ/&quot;&gt;J1V4XSAETMK=
QMCRPRLDCFEQ/&lt;/a&gt;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I use the regular expression to =
identify links whose href has =
&quot;SessionManager/J1V4TYTYTYTYTYTRLDCFEQQ&quot;&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">SessionManager/[A-Z|0-9]{23} </FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Also the click of each link takes you =
to different page..</FONT>
</P>

<P><U><FONT SIZE=3D2 FACE=3D"Arial">Question</FONT></U>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">1) Would I be able to capture all such =
links and store in an array in canoo.?</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">2) would I be able to simulate the =
click of links with</FONT><U> <FONT SIZE=3D2 =
FACE=3D"Arial">invoke</FONT></U><FONT SIZE=3D2 FACE=3D"Arial"> statement =
by tuning the response generated.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">3) Can I use &lt;repeat&gt; to =
traverse and store such html &lt;a&gt; tags which need to be =
clicked.?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any help with this is =
appreciated.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Satchit</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C65990.65000BC7--