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
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
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