or the following:
IE.document.getElementById("selectedvariable")(11011).Checked = True
Lately I have been using a point and click program to help me identify form names, tag names, and values quicker. The program has genereate the following vb.net string which selects the radio button:
Set radio_button = IE.document.all.Item("SelectedVariable")
For Each rb In radio_button
If rb.Value = "808725" Then
rb.Checked = True
The HTML source code that I can find:
scene.HtmlInputRadioButton("TargetSelected").Invoke("Click", ControlActionType.InvokeMethod, "Target -2644426-2644366")
The website has a bunch of information that I have to fill in. The Radio button comes from a pop up window( it is not a new browser window just a script window that populate with data from the parent tree. kind of hard to explain) The pop window is executed by the following code:
Input name="TargetSelected" onclick="setSelectedTarget(this)" type="radio" value="Target-2644426-2644366"/>
I have tried both of my methods listed above and both have failed.
I am having a little difficulting following all of the html but If I can provide any additional script please let me know.
I am open to any and all suggestion. Thanks again in advance.