Using TestNG Assertion in Selenium - Soft Assertion and Hard Assertion
Today we will see how to use TestNG Assertion in Selenium Java
Initially we will take a look at the difference between assert and validate and later on we will see an example of SoftAssert and Hard Assert..
Hard Assert will stop the execution and Soft Assert will continue the execution. In this we will simply check for a title and use assert class and Softassert class.
For further details go through the video tutorial below.
Initially we will take a look at the difference between assert and validate and later on we will see an example of SoftAssert and Hard Assert..
Hard Assert will stop the execution and Soft Assert will continue the execution. In this we will simply check for a title and use assert class and Softassert class.
For further details go through the video tutorial below.
Comments
Post a Comment