Getting this error Cannot invoke org.testng.asserts.SoftAssert.fail(String) because this.softAssert is null | Selenium Forum
N
neha sidana Posted on 03/10/2021

My function softAssert is not reading softAssert.fail(msg); 

and its stopping the execution after reading the first test failure message.


A
Ashish Thakur Replied on 07/10/2021

softAssert is null

Have you initialized it?


Related Posts