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

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Thu, 24 Jul 2008 14:56:15 +0200


???

for me a link is simply <a href="...">,,,</a>. Do you understand
something else with "link" in an html page?

Marc.
-- 
Blog: http://mguillem.wordpress.com


david.cate@wachovia.com wrote:
> 
> 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
>