Hi How to handle the applets using canoo and how to integrate that functionality to test. Has anyone run into this and found a work around? If so, your help would be greatly appreciated.
Thanks, Ravinder -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, February 07, 2008 2:30 PM To: [email protected] Subject: WebTest digest, Vol 1 #2179 - 6 msgs Send WebTest mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.canoo.com/mailman/listinfo/webtest or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of WebTest digest..." Today's Topics: 1. Trying to get Webtest to run on pages with document.execCommand() (George Policello) 2. Handling of javascript Pop_up in canoo (Ravinder Kankanala) 3. Re: another javascript error (Test BCN) 4. Re: Handling of javascript Pop_up in canoo (Marc Guillemot) 5. Re: Trying to get Webtest to run on pages with document.execCommand() (Marc Guillemot) 6. Re: Boost your WebTest: simply run them in parallel (Marc Guillemot) --__--__-- Message: 1 Date: Wed, 6 Feb 2008 14:48:52 -0800 From: "George Policello" <[EMAIL PROTECTED]> To: <[email protected]> Subject: [Webtest] Trying to get Webtest to run on pages with document.execCommand() Reply-To: [email protected] Reply-To: "George Policello" <[EMAIL PROTECTED]> This is a multi-part message in MIME format. ------_=_NextPart_001_01C86912.725F609A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am trying to get Webtest to run on pages that contain the unofficial JavaScript command document.execCommand(). That command is supported by Firefox and IE and appears within JavaScript Tags on quite a few web pages. There is no way around having to go to pages that contain this construct (document.execCommand()), so only going to pages that do not contain the construct is not an option. =20 I also checked for commentary on the Rhino sites but found nothing. I would be happy to have a setting for Webtest or Rhino that takes care of this. =20 I picked a public web site to try what I knew contained reasonably complicate content. The Webtest tests fail with the following messages. The green italics is the target page that includes the fndHome.js with the document.execCommand() in it. Of course, color coding this does not help unless one is using HTML for email. =20 JavaScript error loading page http://products.vzw.com/index.aspx?id=3Dsearch_games&appSearchParentCateg= o ryId=3D247 <http://products.vzw.com/index.aspx?id=3Dsearch_games&appSearchParentCate= g oryId=3D247> : TypeError: Cannot find function execCommand. (http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45)=20 =20 In the Details part of the results page I got this message and the full text of the JavaScript from fndHome.js. =20 javascript errorTypeError: Cannot find function execCommand. (http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45) line 45 =20 So Webtest loaded the page and the included fndHome.js page fine but dies on the missing document.execCommand() capability. =20 Given the green link above, and a reasonable JavaScript debugger (in Firefox, say the WebDeveloper package), it is easy to see the full text of fndHome.js. I did not include it here but anyone that wants me to send a copy can ask and I will send it. =20 Has anyone run into this and found a work around? If so, your help would be greatly appreciated. George =20 ------_=_NextPart_001_01C86912.725F609A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I am trying to get Webtest to run on pages that = contain the unofficial JavaScript command <i><span = style=3D'font-style:italic'>document.execCommand()</span></i>. That command is supported by Firefox and IE and appears within = JavaScript Tags on quite a few web pages. There is no way around having to go to pages that contain this construct (<i><span = style=3D'font-style:italic'>document.execCommand()</span></i>), so only going to pages that do not contain the construct is not an = option.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I also checked for commentary on the Rhino sites but = found nothing. I would be happy to have a setting for Webtest or Rhino that = takes care of this.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I picked a public web site to try what I knew = contained reasonably complicate content. The Webtest tests fail with the following messages. The <b><i><font color=3Dgreen><span = style=3D'color:green;font-weight: bold;font-style:italic'>green italics</span></font></i></b> is the = target page that includes the <b><i><font color=3Dblue><span = style=3D'color:blue;font-weight: bold;font-style:italic'>fndHome.js</span></font></i></b> with the = <i><span style=3D'font-style:italic'>document.execCommand() </span></i>in it. Of = course, color coding this does not help unless one is using HTML for = email.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <div style=3D'mso-element:para-border-div;border-top:double windowtext = 2.25pt; border-left:none;border-bottom:double windowtext = 2.25pt;border-right:none; padding:1.0pt 0in 1.0pt 0in'> <p class=3DMsoNormal style=3D'border:none;padding:0in'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>JavaScript = error loading page <b><i><font color=3Dgreen><span = style=3D'color:green;font-weight:bold; font-style:italic'><a href=3D"http://products.vzw.com/index.aspx?id=3Dsearch_games&appSearc= hParentCategoryId=3D247"><font color=3Dgreen><span = style=3D'color:green'>http://products.vzw.com/index.aspx?id=3Dsearch_game= s&appSearchParentCategoryId=3D247</span></font></a></span></font> </i></b>: TypeError: Cannot find function execCommand. (<a href=3D"http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45">http:/= /cache.getitnow.edgesuite.net/scripts/fndHome.js#45</a>)</span></font><fo= nt size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> = <o:p></o:p></span></font></p> </div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>In the Details part of the results page I got this = message and the full text of the JavaScript from <b><i><font color=3Dblue><span style=3D'color:blue;font-weight:bold;font-style:italic'>fndHome.js</span>= </font></i></b>.<o:p></o:p></span></font></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:double = windowtext 2.25pt; padding:0in 0in 1.0pt 0in'> <p class=3DMsoNormal style=3D'border:none;padding:0in'><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></fo= nt></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'>javascript errorTypeError: Cannot find function execCommand. (<a href=3D"http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45">http:/= /cache.getitnow.edgesuite.net/scripts/fndHome.js#45</a>)<o:p></o:p></span= ></font></p> <div = style=3D'mso-element:para-border-div;border:none;border-bottom:double = windowtext 2.25pt; padding:0in 0in 1.0pt 0in'> <p class=3DMsoNormal style=3D'border:none;padding:0in'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>line = 45</span></font><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > </div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>So Webtest loaded the page and the included = </span></font><b><i><font size=3D2 color=3Dblue face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial; color:blue;font-weight:bold;font-style:italic'>fndHome.js</span></font></= i></b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> page fine but dies on the missing <i><span = style=3D'font-style:italic'>document.execCommand()</span></i> capability.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Given the <b><i><font color=3Dgreen><span = style=3D'color:green; font-weight:bold;font-style:italic'>green link</span></font></i></b> = above, and a reasonable JavaScript debugger (in Firefox, say the WebDeveloper = package), it is easy to see the full text of <b><i><font color=3Dblue><span = style=3D'color:blue; font-weight:bold;font-style:italic'>fndHome.js</span></font></i></b>. I = did not include it here but anyone that wants me to send a copy can ask and I = will send it.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Has anyone run into this and found a work around? If = so, your help would be greatly appreciated.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>George<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C86912.725F609A-- --__--__-- Message: 2 From: "Ravinder Kankanala" <[EMAIL PROTECTED]> To: <[email protected]>, <[email protected]> Subject: [Webtest] Handling of javascript Pop_up in canoo Date: Thu, 7 Feb 2008 12:36:18 +0530 Reply-To: [email protected] Reply-To: "Ravinder Kankanala" <[EMAIL PROTECTED]> Hi , I am currently using canoo on a java web application. It is not working when it comes to JavaScript pop-up. Actually, href link make call to a pop-up window which appears in the same browser in a same window. These pop-up contains text fields and buttons which needs to be filled and saved. Does canoo offer any support for those kind of window and if yes how?? Thanks Ravinder reddy DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. --__--__-- Message: 3 Date: Thu, 7 Feb 2008 09:05:52 +0100 From: "Test BCN" <[EMAIL PROTECTED]> To: [email protected], "Florent Blondeau" <[EMAIL PROTECTED]> Subject: Re: [Webtest] another javascript error Reply-To: [email protected] Reply-To: "Test BCN" <[EMAIL PROTECTED]> ------=_Part_18085_16187861.1202371552301 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for your answer. I will ask the development team to take a look at it. As far as I can see, I see that the function ValidarFormulario() is out of the comments and not inside, so I don't really get it. On Feb 6, 2008 3:35 PM, Florent Blondeau <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure it's really an error, and surely a htmlunit Guru (Marc ?) ca= n > answer better than me, but your > html is formatted a way that seems too weird to me to be well understood > by htmlunit. > > <HTML> > <!-- ASP Stuff --> > </HTML> > > <SCRIPT language=3D"JavaScript"> > =09=09<!--// > =09=09 > =09=09//other functions > =09=09 > =09=09function ValidarFormulario() > =09=09{=09=09=09 > =09=09=09//inner stuff > =09=09 > =09=09} > // no "// -->" end of javascript-style comment > > </SCRIPT> > > <DIV></DIV> > > That could be a reason for which Webtest doesn't find the Javascript > function ValidarFormulario()... > > Hope that's not stupid and that could help > > Florent > > Pingwy > 27, rue des ar=E8nes > 49100 Angers > > > > Test BCN a =E9crit : > > I've just started with webtest, and I could make some simple tests, but > when it comes to more deep tests, just trying to logon, I always bump ont= o > javascript errors,... > > Is it because I don't know how it works, or because it's not supported? > What can I do? > > It is saying that a function is not defined, but I can see it in the page= . > > JavaScript error loading page > http://www.laboris.net/Laborislogin.aspx?ReturnUrl=3D%2fCandidato%2fCandi= dato-AreaPersonal.aspx: > ReferenceError: "ValidarFormulario" is not defined. (onclick event for > HtmlButtonInput[<input name=3D"btnEntrar_div_en" id=3D"btnEntrar_div_en" > type=3D"button" class=3D"submit" style=3D"width:55px;height:20px;cursor:p= ointer;" > value=3D"Entrar" > onclick=3D"EnabledRndButton('btnEntrar',false);if(!ValidarFormu= lario()){return > false;};__doPostBack('btnEntrar','');">]#1) > Location > > C:\software\Laboris\tests\Usuario\loginUsuario.xml (line: 15) > Details javascript error ReferenceError: "ValidarFormulario" is not > defined. (onclick event for HtmlButtonInput[<input name=3D"btnEntrar_div_= en" > id=3D"btnEntrar_div_en" type=3D"button" class=3D"submit" > style=3D"width:55px;height:20px;cursor:pointer;" value=3D"Entrar" > onclick=3D"EnabledRndButton('btnEntrar',false);if(!ValidarFormu= lario()){return > false;};__doPostBack('btnEntrar','');">]#1) line 1 = javascript > source function () { [native code, arity=3D0] } failing line function ()= { javascript > call stack ReferenceError: "ValidarFormulario" is not defined. (onclick > event for HtmlButtonInput[<input name=3D"btnEntrar_div_en" > id=3D"btnEntrar_div_en" type=3D"button" class=3D"submit" > style=3D"width:55px;height:20px;cursor:pointer;" value=3D"Entrar" > onclick=3D"EnabledRndButton('btnEntrar',false);if(!ValidarFormu= lario()){return > false;};__doPostBack('btnEntrar','');">]#1) at (oncli= ck > event for HtmlButtonInput[<input name=3D"btnEntrar_div_en" > id=3D"btnEntrar_div_en" type=3D"button" class=3D"submit" > style=3D"width:55px;height:20px;cursor:pointer;" value=3D"Entrar" > onclick=3D"EnabledRndButton('btnEntrar',false);if(!ValidarFormu= lario()){return > false;};__doPostBack('btnEntrar','');">]:1) > > ------=_Part_18085_16187861.1202371552301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for your answer. I will ask the development team to take a look at i= t. As far as I can see, I see that the function <br><pre> ValidarFormulario= ()</pre> is out of the comments and not inside, so I don't really get i= t.<br> <br><br><div class=3D"gmail_quote">On Feb 6, 2008 3:35 PM, Florent Blondeau= <<a href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a>> w= rote:<br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid = rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> =20 <div bgcolor=3D"#ffffff" text=3D"#000000"> Hi,<br> <br> I'm not sure it's really an error, and surely a htmlunit Guru (Marc= ?) can answer better than me, but your <br> html is formatted a way that seems too weird to me to be well understood by htmlunit.<br> <pre><HTML> <!-- ASP Stuff --> </<span>HTML</span>> <<span>SCRIPT</span><span> language</span>=3D<span>"JavaScript"= ;</span>> =09=09<!--// =20 =09=09 =09=09//other functions =09=09 =09=09function ValidarFormulario() =09=09{=09=09=09 =09=09=09//inner stuff =09=09 =09=09} // no "// -->" end of javascript-style comment </<span>SCRIPT</span>> </pre> <pre><<span>DIV</span>></<span>DIV</span>> </pre> That could be a reason for which Webtest doesn't find the Javascript function ValidarFormulario()...<br> <br> Hope that's not stupid and that could help<br> <br> Florent<br> <pre cols=3D"72">Pingwy 27, rue des ar=E8nes 49100 Angers </pre> <br> <br> Test BCN a =E9crit : <div><div></div><div class=3D"Wj3C7c"><blockquote type=3D"cite">I've ju= st started with webtest, and I could make some simple tests, but when it comes to more deep tests, just trying to logon, I always bump onto javascript errors,...<br> <br> Is it because I don't know how it works, or because it's not suppor= ted? What can I do?<br> <br> It is saying that a function is not defined, but I can see it in the page.<br> <br> <p>JavaScript error loading page <a href=3D"http://www.laboris.net/Laborislogin.aspx?ReturnUrl=3D%2fCandid= ato%2fCandidato-AreaPersonal.aspx" target=3D"_blank">http://www.laboris.net= /Laborislogin.aspx?ReturnUrl=3D%2fCandidato%2fCandidato-AreaPersonal.aspx</= a>: ReferenceError: "ValidarFormulario" is not defined. (onclick even= t for HtmlButtonInput[<input name=3D"btnEntrar_div_en" id=3D"bt= nEntrar_div_en" type=3D"button" class=3D"submit" style=3D"width:55px;height:20px;cursor:pointer;" value=3D"En= trar" onclick=3D"EnabledRndButton(&apos;btnEntrar&apos;,false);if(!V= alidarFormulario()){return false;};__doPostBack(&apos;btnEntrar&apos;,&apos;&apos;);&q= uot;>]#1)</p> <h3>Location</h3> <p>C:\software\Laboris\tests\Usuario\loginUsuario.xml (line: 15)</p> <h3>Details</h3> <table> <tbody> <tr> <td>javascript error</td> <td>ReferenceError: "ValidarFormulario" is not defined. (onclick event for HtmlButtonInput[<input name=3D"btnEntrar_div_en" id=3D"bt= nEntrar_div_en" type=3D"button" class=3D"submit" style=3D"width:55px;height:20px;cursor:pointer;" value=3D"En= trar" onclick=3D"EnabledRndButton(&apos;btnEntrar&apos;,false);if(!V= alidarFormulario()){return false;};__doPostBack(&apos;btnEntrar&apos;,&apos;&apos;);&q= uot;>]#1)</td> </tr> <tr> <td>line</td> <td>1</td> </tr> <tr> <td>javascript source</td> <td>function () { [native code, arity=3D0] } </td> </tr> <tr> <td>failing line</td> <td>function () {</td> </tr> <tr> <td>javascript call stack</td> <td>ReferenceError: "ValidarFormulario" is not defined. (onclick event for HtmlButtonInput[<input name=3D"btnEntrar_div_en" id=3D"bt= nEntrar_div_en" type=3D"button" class=3D"submit" style=3D"width:55px;height:20px;cursor:pointer;" value=3D"En= trar" onclick=3D"EnabledRndButton(&apos;btnEntrar&apos;,false);if(!V= alidarFormulario()){return false;};__doPostBack(&apos;btnEntrar&apos;,&apos;&apos;);&q= uot;>]#1) at (onclick event for HtmlButtonInput[<input name=3D"btnEntrar_div_= en" id=3D"btnEntrar_div_en" type=3D"button" class=3D"s= ubmit" style=3D"width:55px;height:20px;cursor:pointer;" value=3D"En= trar" onclick=3D"EnabledRndButton(&apos;btnEntrar&apos;,false);if(!V= alidarFormulario()){return false;};__doPostBack(&apos;btnEntrar&apos;,&apos;&apos;);&q= uot;>]:1)</td> </tr> </tbody> </table> <br> </blockquote> </div></div></div> </blockquote></div><br> ------=_Part_18085_16187861.1202371552301-- --__--__-- Message: 4 Date: Thu, 07 Feb 2008 09:20:46 +0100 From: Marc Guillemot <[EMAIL PROTECTED]> To: [email protected] Subject: Re: [Webtest] Handling of javascript Pop_up in canoo Reply-To: [email protected] Reply-To: Marc Guillemot <[EMAIL PROTECTED]> Hi, normally it should be transparently handled i.e. you should just be able to make the actions you want in the pop up. Cheers, Marc. -- Blog: http://mguillem.wordpress.com Ravinder Kankanala wrote: > Hi , > > I am currently using canoo on a java web application. It is not working > when it comes to JavaScript pop-up. Actually, href link make call to > a pop-up window which appears in the same browser in a same window. > These pop-up contains text fields and buttons which needs to be filled and > saved. > > Does canoo offer any support for those kind of window and if yes > how?? > > Thanks > Ravinder reddy > > > DISCLAIMER > ========== > This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > --__--__-- Message: 5 Date: Thu, 07 Feb 2008 09:51:42 +0100 From: Marc Guillemot <[EMAIL PROTECTED]> To: [email protected] Subject: Re: [Webtest] Trying to get Webtest to run on pages with document.execCommand() Reply-To: [email protected] Reply-To: Marc Guillemot <[EMAIL PROTECTED]> Hi, the support for execCommand needs to be added in HtmlUnit. Can you please open an issue there? In the mean time, if what is done in design mode (ie the execCommand) doesn't matter, you can turn js error detection to false when your test loads pages using execCommand. Cheers, Marc. -- Blog: http://mguillem.wordpress.com George Policello wrote: > I am trying to get Webtest to run on pages that contain the unofficial > JavaScript command /document.execCommand()/. That command is supported > by Firefox and IE and appears within JavaScript Tags on quite a few web > pages. There is no way around having to go to pages that contain this > construct (/document.execCommand()/), so only going to pages that do not > contain the construct is not an option. > > > > I also checked for commentary on the Rhino sites but found nothing. I > would be happy to have a setting for Webtest or Rhino that takes care of > this. > > > > I picked a public web site to try what I knew contained reasonably > complicate content. The Webtest tests fail with the following messages. > The */green italics/* is the target page that includes the > */fndHome.js/* with the /document.execCommand() /in it. Of course, color > coding this does not help unless one is using HTML for email. > > > > JavaScript error loading page > */http://products.vzw.com/index.aspx?id=search_games&appSearchParentCategory Id=247 > <http://products.vzw.com/index.aspx?id=search_games&appSearchParentCategoryI d=247> > /*: TypeError: Cannot find function execCommand. > (http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45) > > > > In the Details part of the results page I got this message and the full > text of the JavaScript from */fndHome.js/*. > > > > javascript errorTypeError: Cannot find function execCommand. > (http://cache.getitnow.edgesuite.net/scripts/fndHome.js#45) > > line 45 > > > > So Webtest loaded the page and the included */fndHome.js/* page fine but > dies on the missing /document.execCommand()/ capability. > > > > Given the */green link/* above, and a reasonable JavaScript debugger (in > Firefox, say the WebDeveloper package), it is easy to see the full text > of */fndHome.js/*. I did not include it here but anyone that wants me to > send a copy can ask and I will send it. > > > > Has anyone run into this and found a work around? If so, your help would > be greatly appreciated. > > George > > > --__--__-- Message: 6 Date: Thu, 07 Feb 2008 10:01:06 +0100 From: Marc Guillemot <[EMAIL PROTECTED]> To: [email protected] Subject: Re: [Webtest] Boost your WebTest: simply run them in parallel Reply-To: [email protected] Reply-To: Marc Guillemot <[EMAIL PROTECTED]> Hi Andrew, dependency management would be the next step. How fast it will come will depend from my side if I have a customer interested in this feature or if I implement it in my free time. I imagine that 80% of the dependency configuration could be handled very easily with some conventions (for instance using special names for some Ant properties). Update: a former client for which I implemented a slightly modified version of this feature to run tests in parallel (particularly with a small dependency management) just notified me that they finally used it with even better results than expected: using 8 worker threads the tests execution time has been cut down by more than 75% (~1 1/2 hours compared to ~6 hours). Cheers, Marc. -- Blog: http://mguillem.wordpress.com Andrew Ryan wrote: > This sounds cool. I notice dependencies aren't handled yet, but I don't > need full-blown dependencies. In my case, and I suspect this is fairly > normal, I have: > 1) certain tests in my suite which have to be executed in a certain > order, and > 2) certain tests which don't care which order they are run in or when > > I could easily parallelize the second group of tests, but not the first > group. And in the first group, I have subgroups of use cases which could > be run in parallel. Any increase in testing speed would be appreciated, > especially the week before a release :) > > --andrew > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > --__--__-- _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest End of WebTest Digest DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

