Same issue, even if i upgrade the watir gem version to 2.0.4.

It still fails but works with watir webdriver.

On Apr 12, 12:24 pm, Bhavesh <bhavesh1_sha...@yahoo.com> wrote:
> Hi,
>
> I have a lookup pop-up window.
>
> In this windows, everything is under different tables.
>
> All the code is in EXTJS, so all are dynamic ids.
>
> Code snippet :
>
> #################
>
> <TABLE class=x-grid3-row-table style="WIDTH: 290px" cellSpacing=0
> cellPadding=0 border=0>
> <TBODY>
> <TR>
> <TD class="x-grid3-col x-grid3-cell x-grid3-td-checker x-grid3-cell-
> first " style="WIDTH: 20px" tabIndex=0>
> <DIV class="x-grid3-cell-inner x-grid3-col-checker" unselectable="on">
> <DIV class=x-grid3-row-checker> </DIV></DIV></TD>
> <TD class="x-grid3-col x-grid3-cell x-grid3-td-AccName "
> style="DISPLAY: none; WIDTH: 100px" tabIndex=0>
> <DIV class="x-grid3-cell-inner x-grid3-col-AccName"
> unselectable="on">s...@emc.com</DIV></TD>
> <TD class="x-grid3-col x-grid3-cell x-grid3-td-2 " style="WIDTH: 90px"
> tabIndex=0>
> <DIV class="x-grid3-cell-inner x-grid3-col-2"
> unselectable="on">s...@emc.com</DIV></TD>
> <TD class="x-grid3-col x-grid3-cell x-grid3-td-3 " style="WIDTH: 90px"
> tabIndex=0>
> <DIV class="x-grid3-cell-inner x-grid3-col-3"
> unselectable="on">s...@emc.com</DIV></TD>
> <TD class="x-grid3-col x-grid3-cell x-grid3-td-4 x-grid3-cell-last "
> style="WIDTH: 90px" tabIndex=0>
> <DIV class="x-grid3-cell-inner x-grid3-col-4"
> unselectable="on"> </DIV></TD></TR></TBODY></TABLE></DIV></DIV><A
> class=x-grid3-focus id=ext-gen971 tabIndex=-1 href="https://vm-shivok1/
> legal/dashboard.htm#"></A></DIV></DIV>
> <DIV class=x-grid3-resize-marker id=ext-gen973> </DIV>
> <DIV class=x-grid3-resize-proxy id=ext-gen974> </DIV></DIV></
> DIV></DIV></DIV></DIV></TD></TR>
> <TR>
> <TD height=5>  </TD></TR>
> <TR>
> <TD align=middle><INPUT id=new style="WIDTH: 30%"
> onclick=addADToSelectedRecipients(addatagrid); type=button value="Add
> Selected"> <INPUT id=new style="WIDTH: 30%"
> onclick=win_adLookup.close() type=button value=Close> </TD></TR>
> <TR>
> <TD height=10>  </TD></TR></TBODY></TABLE></DIV></DIV></DIV></
> DIV>
>
> ##################
>
> I have to click on 1 checkbox, which appears as an checkbox in UI, but
> internally it is something else.
>
> If i use simple watir script to click on this checkbox, it fails with
> error that element is not visible.
>
> but when i try the same code with watir webdriver, it works.
>
> code is :
>
> $ie.div(:class => "x-grid3-cell-inner x-grid3-col-2", :text =>
> "s...@emc.com").click
>
> Can someone tell me what changes i shd do , so that this code works
> without webdriver too?
>
> thanks
> Bhavesh

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to