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
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to