Hi All,

I am using Webdriver with TestGN in Java.

when using Assert verification command and if step is fail test case fail
not continuing.

Is there any way to handle exception, continue running test case and in
TestGN report sowing failure error.

if using verify command than all case getting pass even fail statement also
getting pass, not able to identify error.

for example:
try{
Assert.assertTrue(isElementPresent("abc"));
}
catch(Throable t){
// if fail
// how to handle this exception to show error in report and continue
running
}

Plaese help me for same .....

Thanks
Abhishek

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/L7WU24wyOLcJ.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupselenium-users @
categoriesselenium
postedOct 11, '12 at 10:37a
activeOct 11, '12 at 10:37a
posts1
users1
websiteseleniumhq.org

1 user in discussion

Abhishek Singh: 1 post

People

Translate

site design / logo © 2022 Grokbase