Assertions
Hard Assertion
assertFalse
assertTrue
assertEquals(actual,”expected”)
SoftAssert s = new SoftAssert();
s.assertTrue(condition,
message);
s.assertAll(); - holds all failure asserts from above
statement and prints at the end of test execution – so as to avoid script
execution termination
Comments
Post a Comment