[Webtest] AW: Help needed with invoke

Habbert, Michael (Key-Work) Habbert, Michael (Key-Work)" <michael.habbert@key-work.de
Thu, 10 Sep 2015 07:36:17 +0000


--_004_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_
Content-Type: multipart/alternative;
	boundary="_000_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_"

--_000_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Adrian,

Please have a look at:

http://comments.gmane.org/gmane.comp.web.canoo.webtest/9604

So you are not alone ;-/

The JavaScript-support of webtests is done by htmlunit:

http://htmlunit.sourceforge.net/changes-report.html

Since htmlunit-2.5 the method: getElementsByClassName is supported.

But unfortunately my lokal webtest-installation uses htmlunit version 2.3.

So from my point of view - you are doomed.
The migration from one htmlunit version to the next is more work than excha=
nging the jar-files.

With kind regards

Michael Habbert



Von: Adrian Durn [mailto:adrian.durn@reassured.co.uk]
Gesendet: Mittwoch, 9. September 2015 18:20
An: webtest@lists.canoo.com; Habbert, Michael (Key-Work) <michael.habbert@k=
ey-work.de>
Betreff: RE: Help needed with invoke

Hi Michael,

Below is the test and result of said test. Under resulting page it is displ=
aying the page I am expecting to be displayed.

The system is built upon cakephp and has URL rerouting based on the control=
ler used.

Localdev is simply pointing to 127.0.0.1 and the appropriate webroot, I can=
 browse to localdev from a browser fine.

Just being able to invoke and skipping the pass check would be ideal at thi=
s point.

Is this enough?

Adrian

            <webtest name=3D"Find Test CRM">
                  <config browser=3D"firefox3" haltonfailure=3D"false" fail=
ureproperty=3D"true" host=3D"localdev" port=3D"80"/>
                  <steps>
                        <invoke url=3D"/users/login" description=3D"Invoke =
local CRM"  />
                  </steps>
            </webtest>

[x] Find Test CRM
Test started at Wed Sep 09 17:08:57 BST 2015, lasting 891 ms.
Source: c:\myWebTestProject\tests\CRMdevtest.xml:9:
Base URL (used by invoke steps with a relative URL): http://localdev/
#

Result

Name

Parameter

Duration

  1

[x]
Error
Page<001_response_invoke.html>

invoke
Invoke local CRM
Resulting page<001_response_invoke.html?baseUrl=3Dhttp%3A//localdev/>

-> complete url

http://localdev/users/login

url

/users/login


891

Error
Message

JavaScript error loading page http://localdev/users/login: TypeError: Canno=
t find function getElementsByClassName in object [object HTMLDocument].

Location

c:\myWebTestProject\tests\CRMdevtest.xml (line: 12)

Page source looks like:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns=3D"http://www.w3.org/1999/xhtml">

<head>

    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8=
" />    <title>

        CRM Development:

        Users    </title>

    <!-- CRM VERSION: 5.17.2 -->

    <CSS stuff />

</head>




From: webtest-admin@lists.canoo.com<mailto:webtest-admin@lists.canoo.com> [=
mailto:webtest-admin@lists.canoo.com] On Behalf Of Habbert, Michael (Key-Wo=
rk)
Sent: 09 September 2015 12:55
To: webtest@lists.canoo.com<mailto:webtest@lists.canoo.com>
Subject: [Webtest] AW: Help needed with invoke

Hi Adrian,

Please provide an example and a complete stacktrace. Its much easier to hel=
p so.

Cheers

Michael Habbert

Hello,

I am in desperate need of help with Webtest. It potentially will save me a =
lot of trouble and is almost perfect for what I need it to do, however, I a=
m having trouble using the Invoke step.

After invoking a page the test is failing, this happens constantly, regardl=
ess of the whether pointing local, test or live. The page is loading proper=
ly, I can see in the test results page that it is displaying correctly. Is =
there a way of of forcing the invoke stage to come back as green?

Adrian Durn


Michael Habbert
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | www=
.key-work.de<http://www.key-work.de>
Fon: +49-721-78203-269 | E-Mail: michael.habbert@key-work.de<mailto:michael=
.habbert@key-work.de> | Fax: +49-721-78203-10

Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Gesch=E4ftsf=FChrer: Andreas Stappert, Tobin Wotring

