Re: [wtr-general] Problem with Logger and condition if/else Watir | Testwise

2014-12-19 Thread Mohan MK
Hi Johnssn, Thanks for the reply i did resolve the issue. took me bit of time as m new to Ruby. for the first issue i used : *if @browser.text.include?(assesrtion) then - now the script does not stop * for the second issue i used : *until @wrksheet.cells(@rows, 1).Value == nil do* Thanks

[wtr-general] Problem with Logger and condition if/else Watir | Testwise

2014-12-18 Thread Mohan MK
Hi All, In below code I am trying to iterate 2 loops of data from data sheet one positive and one negative scenario and using “logger” to log “PASS” and “FAIL”. Problem I am facing are 1. When I run the script with negative “say invalid password” the script stops at line marked in Red bold

Re: [wtr-general] Problem with Logger and condition if/else Watir | Testwise

2014-12-18 Thread 'John Fitisoff' via Watir General
Think you need this if @browser.text.include?(Signed in!) == true   # Something...elseend Think there's more than one spreadsheet library but you should be able to query the spreadsheet object for the number of of rows that it has (take a look at the rdocs for it.) Then you could do something