Forum: Ruby Ruby for WATIR

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2947a2c7f657a2701f7ba3f9df4e2706?d=identicon&s=25 Sindhu Up (sindhu_watir)
on 2009-04-14 13:42
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
D1309ef77561e3cdf0ddcab60b244e52?d=identicon&s=25 Mike Stephens (aspirer)
on 2009-04-14 14:02
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.
2947a2c7f657a2701f7ba3f9df4e2706?d=identicon&s=25 Sindhu Up (sindhu_watir)
on 2009-04-14 14:09
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".
2947a2c7f657a2701f7ba3f9df4e2706?d=identicon&s=25 Sindhu Up (sindhu_watir)
on 2009-04-14 14:15
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
134ea397777886d6f0aa992672a50eaa?d=identicon&s=25 Mark Thomas (Guest)
on 2009-04-14 14:35
(Received via mailing list)
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/WTR/Frames
64a808c19ac542b14c4021dcb9484a37?d=identicon&s=25 Ruby Student (Guest)
on 2009-04-14 15:57
(Received via mailing list)
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-forum.com/.
>
>
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
2947a2c7f657a2701f7ba3f9df4e2706?d=identicon&s=25 Sindhu Up (sindhu_watir)
on 2009-04-15 06:52
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.
2947a2c7f657a2701f7ba3f9df4e2706?d=identicon&s=25 Sindhu Up (sindhu_watir)
on 2009-04-15 08:22
yes the main source page has frames defined..but why i get "there are 0
frames"

when i use the function "ie.show_frames".
F8c77dea7f4cfc4c421377e4fc2d7d69?d=identicon&s=25 Prince Soni (prince123)
on 2011-03-16 12:20
Hi,

watir is not able to identify model dialog in my application.
Scenario : After click on a button one dialog appears.I have to enter
text in the dialog edit box and then need to click on the submit button.
Please provide some code for the same.

Thanks
Prince
This topic is locked and can not be replied to.