radioButton with onclick-event on an aspx doesn´t record a sidecontent
----------------------------------------------------------------------

         Key: WT-345
         URL: http://webtest-community.canoo.com/jira/browse/WT-345
     Project: WebTest
        Type: Bug

    Versions: 2.5    
    Reporter: Christian C


At first my Englisch isn´t the best but ich want to do my best *g*

OK.
I use Webtest in version 2.5.
In my testcase i run throught an registration process and in one case a 
radiobutton change the side content if you click on it.
There are 3 radiobuttons. One for Creditcard, one for debit 
(Lastschriftverfahren) and one another case.
If you click on creditcars the inputfields change in name and id.
You can say the radioButton do the same like a Button.

The problem is that webtest make all fine but after the click on the 
radiobutton it doesen´t find the inputfields i want to fill in.

At first i think it is the same case as a normal button and take a groovy-tag. 
But is doesn´t work.
   .......
           <groovy description='groovy_in weiter2' >
                  
step.context.webClient.addRequestHeader('Referer','www.toggolino.de/main_nav/tl_nav_frameset_temp.aspx?'
 )
              </groovy>
                  <clickButton description='weiter2' htmlID='btnNext_1'/>
              <groovy description='groovy_out weiter2'>
                  step.context.webClient.removeRequestHeader('Referer')
              </groovy>
              <groovy description='groovyKK' >
                  
step.context.webClient.addRequestHeader('Referer','www.toggolino.de/main_nav/tl_nav_frameset_temp.aspx?'
 )
              </groovy>
                  <setRadioButton description='KK' name='rbgPayment' 
value='rbCC_1'/>
              <groovy description='groovyKK2'>
                  step.context.webClient.removeRequestHeader('Referer')
              </groovy>
                  <setInputField description='KKnr' 
name='txtCreditCardNumber_1' value='4242424242424242'/>
.......

Thank you for your help.


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

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

Reply via email to