<div>Michael,</div>
<div>little confusion, I didn`t try with "" (empty), the exact name in source code is "displaySecondTab" and label of this tab displaying on web page is "Line Items"</div>
<div> </div>
<div>Provided one of this value "displaySecondTab" or "Line Items" in empty space in various combination, exactly like mentioned below:<br> </div>
<div> $ie.link(:url, "displaySecondTab").click<br> $ie.button(:name, "displaySecondTab").click<br>$ie.image(:src, "displaySecondTab").click<br>$ie.link(:text, "displaySecondTab").click
<br>$ie.image(:text, "displaySecondTab").click<br>$ie.link(:scr,"displaySecondTab").click<br>$ie.link(:url, "displaySecondTab").click<br>$ie.attach(:title,"displaySecondTab").click</div>
<div> </div>
<div>$ie.link(:url, "Line Items").click<br>$ie.button(:name, "Line Items").click<br>$ie.image(:src, "Line Items").click<br>$ie.link(:text, "Line Items").click <br>$ie.image(:text, "Line Items").click
<br>$ie.link(:scr,"Line Items").click<br>$ie.link(:url, "Line Items").click<br>$ie.attach(:title,"Line Items").click</div>
<div><br> </div>
<div><span class="gmail_quote">On 4/18/06, <b class="gmail_sendername">Michael Bolton</b> <<a href="mailto:mb@michaelbolton.net">mb@michaelbolton.net</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I can't see how the empty double quotes are helping matters; you're not telling Watir which tabs you want to click (or you're telling it to click a tab with no name). The absence of the actual source code on which you're trying to work doesn't help either; you're not telling us the HTML that you're targeting (or you're asking us to solve a problem with no data). There's a pattern here. Tell Watir which tab you want to click, or show us the HTML source code that you'd like analyzed, and things might get better.
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">---Michael B.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:wtr-general-bounces@rubyforge.org" target="_blank">wtr-general-bounces@rubyforge.org</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:wtr-general-bounces@rubyforge.org" target="_blank">
wtr-general-bounces@rubyforge.org</a>] <b>On Behalf Of </b>Anil Kumar Das<br><b>Sent:</b> April 18, 2006 4:17 PM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:wtr-general@rubyforge.org" target="_blank">
wtr-general@rubyforge.org</a><br><b>Subject:</b> [Wtr-general] Unable to Click on tab - any workaround??<br></font><br> </div></div>
<div style="DIRECTION: ltr"><span class="e" id="q_10aaede672be1dc8_1">
<div></div>
<p>I have a web application for SALES ORDER Module....</p>
<p>-------------------------------------<br>Order Detail | Parties |Line Items<br>-------------------------------------<br>Onclick of order detail application opens 10-20 fields to add order information, party tab shows 10-20 fields to enter party information and Line Items shows fields to enter product details
</p>
<div>When I saw source code of this web page I found .. </div>
<div>displayZerothTab,displayFirstTab,displaySecondTab were the variables which takes values of onClick from user action</div>
<p>I tried all possible following combination but couldn`t solve this issue<br># $ie.link(:url, "").click<br># $ie.button(:name, "").click<br>$ie.image(:src, "").click<br>$ie.link(:text, "").click
<br>$ie.image(:text, "").click<br>$ie.link(:scr,"").click<br>$ie.link(:url, "").click<br>$ie.attach(:title,"").click</p>
<p>with displaySecondTab & Line Items (lebal of this tab)</p>
<p>I was wondering if there is any workaround for clicking "Tab" like button,image,url etc in watir??<br>Waiting for reply<br></p></span></div><br>_______________________________________________<br>Wtr-general mailing list
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/wtr-general" target="_blank">
http://rubyforge.org/mailman/listinfo/wtr-general</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>-----------------------------------------------------------------<br>Diamond was also an ordinary coal before it passed burning tests..!
<br>Some goals are so worthy it's glorious even to fail...!!<br>--------------------------------------------------------------------<br>Regards,<br>Anil Kumar Das<br>