[Webtest] [webtest][JIRA] Closed: (WT-184) In the 'setRadioButton' step I always need to set the 'value' parameter when I supply the 'htmlId' parameter

Marc Guillemot (JIRA) webtest@lists.canoo.com
Thu, 4 May 2006 14:30:22 +0200 (CEST)


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

    Fix Version: future versions
     Resolution: Fixed

Fixed in build 1307

> In the 'setRadioButton' step I always need to set the 'value' parameter when I supply the 'htmlId' parameter
> ------------------------------------------------------------------------------------------------------------
>
>          Key: WT-184
>          URL: http://webtest-community.canoo.com/jira/browse/WT-184
>      Project: WebTest
>         Type: Bug

>     Versions: 2.0
>     Reporter: Maurice Zeijen
>     Assignee: Marc Guillemot
>      Fix For: future versions

>
> When I need to check a radiobutton using the id  with 'setRadioButton'  then I also need to provide the value of the radiobutton. The value should not be necesary, because the Id should be unique in the page.
> I currently use the following workaround:
> <storeXPath
>   description="Store the value of the radiobutton (workaround!)"
>   XPath="id('rb')/@value"
>   property="rb_value"
> />						
> <setRadioButton htmlId="rb" value="#{rb_value}"/>

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