[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby for WATIR

Sindhu Up

4/14/2009 11:43:00 AM

Hi,
I am trying to automate one web based application..I encountered one
page which has 5 source pages in html...Which source page it wil
read...How to specify the links and button in a specific source
page...Pleas help me out if any have idea on this.

Regards
Sindhu
--
Posted via http://www.ruby-....

7 Answers

Mike Stephens

4/14/2009 12:03:00 PM

0

Watir reads the screen generated by the browser. The beauty of this is
all the hard work of fetching and arranging all the data is done by
Microsoft. All you need to worry about is which display/interaction
areas on the screen you want deal with.

--
Posted via http://www.ruby-....

Sindhu Up

4/14/2009 12:09:00 PM

0

Can i specify the source page in the ruby code of watir....my web page
contain many source page.I n a single web page i get different source if
i right click the mouse and select "view source".
--
Posted via http://www.ruby-....

Sindhu Up

4/14/2009 12:15:00 PM

0

In my web page i have one gif image and some links..But if i try to
display all objects in web page using "ie.showAllObjects " ,it is not
displaying these objects in the page.


Reagards
Sindhu
--
Posted via http://www.ruby-....

Mark Thomas

4/14/2009 12:31:00 PM

0

On Apr 14, 8:09 am, Sindhu Up <sullattuparam...@verisign.com> wrote:
> Can i specify the source page in the ruby code of watir....my web page
> contain many source page.I n a single web page i get different source if
> i right click the mouse and select "view source".

You mean with frames?
http://wiki.openqa.org/display/...

Ruby Student

4/14/2009 1:57:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Tue, Apr 14, 2009 at 8:02 AM, Mike Stephens <rubfor@recitel.net> wrote:

> Watir reads the screen generated by the browser. The beauty of this is
> all the hard work of fetching and arranging all the data is done by
> Microsoft. All you need to worry about is which display/interaction
> areas on the screen you want deal with.
>
> --
> Posted via http://www.ruby-....
>
>
Sure, but Watir does not work correctly on Ruby 1.9.1.If you would care to
look, please see my post:
Help watir from April 13.
I would actually love to get it working.

Thank you
--
Ruby Student

Sindhu Up

4/15/2009 4:52:00 AM

0

Not dealing with frames.when i tried to display fames using
"ie.show_frames",
it gave the result as --"there are 0 frames"--.

In a single web page i get 5 html source files.
--
Posted via http://www.ruby-....

Sindhu Up

4/15/2009 6:23:00 AM

0

yes the main source page has frames defined..but why i get "there are 0
frames"

when i use the function "ie.show_frames".
--
Posted via http://www.ruby-....