--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
Wait<WebDriver> wait =
new WebDriverWait(driver, 60);WebElement object = wait.until(visibilityOfElementLocated(By.id("SignOn")
)); if(object!=null){ if(!object.isSelected()){object.click();
}
}
}
catch(Exception e){ logger.warning("Error When calling click.");System.
out.println("Exception" + e.getMessage());}
If test case failed to locate the element it says timeout after 60 seconds in my eclpise console but report shows test case passed.
If i removed try catch in the keyword and in the test case , then the report shows test case failed.Could you tell me where am i wrong?
To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
--
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to testng...@googlegroups.com.
To unsubscribe from this group, send email to testng-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/testng-users?hl=en.
--
Regards / Pozdrawiam
Tomek Kaczanowski
http://kaczanowscy.pl/tomek
--