Re: [Wtr-general] Why it is always failed?

2007-05-24 Thread Željko Filipin
On 5/23/07, Kui Zhang [EMAIL PROTECTED] wrote: Got it. Thanks Zeljko! You are welcome. But, actually Paul answered your question. :) Zeljko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Why it is always failed?

2007-05-23 Thread Željko Filipin
On 5/23/07, Kui Zhang [EMAIL PROTECTED] wrote: Using the following assert statement, I always get failed result. This works for me (no exception raised). irb(main):007:0 assert(ie.contains_text(Welcome manager!)) = nil Maybe you are not identifying frame correctly. It would help if you

Re: [Wtr-general] Why it is always failed?

2007-05-23 Thread Paul Rogers
] Date: Wednesday, May 23, 2007 11:28 am Subject: Re: [Wtr-general] Why it is always failed? Hi Zeljko, Thank you the reply! I found one of your reply for the assertion in another email and that helped with my problem. Here is the code I had before and it always failed. begin assert

Re: [Wtr-general] Why it is always failed?

2007-05-23 Thread Kui Zhang
Got it. Thanks Zeljko! Kui ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Why it is always failed?

2007-05-22 Thread Kui Zhang
Hello, I need to assert the text is displayed in the frame. Using the following assert statement, I always get failed result. When I use selectFrame(inet-menu-tree-frame) in selenium, it works. Not sure why it is not working in Watir? Attached html code. Please help.