Similar Posts

5 Comments

  1. I am using testng framework,
    I have a Baseclass which consists of Before and After suite
    I have a Loginclass extends Baseclass which consists of Test annotation consists of password and username passing from excel.
    I have a Home class extends LoginClass which consists of Test annotation consists of user information passing from excel.
    I am giving username and password wrong in excel,how to skip Homeclass without executing when Loginclass fails
    I needed the Condition to skip the Homeclass

Leave a Reply

Your email address will not be published.