[Webtest] RE: Help needed with invoke

Adrian Durn Adrian Durn <adrian.durn@reassured.co.uk>
Thu, 10 Sep 2015 08:10:08 +0000


--_004_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_
Content-Type: multipart/alternative;
	boundary="_000_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_"

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

Michael,

Thank you very much for pointing this out, I had almost dumped an entire da=
y into trying to fix this. I have the updated htmlunit files to 2.5 and so =
far it's cured the problem.

Massive thanks for all your help.

Adrian


From: webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.com] =
On Behalf Of Habbert, Michael (Key-Work)
Sent: 10 September 2015 08:36
To: webtest@lists.canoo.com
Subject: [Webtest] AW: Help needed with invoke

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<mailto:webtest@lists.canoo.com>; Habbert, Micha=
el (Key-Work) <michael.habbert@key-work.de<mailto:michael.habbert@key-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_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_
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 Light";
	panose-1:2 15 3 2 2 2 4 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:99;
	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;
	font-weight:normal;}
h3
	{mso-style-priority:99;
	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;
	font-weight:normal;}
h4
	{mso-style-priority:99;
	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;
	font-weight:normal;}
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.Heading2Char
	{mso-style-name:"Heading 2 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 2";
	font-weight:bold;}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 3";
	font-weight:bold;}
span.Heading4Char
	{mso-style-name:"Heading 4 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 4";
	font-weight:bold;}
