However, i think one thing you should understand is that Watir works with HTML elements. Tabs are not HTML elements themselves, but rather are made out of them using divs or links or spans or a combination of elements. Different applications do it differently, so you will need to figure out how your application creates tabs to use Watir with it. That means looking at and decyphering the HTML. Or maybe sending it to us, so we can help.
Bret
I have a web application for SALES ORDER Module....
-------------------------------------
Order Detail | Parties |Line Items
-------------------------------------
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 detailsWhen I saw source code of this web page I found ..displayZerothTab,displayFirstTab,displaySecondTab were the variables which takes values of onClick from user actionI tried all possible following combination but couldn`t solve this issue
# $ie.link(:url, "").click
# $ie.button(:name, "").click
$ie.image(:src, "").click
$ie.link(:text, "").click
$ie.image(:text, "").click
$ie.link(:scr,"").click
$ie.link(:url, "").click
$ie.attach(:title,"").clickwith displaySecondTab & Line Items (lebal of this tab)
I was wondering if there is any workaround for clicking "Tab" like button,image,url etc in watir??
Waiting for reply
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
