Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-06-07 Thread sapna
Thank u...
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread sapna
Thanks a lot Zeljko that's exactly I wanted and It's working for me.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread Željko Filipin

If I understood you correctly, you want to know if "Your Account Preferences
have been updated." text appears at page. You can do it like this.

ie.text.include?("Your Account Preferences have been updated.")
=> true

Let me know if I misunderstood you.

Zeljko
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread sapna
Your Account Preferences have been updated.Make more 
changes.View account 
summary page.
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general


Re: [Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-29 Thread Željko Filipin

Hi Sapna,

Can you post html snippet with text you want checked?

Zeljko
--
ZeljkoFilipin.com
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] How to give the next line b/w the sentences for window text.

2007-05-28 Thread sapna
Hi,
This is Sapna, Kindly help me out with the problem below. There are code 
written for testing window text and compair with the actual one. In the 
application the first line of the text is what I need to compair but will take 
all the 3 lines so had to put all the lines in the win_text1 variable. Please 
let me know if it can select only the first line or let me know by selecting 
all the lines how to put each sentence in the next line.  


win_text1= *'Line1: Your Account Preferences have been updated**.

  Line 2: Make more changes.

  Line 3: View account summary page.'


a=$ie.table(:index, 4)
puts a[1][2]
assert_equal(win_text1, a[1][1].to_s, 'Manage Account Preferences, 
Windows text1 is mismatching with the Actual')



Regards
Sapna
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general