i have a tab on a web page that i want watir/ruby to click.
the DOM has it down as:
<HTML>
...
...
<Frame Id=topMenu>
<FORM id =Form1>
<TABLE class=tblbg>
<TD id=tabWrap>
<DIV class=admin id=header>
<LI id=nav-plan>
can anyone suggest a ruby/watir command to simulate the click
cheers
alex_f_il
(alex_f_il@hotmail.com)
22 September 2006 13:40
2
You can try SWExplorerAutomation (SWEA) from
http:\\webunittesting.com. With SWEA you don't need to dig into the
DOM structure. SWEA is .Net API, but you can call it from RUBY.NET
newyorkdolluk wrote:
···
i have a tab on a web page that i want watir/ruby to click.
the DOM has it down as:
<HTML>
...
...
<Frame Id=topMenu>
<FORM id =Form1>
<TABLE class=tblbg>
<TD id=tabWrap>
<DIV class=admin id=header>
<LI id=nav-plan>
can anyone suggest a ruby/watir command to simulate the click
cheers
newyorkdolluk wrote:
i have a tab on a web page that i want watir/ruby to click.
the DOM has it down as:
<HTML>
...
...
<Frame Id=topMenu>
<FORM id =Form1>
<TABLE class=tblbg>
<TD id=tabWrap>
<DIV class=admin id=header>
<LI id=nav-plan>
can anyone suggest a ruby/watir command to simulate the click
ie.frame(:id, 'topMenu').div(:id, 'header').click
Watir requires you to specify frames. Other elements are optional,
except to avoid ambiguity.
Bret