[Webtest] [webtest][JIRA] Closed: (WT-156) <a> with href="#"

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 18 May 2006 22:02:28 +0200 (CEST)


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

    Resolution: Invalid
     Assign To: Marc Guillemot

user seem to have found the solution for his problem

> <a> with href="#"
> -----------------
>
>          Key: WT-156
>          URL: http://webtest-community.canoo.com/jira/browse/WT-156
>      Project: WebTest
>         Type: Bug

>     Versions: 2.0
>  Environment: Windows XP, JDK 1.4, Websphere 5.1
>     Reporter: Jonathan Whitall
>     Assignee: Marc Guillemot

>
> I'm trying to test a web page's form submission (whose HTML I cannot change), and it uses this style of form submission:
> <a href="#" onclick="document.searchForm.submit();"><img src="search.gif" alt="Search" /></a>
> I tried using <clickLink> to submit the form, but that doesn't appear to be working... i.e. <clickLink> doesn't trigger the the onclick event, or the '#' URL is overriding the JavaScript.
> Assuming that I cannot change this HTML page, is there a better way to do this, or is this unintended behavior?

-- 
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