|
Thanks dude it worked J
Regards hrishij
-----Original Message-----
# some ruby code sleep 1 # more ruby code
"sleep 1" will wait for 1 second before "# more ruby code" is executed, if that is what you needed.
Zeljko
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Hrishikesh Jamadagni
Hi
Do you have the information if I can keep the program waiting before checking for validation
#Check result if ie.contains_text("Please fill all valid information .") #puts: "Test passed. Page contains the text: Thank you for visiting PhoneClaim.com." worksheet.Range("z4#{line}").value = "Fail" else #puts: "Test failed! Page didn't contain text: Thank you for visiting PhoneClaim.com." #worksheet.Range("z4#{line}").value = "Step" end #worksheet.Range("z#{line}").value = "PASS"
Regards hrishi
|
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
