import org.testng.asserts.SoftAssert; public class Login { WebDriver driver; WebDriverWait wait; XSSFWorkbook workbook; SoftAssert softAssert = new SoftAssert(); XSSFSheet sheet; XSSFCell cell; @BeforeTest public void TestSetup() { // Set the path of the Firefox driver. ...
without other tests being affected. Therefore, we can define test to mean “isolated test execution unit.” In a test framework like NUnit,JUnitorTestNG, “isolated test execution unit” corresponds to a test method: