This is a multi-part message in MIME format.
------_=_NextPart_001_01C893FE.2C9BD309
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I am new to web tests and found problem with basic sample example.
Please guide me if I am doing anything wrong.
=20
In the sample example below
=20
<project default=3D"test">
<target name=3D"test">
<webtest=20
name=3D"check that WebTest is Google's top 'WebTest' result">
<invoke url=3D"http://www.google.com/ncr"=20
description=3D"Go to Google (in English)"/>
<verifyTitle text=3D"Google" />
<setInputField name=3D"q" value=3D"WebTest" />
<clickButton label=3D"I'm Feeling Lucky" />
<verifyTitle text=3D"Canoo WebTest" />
</webtest>
</target>
</project>
=20
The result page after clicking I'm Feeling Lucky is as below. The page
will be redirected to"/webtest/manual/WebTestHome.html" and seems
Webtest is unable to handle tests involving redirected pages.
I wonder how this basic test itself is not working as expected. Please
let me know how to get to redirected result page to continue the
testing.
=20
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><TITLE>Canoo WebTest Homepage</TITLE>
<META http-equiv=3D"Refresh"
content=3D"0;URL=3D/webtest/manual/WebTestHome.html">
=20
</HEAD>
<BODY>
=20
</BODY></HTML>
=20
Thanks,
Prasad.
------_=_NextPart_001_01C893FE.2C9BD309
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:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
span.a1
{color:green;}
span.tag
{color:blue;}
span.att
{color:#336600;}
span.val
{color:#993300;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi,<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'> I am new to web tests and found problem with =
basic
sample example. Please guide me if I am doing anything =
wrong.<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> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> In the sample example =
below<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> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3D"Courier New"><span =
style=3D'font-size:8.5pt;
font-family:"Courier New"'><<span class=3Dtag><font =
color=3Dblue>project</font></span> <span
class=3Datt><font color=3D"#336600">default</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">test</font></span>"><br>
<<span class=3Dtag><font =
color=3Dblue>target</font></span> <span
class=3Datt><font color=3D"#336600">name</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">test</font></span>"><br>
<br>
<<span class=3Dtag><font =
color=3Dblue>webtest</font></span> <br>
<span class=3Datt><font =
color=3D"#336600">name</font></span>=3D"<span
class=3Dval><font =
color=3D"#993300">check that WebTest is Google's =
;top 'WebTest' result</font></span>"><br>
<<span class=3Dtag><font =
color=3Dblue>invoke</font></span> <span
class=3Datt><font color=3D"#336600">url</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">http://www.google.com/ncr</font></span>" <br>=
<=
span
class=3Datt><font =
color=3D"#336600">description</font></span>=3D"<span
class=3Dval><font =
color=3D"#993300">Go to Google (in English)</font></s=
pan>"/><br>
<<span class=3Dtag><font =
color=3Dblue>verifyTitle</font></span> <span
class=3Datt><font color=3D"#336600">text</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">Google</font></span>" /><br>
<<span class=3Dtag><font =
color=3Dblue>setInputField</font></span> <span
class=3Datt><font color=3D"#336600">name</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">q</font></span>" <span class=3Datt><font =
color=3D"#336600">value</font></span>=3D"<span
class=3Dval><font =
color=3D"#993300">WebTest</font></span>" /><br>
<<span class=3Dtag><font =
color=3Dblue>clickButton</font></span> <span
class=3Datt><font color=3D"#336600">label</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">I'm Feeling Lucky</font></span>" /&=
gt;<br>
<<span class=3Dtag><font =
color=3Dblue>verifyTitle</font></span> <span
class=3Datt><font color=3D"#336600">text</font></span>=3D"<span =
class=3Dval><font
color=3D"#993300">Canoo WebTest</font></span>" /><br>
</<span class=3Dtag><font =
color=3Dblue>webtest</font></span>><br>
<br>
</<span class=3Dtag><font =
color=3Dblue>target</font></span>><br>
</<span class=3Dtag><font =
color=3Dblue>project</font></span>></span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><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> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The result page after clicking I’m Feeling =
Lucky is as
below. The page will be redirected =
to”/webtest/manual/WebTestHome.html”
and seems Webtest is unable to handle tests involving redirected =
pages.<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'>I wonder how this basic test itself is not working as
expected. Please let me know how to get to redirected result page to =
continue
the testing.<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> </o:p></span></font></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><!DOCTYPE HTML PUBLIC =
"-//W3C//DTD
HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><o:p></o:p></span></f=
ont></b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><HTML><HEAD><TITLE>=
Canoo
WebTest Homepage</TITLE><o:p></o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><<st1:place =
w:st=3D"on">META</st1:place>
http-equiv=3D"Refresh" =
content=3D"0;URL=3D/webtest/manual/WebTestHome.html"><o:p></=
o:p></span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><o:p> </o:p></span></font></b></=
p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'></HEAD><o:p></o:p></span></font=
></b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><BODY><o:p></o:p></span></font>=
</b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><o:p> </o:p></span></font></b></=
p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'></BODY></HTML><o:p></o:p>=
</span></font></b></p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'><o:p> </o:p></span></font></b></=
p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>Thanks,<o:p></o:p></span></font></b><=
/p>
<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>Prasad.<o:p></o:p></span></font></b><=
/p>
</div>
</body>
</html>
------_=_NextPart_001_01C893FE.2C9BD309--