[Webtest] [webtest][JIRA] Closed: (WT-191) clickButton in CANOO Webtest 2.0

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 29 Jun 2006 08:28:31 +0200 (CEST)


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

    Resolution: Incomplete

No feedback received since a too long time. Closing. Please reopen if you can provide additional information.

> clickButton in CANOO Webtest 2.0
> --------------------------------
>
>          Key: WT-191
>          URL: http://webtest-community.canoo.com/jira/browse/WT-191
>      Project: WebTest
>         Type: Bug

>     Versions: 2.0
>  Environment: Linux (2.6.9-34.ELsmp #1 SMP Wed Mar 8 00:27:03 CST 2006 i686 i686 i386 GNU/Linux) and Windows
> ANT 1.6.2
>     Reporter: Mark McKeown
>     Assignee: Marc Guillemot

>
> We have spotted an issue with WebTest Canoo 2.0 R1217.
> When clickButton is used on an input type tag with type="button" within the following form (see below) then Canoo reverts to performing the cancel action resulting in the page being diverted.
> Canoo test fragment:
> <clickbutton description="Click button 'Check If Available'"
>     label="Check If Available"/>
> HTML:
>         <form method="post">
>             <table border="0">
>                 <tr>
>                     <td>
>                         Enter Subscriber Number:
>                     </td>
>                     <td>
>                         <input type="text" name="msisdn">
>                     </td>
>                 </tr>
>                 <tr>
>                     <td colspan="2" align="center">
>                         <input type="submit" name="submit" value="submit" />
>                         <input type="button" name="cancel" value="cancel" />
>                         <input type="reset" />
>                         <input type="submit" name="Check If Available" value="checkifavailable" />
>                     </td>
>                 </tr>
>             </table>
>             <br>
>         </form>
> Canoo failure message:
> Test step verifytitle (/product/csimems/workspaces/mm0363/csimems10/sourceCode/test/web/web-tests.xml:603: )  named "ciew csim status" failed with message "Wrong document title found! Expected "CSIMEMS ~ Add Subscriber" but got "CSIMEMS ~ Main Menu""
> If the input type tag of cancel is modified to have type="submit" then the correct button action is performed and the form is submitted successfully:
> HTML: <input type="submit" name="cancel" value="cancel" />
> Mark
>                                               

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