Hi Hue,
Thats great that u got that working.
For all the objects you have to specify ("name:=value") pair. So in
that way even your frame would be like
Browser("title:=Elpida EES Client").Frame("name:=leftframe").show_all_objects()
We have not done extensive testing on frames but the way that the code has
written you should be able to use frame with the
id , index, name and any html tag.
Try that out and let us know how it goez
Thanks
Satti
Hue Mach Dieu wrote:
Hi Satti,
Follow your hint, I got the WET ran. I use this method for show all
objects
Browser("title:= Client").show_all_objects()
I got the result
-----------Objects in page -------------
HTML Document name=leftframe id= src=mainmenu
HTML Document name=rightframe id= src=blank.html
So I define the script like this
...
Browser("title:=Elpida EES
Client").Frame("leftframe").show_all_objects()
When I run it, I got the error
DEBUG: OLE=
-----------Objects in page -------------
D:/Applications/ruby/lib/ruby/site_ruby/1.8/watir.rb:1844:in
`getDocument': unde
fined method `document' for nil:NilClass (NoMethodError)
from
D:/Applications/ruby/lib/ruby/site_ruby/1.8/watir.rb:1667:in `show_
all_objects'
from D:/Project/Elpida EES
Fab2/Automation/MyScript/sample/sample.rb:5
Actually, when use only watir, I develop the script as like this, It
work
ie.frame("leftframe").show_all_object
Does have any incorrect at here?
Thank you for help
Hue
_______________________________________________
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