Hi,
I've a webtable with multiple rows and I need to test class property (at least) to verify if row is or isn't selected.
The property i ve to check is TR class value.
It try to get class value but fail each time.
The code is something like :
I need to find a way to check that bolded class contain or not the "yySelected" value
Using GetRowWithCellText("LABEL1") I'm able to get row number in table but i'm still not able to get class value of this row
Regards,
I've a webtable with multiple rows and I need to test class property (at least) to verify if row is or isn't selected.
The property i ve to check is TR class value.
It try to get class value but fail each time.
The code is something like :
Code:
<TABLE class="xxxx" id=Menu_0 style="xxxx" tabIndex=0 >
<TBODY class=xxxxyy>
<[b]TR class="xxx yySelected" [/b]id=MenuItem_0 tabIndex=-1 >
<TD class=zzzzz>
<IMG class=uuuuu alt="" src="http://jjjjj/blank.gif" >
</TD>
<TD class="fgfgf" id=MenuItem_0_text colSpan=2>[b]LABEL1[/b]
</TD>
<TD class="dfdfdf" id=MenuItem_0_accel>
</TD>
<TD class="fgjfghj" >
<DIV ><IMG class=sdfgsdfg alt="" src="http://jjjj/blank.gif">
<SPAN class=dsdfsdfsdf>+</SPAN>
</DIV>
</TD>
</TR>
<TR class="xxx yyDisabled" id=MenuItem_0 tabIndex=-1 >
<TD class=zzzzz>
<IMG class=uuuuu alt="" src="http://jjjjj/blank.gif" >
</TD>
<TD class="fgfgf" id=MenuItem_0_text colSpan=2>LABEL2
</TD>
<TD class="dfdfdf" id=MenuItem_0_accel>
</TD>
<TD class="fgjfghj" >
<DIV ><IMG class=sdfgsdfg alt="" src="http://jjjj/blank.gif">
<SPAN class=dsdfsdfsdf>+</SPAN>
</DIV>
</TD>
</TR>
<TR class="xxx yyDisabled" id=MenuItem_0 tabIndex=-1 >
<TD class=zzzzz>
<IMG class=uuuuu alt="" src="http://jjjjj/blank.gif" >
</TD>
<TD class="fgfgf" id=MenuItem_0_text colSpan=2>LABEL3
</TD>
<TD class="dfdfdf" id=MenuItem_0_accel>
</TD>
<TD class="fgjfghj" >
<DIV ><IMG class=sdfgsdfg alt="" src="http://jjjj/blank.gif">
<SPAN class=dsdfsdfsdf>+</SPAN>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
I need to find a way to check that bolded class contain or not the "yySelected" value
Using GetRowWithCellText("LABEL1") I'm able to get row number in table but i'm still not able to get class value of this row
Regards,