[Webtest] [webtest][JIRA] Closed: (WT-452) verifyLinks - exclude option doesnot function

david.cate@wachovia.com david.cate@wachovia.com
Thu, 24 Jul 2008 08:52:25 -0400


This is a multipart message in MIME format.
--=_alternative 0046B79F85257490_=
Content-Type: text/plain; charset="US-ASCII"

Ok, is there a list of things that are assumed not to be "links" - I 
assumed the standard definition of all URL was being used since anything 
can be linked




"Marc Guillemot (JIRA)" <noreply@canoo.com> 
Sent by: webtest-admin@gate4.canoo.com
07/24/2008 03:27 AM
Please respond to
webtest@gate4.canoo.com


To
webtest@gate4.canoo.com
cc

Subject
[Webtest] [webtest][JIRA] Closed: (WT-452) verifyLinks - exclude option 
doesnot function






     [ http://webtest-community.canoo.com/jira/browse/WT-452?page=all ]
 
Marc Guillemot closed WT-452:
-----------------------------

    Resolution: Invalid
     Assign To: Marc Guillemot

>From the doc for the excludes attribute: "If excludes is set then each 
link found is compared ..., if it matches then the link is not followed.". 
JS files aren't link (at least normally) therefore it doesn't apply for js 
files.

You can configure the options in Grails as well, have a look at the super 
class of your test and you'll see how it is setup and what you have to 
overwrite to configure it as you want.

Which version of the Grails-webtest plugin do you use? Normally 
prototype's drag & drop shouldn't cause any problem.

> verifyLinks - exclude option does not function
> ----------------------------------------------
>
>          Key: WT-452
>          URL: http://webtest-community.canoo.com/jira/browse/WT-452
>      Project: WebTest
>         Type: Bug

>     Versions: 2.6
>  Environment: Windows XP 2GB Ram , 30GB disk, JDK1.4 & JDK1.5, ANT 1.6.5
> Also fails on Tru64 32GB RAM, 4TB disk(s), HP JDK 1.4, ANT 1.6.5
>     Reporter: David Cate
>     Assignee: Marc Guillemot

>
> During invoking verifyLinks task, error message occurs based on 
Javascript file for script.aculo.us. 
> The link is 
http://127.0.0.1:7199/Statements/js/prototype/dragdrop.js#600
> I'm using XML in 1 branch and tried to exclude the file with 
"\\S*\\.js\\S*". I tested the regular expression and returned a true 
pattern match - but the task is not excluding the file. When I add 
> <config>
> <option name="ThrowExceptionOnScriptError" value="false" />
> </config>
> everything works fine.
> the primary branch of the project is written in GRAILS 1.0.2 and I would 
like to leverage the groovy power. However, the exclude doesn't work and 
access to the child element is unavailable. The Webtest.properties assumes 
the attributes of the config while the rest of the files assume a test 
level access with no access to the config modification that I can find.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest


--=_alternative 0046B79F85257490_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Ok, is there a list of things that are
assumed not to be &quot;links&quot; - I assumed the standard definition
of all URL was being used since anything can be linked</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Marc Guillemot (JIRA)&quot;
&lt;noreply@canoo.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: webtest-admin@gate4.canoo.com</font>
<p><font size=1 face="sans-serif">07/24/2008 03:27 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
webtest@gate4.canoo.com</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">webtest@gate4.canoo.com</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Webtest] [webtest][JIRA] Closed: (WT-452)
verifyLinks - exclude &nbsp; &nbsp; &nbsp; &nbsp; option doesnot
function</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>&nbsp; &nbsp; &nbsp;[ http://webtest-community.canoo.com/jira/browse/WT-452?page=all
]<br>
 &nbsp; &nbsp; <br>
Marc Guillemot closed WT-452:<br>
-----------------------------<br>
<br>
 &nbsp; &nbsp;Resolution: Invalid<br>
 &nbsp; &nbsp; Assign To: Marc Guillemot<br>
<br>
>From the doc for the excludes attribute: &quot;If excludes is set then
each link found is compared ..., if it matches then the link is not followed.&quot;.
JS files aren't link (at least normally) therefore it doesn't apply for
js files.<br>
<br>
You can configure the options in Grails as well, have a look at the super
class of your test and you'll see how it is setup and what you have to
overwrite to configure it as you want.<br>
<br>
Which version of the Grails-webtest plugin do you use? Normally prototype's
drag &amp; drop shouldn't cause any problem.<br>
<br>
&gt; verifyLinks - exclude option does not function<br>
&gt; ----------------------------------------------<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Key: WT-452<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;URL: http://webtest-community.canoo.com/jira/browse/WT-452<br>
&gt; &nbsp; &nbsp; &nbsp;Project: WebTest<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; Type: Bug<br>
<br>
&gt; &nbsp; &nbsp; Versions: 2.6<br>
&gt; &nbsp;Environment: Windows XP 2GB Ram , 30GB disk, JDK1.4 &amp; JDK1.5,
ANT 1.6.5<br>
&gt; Also fails on Tru64 32GB RAM, 4TB disk(s), HP JDK 1.4, ANT 1.6.5<br>
&gt; &nbsp; &nbsp; Reporter: David Cate<br>
&gt; &nbsp; &nbsp; Assignee: Marc Guillemot<br>
<br>
&gt;<br>
&gt; During invoking verifyLinks task, error message occurs based on Javascript
file for script.aculo.us. <br>
&gt; The link is http://127.0.0.1:7199/Statements/js/prototype/dragdrop.js#600<br>
&gt; I'm using XML in 1 branch and tried to exclude the file with &quot;\\S*\\.js\\S*&quot;.
I tested the regular expression and returned a true pattern match - but
the task is not excluding the file. When I add <br>
&gt; &lt;config&gt;<br>
&gt; &lt;option name=&quot;ThrowExceptionOnScriptError&quot; value=&quot;false&quot;
/&gt;<br>
&gt; &lt;/config&gt;<br>
&gt; everything works fine.<br>
&gt; the primary branch of the project is written in GRAILS 1.0.2 and I
would like to leverage the groovy power. However, the exclude doesn't work
and access to the child element is unavailable. The Webtest.properties
assumes the attributes of the config while the rest of the files assume
a test level access with no access to the config modification that I can
find.<br>
<br>
-- <br>
This message is automatically generated by JIRA.<br>
-<br>
If you think it was sent incorrectly contact one of the administrators:<br>
 &nbsp; http://webtest-community.canoo.com/jira/secure/Administrators.jspa<br>
-<br>
For more information on JIRA, see:<br>
 &nbsp; http://www.atlassian.com/software/jira<br>
<br>
_______________________________________________<br>
WebTest mailing list<br>
WebTest@lists.canoo.com<br>
http://lists.canoo.com/mailman/listinfo/webtest<br>
</tt></font>
<br>
--=_alternative 0046B79F85257490_=--