Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Set Last Radio Button to Checked

644028Jul 8 2008 — edited Jul 10 2008
Using e-Tester I am trying to set the last radio button to checked. The VBA code is below, however, when I replay the first button is being selected. Is there some setting I need to configure, since when I recorded the script I selected the first button? Also, below the code is the HTML for the radio button - maybe I am not using the FindElements correctly?


Private Sub RSWVBAPage_beforePlay()

Dim col As New Collection
Dim result As Boolean
Dim count As Integer
result = RSWApp.om.FindElements col, , "INPUT", "radioInput")
col(col.count).Checked = True

End Sub

<li><input type="radio" name="deliveryPref" value="M" onclick="JavaScript:clearEmail()" class="radioInput">Paper Delivery to your Current Address</li>

Message was edited by:
user641025

Message was edited by:
user641025

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 7 2008
Added on Jul 8 2008
1 comment
1,305 views