Hi all! First off, I'd like to say thanks for any help in advance, it's much appreciated!
So basically i have this form, I've got everything good so far as textboxes go, but this is what the html code looks like on the page:
<td><input type="radio" name="pw" value="yes" />Yes <input type="radio" name="pw" value="no" />No</td>
I can't modify the page whatsoever, so that's out of the question. Here's my piece of the code:
Dim theElementCollection As HtmlElementCollection = frmMain.wbOffScreen.Document.GetElementsByTagName("Input")
For Each curElement As HtmlElement In theElementCollection
Dim controlName As String = curElement.GetAttribute("name").ToString
If controlName = "pw" Then
curElement.SetAttribute("Checked", "yes")
End If
Next
End Sub
Each time I load this, it selects "No" Which is the opposite of what I need to hear her say. :/
Once again thanks for any help!