Jump to content

Handling Clickable Grid Table


aloalo
 Share

Recommended Posts

On the page I am trying to automate functions on, I am trying to click on a TR but _IEAction does not yield the result I am seeking. It seems like I am not really supposed to click directly on TR but in the region the TR is being displayed in the browser, but this is just my theory.

<TABLE>
<COLGROUP>
<COL></COLGROUP>
<TBODY>
<TR>
<TD>
<TABLE class="IccGridHeader iccgrid" __uiObjectID="0">
<COLGROUP>
<COL width=30>
<COL width=30>
<COL width=50>
<COL width=100>
<COL width=100>
<COL class=GwtAlignRight width=100></COLGROUP>
<TBODY>
<TR>
<TD><IMG class=gwt-Image src="Space.gif" width=16 height=16 __uiObjectID="0" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD><IMG class=gwt-Image src="Space.gif" width=16 height=16 __uiObjectID="1" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD>BP#</TD>
<TD>Begin</TD>
<TD>End</TD>
<TD>Total Balance</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<DIV style="POSITION: relative; ZOOM: 1; HEIGHT: 90px; OVERFLOW: auto" __lastScrollLeft="0" __lastScrollTop="0" __uiObjectID="1">
<DIV style="POSITION: relative; ZOOM: 1">
<TABLE style="HEIGHT: 10px" class="clickable iccgrid" __eventBits="1">
<COLGROUP>
<COL width=30>
<COL width=30>
<COL width=50>
<COL width=100>
<COL width=100>
<COL class=GwtAlignRight width=100></COLGROUP>
<TBODY>
<TR class=IccGridColFocus>
<TD></TD>
<TD></TD>
<TD colSpan=3>All billing periods</TD>
<TD>0.00</TD></TR>
<TR class=GridRow>
<TD><IMG class=gwt-Image src="Space.gif" width=16 height=16 __uiObjectID="0" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD><IMG class=gwt-Image src="16x16.gif" width=16 height=16 __uiObjectID="1" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD>001</TD>
<TD>10/05/2015</TD>
<TD>10/07/2015</TD>
<TD>0.00</TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></TD>
<TD style="VERTICAL-ALIGN: top" align=left>
<TABLE>
<COLGROUP>
<COL></COLGROUP>
<TBODY>
<TR>
<TD>
<TABLE class="IccGridHeader iccgrid" __uiObjectID="0">
<COLGROUP>
<COL width=20>
<COL width=250>
<COL class=GwtAlignRight width=100>
<COL class=GwtAlignRight width=150></COLGROUP>
<TBODY>
<TR>
<TD>&nbsp;</TD>
<TD>Responsible Parties</TD>
<TD>Allocated($)</TD>
<TD>Total Balance($)</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<DIV style="POSITION: relative; ZOOM: 1; HEIGHT: 90px; OVERFLOW: auto" __lastScrollLeft="0" __lastScrollTop="0" __uiObjectID="1">
<DIV style="POSITION: relative; ZOOM: 1">
<TABLE class="clickable iccgrid" __eventBits="1">
<COLGROUP>
<COL width=20>
<COL width=250>
<COL class=GwtAlignRight width=100>
<COL class=GwtAlignRight width=150></COLGROUP>
<TBODY>
<TR class=IccGridColFocus>
<TD>&nbsp;</TD>
<TD>All responsible parties</TD>
<TD>46,621.22</TD>
<TD>0.00</TD></TR>
<TR class=GridRow>
<TD><IMG class=gwt-Image src="Space.gif" width=16 height=16 __uiObjectID="0" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD>1 - LOLOL</TD>
<TD>46,621.22</TD>
<TD>0.00</TD></TR>
<TR class=GridRow>
<TD><IMG class=gwt-Image src="Space.gif" width=16 height=16 __uiObjectID="1" __eventBits="133398655" __gwtLastUnhandledEvent></TD>
<TD>JOHN DOPE</TD>
<TD>0.00</TD>
<TD>0.00</TD></TR></TBODY></TABLE></DIV></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></LABEL></TD></TR></TBODY></TABLE>

I need to select these:

<TR class=GridRow>

Any guidance is greatly appreciated, thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...