AW: Help needed with invoke
"Habbert, Michael (Key-Work)" <[email protected]> Thu, 10 Sep 2015 07:36:17 +0000
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <[email protected]> |
--_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:[email protected]] Gesendet: Mittwoch, 9. September 2015 18:20 An: [email protected]; 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: [email protected]<mailto:[email protected]> [= mailto:[email protected]] On Behalf Of Habbert, Michael (Key-Wo= rk) Sent: 09 September 2015 12:55 To: [email protected]<mailto:[email protected]> 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: [email protected]<mailto:michael= [email protected]> | 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> </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> </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> </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> </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> </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> </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> </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> </o:p></spa= n></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D">So from my point of vi= ew – 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> </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> </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> </o:p></spa= n></p> <p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p> </o:p></spa= n></p> <p class=3D"MsoNormal"><o:p> </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= [email protected]] <br> <b>Gesendet:</b> Mittwoch, 9. September 2015 18:20<br> <b>An:</b> [email protected]; Habbert, Michael (Key-Work) <michael= [email protected]><br> <b>Betreff:</b> RE: Help needed with invoke<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </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:"Arial",sans-serif;= color:#768BC2"><o:p> </o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; <webtest name=3D"Find Test CRM"><o:= p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; <config brow= ser=3D"firefox3" haltonfailure=3D"false" failurepropert= y=3D"true" host=3D"localdev" port=3D"80"/>= <o:p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; <steps><o= :p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; &nbs= p; <invoke url=3D"/users/login" description= =3D"Invoke local CRM" /><o:p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; </steps><= o:p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courie= r New";font-weight:normal"> &= nbsp; </webtest><o:p></o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-family:"Arial",sans-serif;= color:#768BC2"><o:p> </o:p></span></h4> <h4><span lang=3D"EN-GB" style=3D"font-family:"Arial",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-8/[email protected]" alt=3D"x"> 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:"Arial",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"> </span></span><span clas= s=3D"location"><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:&= quot;Courier New";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:"Courier New";color:black= "> </span></span><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-f= amily:"Arial",sans-serif;color:black"><br> Base URL (used by<span class=3D"apple-converted-space"> </span><b>invo= ke</b><span class=3D"apple-converted-space"> </span>steps with a relat= ive URL):<span class=3D"apple-converted-space"> </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:"Arial",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:"Arial",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:"Arial",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:"Arial",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:"Arial",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:"= ;Arial",sans-serif;color:black"> 1</span></b><span style=3D"font= -size:10.0pt;font-family:"Arial",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:"Arial",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-8/[email protected]" alt=3D"x= "></span><span style=3D"font-size:10.0pt;font-family:"Arial",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= "> </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:"= ;Arial",sans-serif;color:black">invoke</span></b><span class=3D"apple-= converted-space"><span style=3D"font-size:10.0pt;font-family:"Arial&qu= ot;,sans-serif;color:black"> </span></span><span style=3D"font-size:10= .0pt;font-family:"Arial",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+mouse over: preview floating over this page, C= trl+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>-> complete url</b><b><span style=3D"font-size= :12.0pt;font-family:"Times New Roman",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:"Arial",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:"Arial&qu= ot;,sans-serif;color:#768BC2">Error</span></a><span lang=3D"EN-GB" style=3D= "font-family:"Arial",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:"Arial",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:"Arial"= ;,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:"Arial",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:"Arial"= ;,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:"Aria= l",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:"Arial&q= uot;,sans-serif;color:black"><o:p> </o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.= 0 Transitional//EN" "<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>"><o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"><html xmlns=3D"<a href=3D"http://www.w3.org= /1999/xhtml">http://www.w3.org/1999/xhtml</a>"><o:p></o:p></span></= p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"><head><o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"> <meta http-equiv=3D"Cont= ent-Type" content=3D"text/html; charset=3Dutf-8" /> = <title><o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"> CRM Deve= lopment:<o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"> Users&nb= sp; </title><o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"> <!-- 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:"Courier= New";color:black"> <CSS stuff /><o:p></o:p></= span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"></head><o:p></o:p></span></p> <p><span lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:"Courier= New";color:black"><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"><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:[email protected]">[email protected]= com</a> [<a href=3D"mailto:[email protected]">mailto:webtest-ad= [email protected]</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:[email protected]">[email protected]= 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> </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> </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> </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> </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"> <br> <br> <strong><span style=3D"font-family:"Calibri",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: +49-721-78203-269 | E-Mail: <a href=3D"mailto:michael.habbert@key-= work.de">[email protected]</a> | Fax: +49-721-78203-10 <br> <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-8/[email protected]> Content-Transfer-Encoding: base64 R0lGODlhCgAKAMT/AP////+9vf+3t/+1tf+trf+pqf+fn/+Tk/9/f/95ef91df90dP9zc/9ycv9t bf9lZf9kZP9iYv9ZWf9XV/9SUv9FRf85Of82Nv81Nf8yMv8xMf8oKP8ZGf8LCwAAAMDAwCH5BAEA AB8ALAAAAAAKAAoAQAUz4CeOomAqAilcwbh2E2lUSKpc6Sc4FiFYktHDQFJMcoTL44ZQOTgc1Ogw aemUuhwpIAgBADs= --_004_9804ff4099994a5a998c0217d845c21cEX4officekeyworkde_--