--_000_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
h2
	{mso-style-priority:9;
	mso-style-link:"=DCberschrift 2 Zchn";
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:18.0pt;
	font-family:"Times New Roman",serif;
	font-weight:bold;}
h3
	{mso-style-priority:9;
	mso-style-link:"=DCberschrift 3 Zchn";
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:13.5pt;
	font-family:"Times New Roman",serif;
	font-weight:bold;}
h4
	{mso-style-priority:9;
	mso-style-link:"=DCberschrift 4 Zchn";
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.berschrift2Zchn
	{mso-style-name:"=DCberschrift 2 Zchn";
	mso-style-priority:9;
	mso-style-link:"=DCberschrift 2";
	font-family:"Calibri Light",sans-serif;
	color:#2E74B5;
	mso-fareast-language:EN-US;}
span.berschrift3Zchn
	{mso-style-name:"=DCberschrift 3 Zchn";
	mso-style-priority:9;
	mso-style-link:"=DCberschrift 3";
	font-family:"Calibri Light",sans-serif;
	color:#1F4D78;
	mso-fareast-language:EN-US;}
span.berschrift4Zchn
	{mso-style-name:"=DCberschrift 4 Zchn";
	mso-style-priority:9;
	mso-style-link:"=DCberschrift 4";
	font-family:"Calibri Light",sans-serif;
	color:#2E74B5;
	mso-fareast-language:EN-US;
	font-style:italic;}
span.E-MailFormatvorlage21
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.E-MailFormatvorlage22
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.E-MailFormatvorlage23
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.E-MailFormatvorlage24
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
p.Heading2, li.Heading2, div.Heading2
	{mso-style-name:"Heading 2";
	mso-style-link:"Heading 2 Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.Heading2Char
	{mso-style-name:"Heading 2 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 2";
	font-weight:bold;}
p.Heading3, li.Heading3, div.Heading3
	{mso-style-name:"Heading 3";
	mso-style-link:"Heading 3 Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-weight:bold;}
p.Heading4, li.Heading4, div.Heading4
	{mso-style-name:"Heading 4";
	mso-style-link:"Heading 4 Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.Heading4Char
	{mso-style-name:"Heading 4 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 4";
	font-weight:bold;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.location
	{mso-style-name:location;}
span.E-MailFormatvorlage34
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"DE" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Dear Adrian,<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Please have a look at:=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><a href=3D"http://comm=
ents.gmane.org/gmane.comp.web.canoo.webtest/9604">http://comments.gmane.org=
/gmane.comp.web.canoo.webtest/9604</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">So you are not alone ;=
-/<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The JavaScript-support=
 of webtests is done by htmlunit:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><a href=3D"http://html=
unit.sourceforge.net/changes-report.html">http://htmlunit.sourceforge.net/c=
hanges-report.html</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Since htmlunit-2.5 the=
 method: getElementsByClassName is supported.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">But unfortunately my l=
okal webtest-installation uses htmlunit version 2.3.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">So from my point of vi=
ew &#8211; you are doomed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">The migration from one=
 htmlunit version to the next is more work than exchanging the jar-files.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">With kind regards<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Michael Habbert<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"mso-fareast-language:DE">Von:</spa=
n></b><span style=3D"mso-fareast-language:DE"> Adrian Durn [mailto:adrian.d=
urn@reassured.co.uk]
<br>
<b>Gesendet:</b> Mittwoch, 9. September 2015 18:20<br>
<b>An:</b> webtest@lists.canoo.com; Habbert, Michael (Key-Work) &lt;michael=
.habbert@key-work.de&gt;<br>
<b>Betreff:</b> RE: Help needed with invoke<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Hi Mich=
ael,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Below i=
s the test and result of said test. Under resulting page it is displaying t=
he page I am expecting to be displayed.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">The sys=
tem is built upon cakephp and has URL rerouting based on the controller use=
d.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Localde=
v is simply pointing to 127.0.0.1 and the appropriate webroot, I can browse=
 to localdev from a browser fine.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Just be=
ing able to invoke and skipping the pass check would be ideal at this point=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Is this=
 enough?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D">Adrian<=
o:p></o:p></span></p>
<h4><span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&quot;,sans-serif;=
color:#768BC2"><o:p>&nbsp;</o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; &lt;webtest name=3D&quot;Find Test CRM&quot;&gt;<o:=
p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;config brow=
ser=3D&quot;firefox3&quot; haltonfailure=3D&quot;false&quot; failurepropert=
y=3D&quot;true&quot; host=3D&quot;localdev&quot; port=3D&quot;80&quot;/&gt;=
<o:p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;steps&gt;<o=
:p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; &lt;invoke url=3D&quot;/users/login&quot; description=
=3D&quot;Invoke local CRM&quot;&nbsp; /&gt;<o:p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/steps&gt;<=
o:p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courie=
r New&quot;;font-weight:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; &lt;/webtest&gt;<o:p></o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&quot;,sans-serif;=
color:#768BC2"><o:p>&nbsp;</o:p></span></h4>
<h4><span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&quot;,sans-serif;=
color:#768BC2"><img border=3D"0" width=3D"10" height=3D"10" id=3D"Picture_x=
0020_6" src=3D"cid:image001.gif@01D0EBAB.3AEDC3A0" alt=3D"x">&nbsp;Find Tes=
t CRM<o:p></o:p></span></h4>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-=
family:&quot;Arial&quot;,sans-serif;color:black">Test started at Wed Sep 09=
 17:08:57 BST 2015, lasting 891 ms.<br>
Source:<span class=3D"apple-converted-space">&nbsp;</span></span><span clas=
s=3D"location"><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&=
quot;Courier New&quot;;color:black">c:\myWebTestProject\tests\CRMdevtest.xm=
l:9:</span></span><span class=3D"apple-converted-space"><span lang=3D"EN-GB=
" style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;color:black=
">&nbsp;</span></span><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-f=
amily:&quot;Arial&quot;,sans-serif;color:black"><br>
Base URL (used by<span class=3D"apple-converted-space">&nbsp;</span><b>invo=
ke</b><span class=3D"apple-converted-space">&nbsp;</span>steps with a relat=
ive URL):<span class=3D"apple-converted-space">&nbsp;</span><a href=3D"http=
://localdev/" target=3D"_blank"><span style=3D"color:#768BC2">http://locald=
ev/</span></a><o:p></o:p></span></p>
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0" width=3D"100%" style=3D"width:100.0%;orphans: auto;text-align:start;=
widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<tbody>
<tr>
<td style=3D"background:#E1E1E1;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:=
black">#<o:p></o:p></span></b></p>
</td>
<td style=3D"background:#E1E1E1;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:=
black">Result<o:p></o:p></span></b></p>
</td>
<td style=3D"background:#E1E1E1;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:=
black">Name<o:p></o:p></span></b></p>
</td>
<td style=3D"background:#E1E1E1;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:=
black">Parameter<o:p></o:p></span></b></p>
</td>
<td style=3D"background:#E1E1E1;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:=
black">Duration<o:p></o:p></span></b></p>
</td>
</tr>
<tr>
<td style=3D"border:none;border-bottom:inset black 1.0pt;background:#F8F8F8=
;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial&quot;,sans-serif;color:black">&nbsp; 1</span></b><span style=3D"font=
-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p></o=
:p></span></p>
</td>
<td style=3D"border:none;border-bottom:inset black 1.0pt;background:#F8F8F8=
;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"center" style=3D"text-align:center"><span s=
tyle=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:bla=
ck;mso-fareast-language:EN-GB"><img border=3D"0" width=3D"10" height=3D"10"=
 id=3D"Picture_x0020_5" src=3D"cid:image001.gif@01D0EBAB.3AEDC3A0" alt=3D"x=
"></span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans=
-serif;color:black"><br>
<a name=3D"testspec1-error"></a><a href=3D"#error1"><span style=3D"font-siz=
e:7.5pt;color:#768BC2">Error</span></a><span class=3D"apple-converted-space=
">&nbsp;</span><br>
<a href=3D"001_response_invoke.html" target=3D"_blank"><span style=3D"font-=
size:7.5pt;color:#768BC2">Page</span></a><o:p></o:p></span></p>
</td>
<td valign=3D"top" style=3D"border:none;border-bottom:inset black 1.0pt;bac=
kground:#F8F8F8;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Arial&quot;,sans-serif;color:black">invoke</span></b><span class=3D"apple-=
converted-space"><span style=3D"font-size:10.0pt;font-family:&quot;Arial&qu=
ot;,sans-serif;color:black">&nbsp;</span></span><span style=3D"font-size:10=
.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black"><br>
Invoke local CRM<br>
<a href=3D"001_response_invoke.html?baseUrl=3Dhttp%3A//localdev/" target=3D=
"_blank" title=3D" (Ctrl&#43;mouse over: preview floating over this page, C=
trl&#43;Click: opens in results browser)"><span style=3D"color:#768BC2">Res=
ulting page</span></a><o:p></o:p></span></p>
</td>
<td valign=3D"top" style=3D"border:none;border-bottom:inset black 1.0pt;bac=
kground:#F8F8F8;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<table class=3D"MsoNormalTable" border=3D"0" cellspacing=3D"0" cellpadding=
=3D"0">
<tbody>
<tr>
<td nowrap=3D"" style=3D"background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt=
">
<p class=3D"MsoNormal"><b>-&gt; complete url</b><b><span style=3D"font-size=
:12.0pt;font-family:&quot;Times New Roman&quot;,serif"><o:p></o:p></span></=
b></p>
</td>
<td style=3D"background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt">
<p class=3D"MsoNormal"><a href=3D"http://localdev/users/login">http://local=
dev/users/login</a><o:p></o:p></p>
</td>
</tr>
<tr>
<td nowrap=3D"" style=3D"background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt=
">
<p class=3D"MsoNormal"><b>url<o:p></o:p></b></p>
</td>
<td style=3D"background:#F8F8F8;padding:1.5pt 1.5pt 1.5pt 1.5pt">
<p class=3D"MsoNormal">/users/login<o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign=3D"top" style=3D"border:none;border-bottom:inset black 1.0pt;bac=
kground:#F8F8F8;padding:2.25pt 2.25pt 2.25pt 2.25pt">
<p class=3D"MsoNormal" align=3D"right" style=3D"text-align:right"><span sty=
le=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:black=
">891<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<h2 style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-w=
idth: 0px;word-spacing:0px">
<a name=3D"error1"><span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&qu=
ot;,sans-serif;color:#768BC2">Error</span></a><span lang=3D"EN-GB" style=3D=
"font-family:&quot;Arial&quot;,sans-serif;color:black"><o:p></o:p></span></=
h2>
<h3 style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-w=
idth: 0px;word-spacing:0px">
<span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&quot;,sans-serif;colo=
r:black">Message<o:p></o:p></span></h3>
<p style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-wi=
dth: 0px;word-spacing:0px">
<span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Arial&quot=
;,sans-serif;color:black">JavaScript error loading page
<a href=3D"http://localdev/users/login">http://localdev/users/login</a>: Ty=
peError: Cannot find function getElementsByClassName in object [object HTML=
Document].<o:p></o:p></span></p>
<h3 style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-w=
idth: 0px;word-spacing:0px">
<span lang=3D"EN-GB" style=3D"font-family:&quot;Arial&quot;,sans-serif;colo=
r:black">Location<o:p></o:p></span></h3>
<p style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-wi=
dth: 0px;word-spacing:0px">
<span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Arial&quot=
;,sans-serif;color:black">c:\myWebTestProject\tests\CRMdevtest.xml (line: 1=
2)<o:p></o:p></span></p>
<p><b><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Aria=
l&quot;,sans-serif;color:#8497B0">Page source looks like:<o:p></o:p></span>=
</b></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Arial&q=
uot;,sans-serif;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.=
0 Transitional//EN&quot; &quot;<a href=3D"http://www.w3.org/TR/xhtml1/DTD/x=
html1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional=
.dtd</a>&quot;&gt;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&lt;html xmlns=3D&quot;<a href=3D"http://www.w3.org=
/1999/xhtml">http://www.w3.org/1999/xhtml</a>&quot;&gt;<o:p></o:p></span></=
p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&lt;head&gt;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&nbsp;&nbsp;&nbsp; &lt;meta http-equiv=3D&quot;Cont=
ent-Type&quot; content=3D&quot;text/html; charset=3Dutf-8&quot; /&gt;&nbsp;=
&nbsp;&nbsp; &lt;title&gt;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CRM Deve=
lopment:<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Users&nb=
sp;&nbsp;&nbsp; &lt;/title&gt;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&nbsp;&nbsp;&nbsp; &lt;!-- CRM VERSION: 5.17.2 --&g=
t;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&nbsp;&nbsp;&nbsp; &lt;CSS stuff /&gt;<o:p></o:p></=
span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black">&lt;/head&gt;<o:p></o:p></span></p>
<p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&quot;Courier=
 New&quot;;color:black"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB">From:</span></b><span lang=3D"EN-US" style=3D"mso-fareast-language=
:EN-GB">
<a href=3D"mailto:webtest-admin@lists.canoo.com">webtest-admin@lists.canoo.=
com</a> [<a href=3D"mailto:webtest-admin@lists.canoo.com">mailto:webtest-ad=
min@lists.canoo.com</a>]
<b>On Behalf Of </b>Habbert, Michael (Key-Work)<br>
<b>Sent:</b> 09 September 2015 12:55<br>
<b>To:</b> <a href=3D"mailto:webtest@lists.canoo.com">webtest@lists.canoo.c=
om</a><br>
<b>Subject:</b> [Webtest] AW: Help needed with invoke<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black">Hi Adrian=
,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black">Please pr=
ovide an example and a complete stacktrace. Its much easier to help so.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black">Cheers<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black">Michael H=
abbert<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB" style=3D"color:black"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Hello,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">I am in desperate need of help =
with Webtest. It potentially will save me a lot of trouble and is almost pe=
rfect for what I need it to do, however, I am having trouble using the Invo=
ke step.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">After invoking a page the test =
is failing, this happens constantly, regardless of the whether pointing loc=
al, test or live. The page is loading properly, I can see in the test resul=
ts page that it is displaying correctly.
 Is there a way of of forcing the invoke stage to come back as green?<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-GB">Adrian Durn<o:p></o:p></span></=
p>
<div>
<p class=3D"MsoNormal"><span style=3D"color:navy">&nbsp;<br>
&nbsp;<br>
<strong><span style=3D"font-family:&quot;Calibri&quot;,sans-serif">Michael =
Habbert</span></strong>
<br>
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | <a =
href=3D"http://www.key-work.de" target=3D"_blank" title=3D"Key-Work Consult=
ing GmbH">
www.key-work.de</a><br>
Fon: &#43;49-721-78203-269 | E-Mail: <a href=3D"mailto:michael.habbert@key-=
work.de">michael.habbert@key-work.de</a> | Fax: &#43;49-721-78203-10
<br>
&nbsp;<br>
Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim<br>
Gesch=E4ftsf=FChrer: Andreas Stappert, Tobin Wotring </span><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_--

--_004_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_
Content-Type: image/gif; name="image001.gif"
Content-Description: image001.gif
Content-Disposition: inline; filename="image001.gif"; size=182;
	creation-date="Thu, 10 Sep 2015 07:36:17 GMT";
	modification-date="Thu, 10 Sep 2015 07:36:17 GMT"
Content-ID: <image001.gif@01D0EBAB.3AEDC3A0>
Content-Transfer-Encoding: base64

R0lGODlhCgAKAMT/AP////+9vf+3t/+1tf+trf+pqf+fn/+Tk/9/f/95ef91df90dP9zc/9ycv9t
bf9lZf9kZP9iYv9ZWf9XV/9SUv9FRf85Of82Nv81Nf8yMv8xMf8oKP8ZGf8LCwAAAMDAwCH5BAEA
AB8ALAAAAAAKAAoAQAUz4CeOomAqAilcwbh2E2lUSKpc6Sc4FiFYktHDQFJMcoTL44ZQOTgc1Ogw
aemUuhwpIAgBADs=

--_004_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_--