[Webtest] How to click an image link?

Tim Miller webtest@lists.canoo.com
Thu, 7 Jul 2005 11:59:49 -0700


This is a multi-part message in MIME format.

------_=_NextPart_001_01C58325.E483FBCF
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Is there a way to click an image so the onclick event is triggered with
WebTest?  Html follows.
=20
=20
<td>
  <img name=3D"chart" src=3D"/edgedynamics/portal/images/chart_off.gif"
    border=3D"0"
    ONMOUSEOVER=3D"showOnButton('chart');"
    ONMOUSEOUT=3D"showOffButton('chart');"
=20
ONCLICK=3D"loadPage('/edgedynamics/portal/jsp/analytics/explorer_chart.js=
p
');">
</td>

=20

=20

Thanks,

Tim

=20

=20

(This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.)

=20


------_=_NextPart_001_01C58325.E483FBCF
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1><pre><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Is there a way to click an image so the =
onclick event is triggered with WebTest?&nbsp; Html =
follows.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon=
t
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>&lt;<span
class=3Dstart-tag>td</span>&gt;<o:p></o:p></span></font></pre><pre><font =
size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt'>&nbsp; &lt;<span =
class=3Dstart-tag>img</span><span
class=3Dattribute-name> name</span>=3D<span =
class=3Dattribute-value>&quot;chart&quot; </span><span
class=3Dattribute-name>src</span>=3D<span =
class=3Dattribute-value>&quot;/edgedynamics/portal/images/chart_off.gif&q=
uot;<o:p></o:p></span></span></font></pre><pre><span
class=3Dattribute-value><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; &nbsp;&nbsp;</span></font></span><span =
class=3Dattribute-name>border</span>=3D<span
class=3Dattribute-value>&quot;0&quot;<o:p></o:p></span></pre><pre><span
class=3Dattribute-value><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp; </span></font></span><span =
class=3Dattribute-name>ONMOUSEOVER</span>=3D<span
class=3Dattribute-value>&quot;showOnButton('chart');&quot;<o:p></o:p></sp=
an></pre><pre><span
class=3Dattribute-value><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp; </span></font></span><span =
class=3Dattribute-name>ONMOUSEOUT</span>=3D<span
class=3Dattribute-value>&quot;showOffButton('chart');&quot;<o:p></o:p></s=
pan></pre><pre><span
class=3Dattribute-value><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp; </span></font></span><span =
class=3Dattribute-name>ONCLICK</span>=3D<span
class=3Dattribute-value>&quot;loadPage('/edgedynamics/portal/jsp/analytic=
s/explorer_chart.jsp');&quot;</span>&gt;<o:p></o:p></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&lt;/<span
class=3Dend-tag>td</span>&gt;<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Tim<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
font-family:Arial'>(This email message is for the sole use of the =
intended
recipient(s) and may contain confidential information.&nbsp; Any =
unauthorized
review, use, disclosure or distribution is prohibited.&nbsp; If you are =
not the
intended recipient, please contact the sender by reply email and destroy =
all
copies of the original message.)</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C58325.E483FBCF--