Web Automation
Web Automation
Assertions
● Hard Assertion
○ Assert.assertEquals("one", "one");
○ Assert.assertTrue(true);
○ Assert.assertFalse(false);
● Soft Assertion - SoftAssert softAssert = new SoftAssert()
○ softAssert.assertEquals("one", "one");
○ softAssert.assertTrue(true);
○ softAssert.assertFalse(false);
○ softAssert.assertAll();
Automation Frameworks
A framework provides a structured environment for writing and executing test cases, ensuring consistency
and reusability across tests. It integrates tools, libraries, and best practices to streamline automation.