[Webtest] [webtest][JIRA] Created: (WT-56) SubmitButton with onclick not work

Serge Maslyukov (JIRA) webtest@lists.canoo.com
Thu, 30 Jun 2005 12:50:03 +0200 (CEST)


SubmitButton with onclick not work
----------------------------------

         Key: WT-56
         URL: http://webtest-community.canoo.com/jira/browse/WT-56
     Project: WebTest
        Type: Bug
    Versions: 1.7    
    Reporter: Serge Maslyukov
 Attachments: onclick-test.html, result.html

SubmitButton with onclick not work. 
HTML page for reproduce error is attached.


sample webtest script:
    <target name="onclick-test">
        <echo message="Start"/>
        <antcall target="prepare-clean"/>
        <testSpec name="myTest">
            <config
                host="${host-name}"
                protocol="http"
                port="${server-port}"
                basepath=""
                saveresponse="true"
                resultpath="${build-webtest-result.dir}"
                showhtmlparseroutput="true"
                autorefresh=""

                >
                <header name="User-Agent" value="${user-agent}"/>
                <header name="Accept-Language" value="${accept-language}"/>
            </config>
            <steps description="Test task list">
                <invoke stepid="get start page" url="/test/onclick-test.html" save="login-"/>
                <clickbutton label="Add New Question" stepid="Add New Question" save="add-new-question-"/>
                <verifytext stepid="result page" text="result page"/>
            </steps>
        </testSpec>
    </target>


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