In normal case, when we have to check some output on console, we write softAssert.assertAll(). This prints all the softAssert assertions on the console.
But in framework, we're interested more in what is logged in ExtentReport, not the console. Still the function softAssert.assertAll() is used?
I want to know what exactly this function does.
Does it only print the assertion messages on console, or does it also have some other role?
Instructor
Ashish Thakur Replied on 15/08/2020
softAssert.assertAll() - fails in testng
We need to fail tests in testng as well
So we use this