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

Reply via email to