<a> with href="#"
-----------------

         Key: WT-156
         URL: http://webtest-community.canoo.com/jira/browse/WT-156
     Project: WebTest
        Type: Bug
    Versions: 1.7    
 Environment: Windows XP, JDK 1.4, Websphere 5.1
    Reporter: Jonathan Whitall


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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to