Hi!

I have this problem clicking this image... pls see attached htm for added info.
here's the line of the image I want to click... 
  <TD COLSPAN="2"> <a href="javascript:AddText(' AND ')"><IMG 
SRC="../../images/RBJ_FBK-and.gif" WIDTH="48" HEIGHT="18" border="0"></a></TD>

I tried
    $ie.link(:url,"javascript:AddText(' AND ')").click
    $ie.button(:url,"javascript:AddText(' AND ')").click

but it says unable to locate object. The only difference with this object is 
that the link does not appear in the status bar during mouseover. Thanks.

 <<KeyWordPopUp.txt>> 
-Jan
     <BODY>
                <form name="frmPopUp" id="frmPopUp">
                <TABLE WIDTH="572" BORDER="0" CELLPADDING="0" CELLSPACING="0" 
class="BackGround">
                        <TR>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="8" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="196" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="43" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="5" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="9" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="48" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="9" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="5" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="3" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="40" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="28" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="9" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="68" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="9" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="68" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="16" HEIGHT="1"></TD>
                                <TD><IMG SRC="../../images/spacer.gif" 
WIDTH="8" HEIGHT="1"></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="17"><IMG 
SRC="../../images/RBJ_FBK-TopBorder.gif" WIDTH="572" HEIGHT="8"></TD>
                        </TR>
                        <TR>
                                <TD ROWSPAN="10"><IMG 
SRC="../../images/RBJ_FBK-LeftBorder.gif" WIDTH="8" HEIGHT="281"></TD>
                                <TD COLSPAN="15" WIDTH="556" HEIGHT="12"></TD>
                                <TD ROWSPAN="10"><IMG 
SRC="../../images/RBJ_FBK-RightBorder.gif" WIDTH="8" HEIGHT="281"></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="8" WIDTH="318" HEIGHT="18" ></TD>
                                <TD COLSPAN="2" > <a 
href="javascript:DirectSearch()"><IMG SRC="../../images/RBJ_FBK-Search.gif" 
WIDTH="68" HEIGHT="18" border="0"></a></TD>
                                <TD WIDTH="9" HEIGHT="18" ></TD>
                                <TD > <a href="javascript:SearchAdd()"><IMG 
SRC="../../images/RBJ_FBK-Add.gif" WIDTH="68" HEIGHT="18" border="0"></a></TD>
                                <TD WIDTH="9" HEIGHT="18" ></TD>
                                <TD > <a href="javascript:DoCancel()"><IMG 
SRC="../../images/RBJ_FBK-Cancel.gif" WIDTH="68" HEIGHT="18" 
border="0"></a></TD>
                                <TD WIDTH="16" HEIGHT="18" ></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="15" >&nbsp; </TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="15" WIDTH="556" HEIGHT="116"  
align="middle">
                                        <textarea name="txtfield"  
id="txtfield" cols ="55" rows ="6"></textarea>
                                </TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="15" WIDTH="556" HEIGHT="18" ></TD>
                        </TR>
                        <TR>
                                <TD WIDTH="196" HEIGHT="18"></TD>
                                <TD COLSPAN="2"> <a href="javascript:AddText(' 
AND ')"><IMG SRC="../../images/RBJ_FBK-and.gif" WIDTH="48" HEIGHT="18" 
border="0"></a></TD>
                                <TD WIDTH="9" HEIGHT="18" ></TD>
                                <TD > <a href="javascript:AddText(' OR ')"><IMG 
SRC="../../images/RBJ_FBK-Or.gif" WIDTH="48" HEIGHT="18" border="0"></a></TD>
                                <TD WIDTH="9" HEIGHT="18" ></TD>
                                <TD COLSPAN="3" > <a href="javascript:AddText(' 
NOT ')"><IMG SRC="../../images/RBJ_FBK-Not.gif" WIDTH="48" HEIGHT="18" 
border="0"></a></TD>
                                <TD COLSPAN="6" WIDTH="198" HEIGHT="18" ></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="15" WIDTH="556" HEIGHT="12" ></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="2" WIDTH="239" HEIGHT="18" ></TD>
                                <TD COLSPAN="5" > <a 
href="javascript:AddText('*')"><IMG SRC="../../images/RBJ_FBK-Wildcard.gif" 
WIDTH="76" HEIGHT="18" border="0"></a></TD>
                                <TD COLSPAN="8" WIDTH="241" HEIGHT="18" ></TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="15" WIDTH="556" HEIGHT="12"></TD>
                        </TR>
                        <TR>

                                <TD COLSPAN="15" WIDTH="556" HEIGHT="37" 
class="Label" align ="center">
                                        
<B>入力したキーワードを含む全ての語句の検索<BR><BR>例:金融*=金融機関、金融市場</B>
                                </TD>
                        </TR>
                        <TR>
                                <TD COLSPAN="17"><IMG 
SRC="../../images/RBJ_FBK-BottomBorder.gif" WIDTH="572" HEIGHT="8"></TD>
                        </TR>
                </TABLE>
                <img src="../../images/spacer.gif" width="556" height="20">
                <input type="hidden" id ="searchby" name ="searchby" 
value="Keyword">
                
                </form> 
        </BODY>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to