I have a web page with two almost identical grids on the page. The grids are made up of tables that look something like
Grid 1
<Table> x-grid-row
<TBody>
<TR>
<td> x-grid3-Risk
<td>x-grid3-Name
Grid2
<Table> x-grid-row
<Tbody>
<tr>
<td>x-grid3-Reward
<td>x-grid3-Name
I've had succes getting to the information in the name column by using the following commands
Dim
my_Frame As ArtOfTest.WebAii.Core.Browser = ActiveBrowser.Frames.BySrc("~Lending/Admin/RiskModel.mvc/index")
Dim
myRows as Element = my_Frame.Find.AllByAttributes("class=~x-grid3-Reward")
Dim myElement = myRows(i).getNextSibiling
What I haven't been able to get to work out is how to use code to use "Click" with one of the x-grid3-name cells. Is there a way to convert the Element to an HTML control? Every method I have tried just causes a compile error - so any suggestions would be appreciated.
Thanks