p.berschrift2, li.berschrift2, div.berschrift2
	{mso-style-name:"=DCberschrift 2";
	mso-style-link:"=DCberschrift 2 Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
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;}
p.berschrift3, li.berschrift3, div.berschrift3
	{mso-style-name:"=DCberschrift 3";
	mso-style-link:"=DCberschrift 3 Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	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;}
p.berschrift4, li.berschrift4, div.berschrift4
	{mso-style-name:"=DCberschrift 4";
	mso-style-link:"=DCberschrift 4 Zchn";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	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.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle28
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle29
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle30
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.location
	{mso-style-name:location;}
span.EmailStyle33
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle35
	{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"EN-GB" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB">Michael,<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB"><o:p>&nbsp;</o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB">Thank you very much for pointing this out, I had almost dumped an =
entire day into trying to fix this. I have the updated htmlunit files to 2.=
5 and so far it&#8217;s cured the problem.
<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB"><o:p>&nbsp;</o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB">Massive thanks for all your help.<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB"><o:p>&nbsp;</o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB">Adrian<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB"><o:p>&nbsp;</o:p></span></b></p>
<p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=3D"mso-fareast-languag=
e:EN-GB"><o:p>&nbsp;</o:p></span></b></p>
<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"> webtest-admin@lists.canoo.com [mailto:webtest-admin@lists.canoo.co=
m]
<b>On Behalf Of </b>Habbert, Michael (Key-Work)<br>
<b>Sent:</b> 10 September 2015 08:36<br>
<b>To:</b> webtest@lists.canoo.com<br>
<b>Subject:</b> [Webtest] AW: Help needed with invoke<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">Dear Adria=
n,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">Please hav=
e a look at:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><a href=3D=
"http://comments.gmane.org/gmane.comp.web.canoo.webtest/9604">http://commen=
ts.gmane.org/gmane.comp.web.canoo.webtest/9604</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">So you are=
 not alone ;-/<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">The JavaSc=
ript-support of webtests is done by htmlunit:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><a href=3D=
"http://htmlunit.sourceforge.net/changes-report.html">http://htmlunit.sourc=
eforge.net/changes-report.html</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">Since html=
unit-2.5 the method: getElementsByClassName is supported.<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">But unfort=
unately my lokal webtest-installation uses htmlunit version 2.3.<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">So from my=
 point of view &#8211; you are doomed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">The migrat=
ion 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 lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">With kind =
regards<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D">Michael Ha=
bbert<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE" style=3D"color:#1F497D"><o:p>&nbsp=
;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"DE"><o:p>&nbsp;</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"DE" style=3D"mso-fareast-language:D=
E">Von:</span></b><span lang=3D"DE" style=3D"mso-fareast-language:DE"> Adri=
an Durn [<a href=3D"mailto:adrian.durn@reassured.co.uk">mailto:adrian.durn@=
reassured.co.uk</a>]
<br>
<b>Gesendet:</b> Mittwoch, 9. September 2015 18:20<br>
<b>An:</b> <a href=3D"mailto:webtest@lists.canoo.com">webtest@lists.canoo.c=
om</a>; Habbert, Michael (Key-Work) &lt;<a href=3D"mailto:michael.habbert@k=
ey-work.de">michael.habbert@key-work.de</a>&gt;<br>
<b>Betreff:</b> RE: Help needed with invoke<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><span lang=3D"DE"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Hi Michael,<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">Below is the test and =
result of said test. Under resulting page it is displaying the page I am ex=
pecting to be displayed.
<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 system is built up=
on cakephp and has URL rerouting based on the controller used.
<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">Localdev is simply poi=
nting to 127.0.0.1 and the appropriate webroot, I can browse to localdev fr=
om a browser fine.<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">Just being able to inv=
oke and skipping the pass check would be ideal at this point.<o:p></o:p></s=
pan></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">Is this enough?<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">Adrian<o:p></o:p></spa=
n></p>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span s=
tyle=3D"font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#76=
8BC2;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></b></h4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &lt;webtest name=3D&quot;Find Test CRM&quot;&gt;<o:p></o:p></span></h4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;config browser=3D&quot;firefox3&=
quot; haltonfailure=3D&quot;false&quot; failureproperty=3D&quot;true&quot; =
host=3D&quot;localdev&quot; port=3D&quot;80&quot;/&gt;<o:p></o:p></span></h=
4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;steps&gt;<o:p></o:p></span></h4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/steps&gt;<o:p></o:p></span></h4=
>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span styl=
e=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-langu=
age:EN-GB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &lt;/webtest&gt;<o:p></o:p></span></h4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span s=
tyle=3D"font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#76=
8BC2;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></b></h4>
<h4 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span s=
tyle=3D"font-size:12.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#76=
8BC2;mso-fareast-language:EN-GB"><img border=3D"0" width=3D"10" height=3D"1=
0" id=3D"_x0000_i1033" src=3D"cid:image001.gif@01D0EBA8.7CBB09D0" alt=3D"x"=
>&nbsp;Find
 Test CRM<o:p></o:p></span></b></h4>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,sans-serif;color:black">Test started at Wed Sep 09 17:08:57 BST 2=
015, lasting 891 ms.<br>
Source:<span class=3D"apple-converted-space">&nbsp;</span></span><span clas=
s=3D"location"><span style=3D"font-size:10.0pt;font-family:&quot;Courier Ne=
w&quot;;color:black">c:\myWebTestProject\tests\CRMdevtest.xml:9:</span></sp=
an><span class=3D"apple-converted-space"><span style=3D"font-size:10.0pt;fo=
nt-family:&quot;Courier New&quot;;color:black">&nbsp;</span></span><span st=
yle=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:blac=
k"><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"_x0000_i1034" src=3D"cid:image001.gif@01D0EBA8.7CBB09D0" alt=3D"x"><=
/span><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-se=
rif;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"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;orphans: au=
to;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0=
px">
<a name=3D"error1"><b><span style=3D"font-size:18.0pt;font-family:&quot;Ari=
al&quot;,sans-serif;color:#768BC2;mso-fareast-language:EN-GB">Error</span><=
/b></a><b><span style=3D"font-size:18.0pt;font-family:&quot;Arial&quot;,san=
s-serif;color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></b></h2>
<h3 style=3D"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;orphans: au=
to;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0=
px">
<b><span style=3D"font-size:13.5pt;font-family:&quot;Arial&quot;,sans-serif=
;color:black;mso-fareast-language:EN-GB">Message<o:p></o:p></span></b></h3>
<p style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-wi=
dth: 0px;word-spacing:0px">
<span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;co=
lor: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"mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;orphans: au=
to;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0=
px">
<b><span style=3D"font-size:13.5pt;font-family:&quot;Arial&quot;,sans-serif=
;color:black;mso-fareast-language:EN-GB">Location<o:p></o:p></span></b></h3=
>
<p style=3D"orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-wi=
dth: 0px;word-spacing:0px">
<span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;co=
lor:black">c:\myWebTestProject\tests\CRMdevtest.xml (line: 12)<o:p></o:p></=
span></p>
<p><b><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-se=
rif;color:#8497B0">Page source looks like:<o:p></o:p></span></b></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif=
;color:black"><o:p>&nbsp;</o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r: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/xhtml1-transitio=
nal.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>&quot;&=
gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&lt;html xmlns=3D&quot;<a href=3D"http://www.w3.org/1999/xhtml">ht=
tp://www.w3.org/1999/xhtml</a>&quot;&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&lt;head&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&nbsp;&nbsp;&nbsp; &lt;meta http-equiv=3D&quot;Content-Type&quot; =
content=3D&quot;text/html; charset=3Dutf-8&quot; /&gt;&nbsp;&nbsp;&nbsp; &l=
t;title&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CRM Development:<o:p></=
o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Users&nbsp;&nbsp;&nbsp;=
 &lt;/title&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&nbsp;&nbsp;&nbsp; &lt;!-- CRM VERSION: 5.17.2 --&gt;<o:p></o:p></=
span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&nbsp;&nbsp;&nbsp; &lt;CSS stuff /&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black">&lt;/head&gt;<o:p></o:p></span></p>
<p><span style=3D"font-size:10.0pt;font-family:&quot;Courier New&quot;;colo=
r:black"><o:p>&nbsp;</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>
<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"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:black">Hi Adrian,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:black">Please provide an exampl=
e and a complete stacktrace. Its much easier to help so.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:black">Cheers<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:black">Michael Habbert<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:black"><o:p>&nbsp;</o:p></span>=
</p>
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I am in desperate need of help with Webtest. It pote=
ntially will save me a lot of trouble and is almost perfect for what I need=
 it to do, however, I am having trouble using the Invoke step.<o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">After invoking a page the test is failing, this happ=
ens constantly, regardless of the whether pointing local, test or live. The=
 page is loading properly, I can see in the test results page that it is di=
splaying correctly. Is there a way
 of of forcing the invoke stage to come back as green?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Adrian Durn<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><span lang=3D"DE" 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><span lang=3D"D=
E"><o:p></o:p></span></p>
</div>
</div>
</body>
</html>

--_000_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_--

--_004_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_
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 08:10:08 GMT";
	modification-date="Thu, 10 Sep 2015 08:10:08 GMT"
Content-ID: <image001.gif@01D0EBA8.7CBB09D0>
Content-Transfer-Encoding: base64

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

--_004_8c824b5322df42fcbeed5da2793121f5RAEXCH1reassurednet_--