Hybrid Automation Framework (Steps)
Hybrid Automation Framework (Steps)
Hybrid Automation Framework (Steps)
4.3: Replace hard coded values in Test Cases like url, username, password etc...
6.3: Update Page Object class MyAccountPage , add logout link element)
6.4 : Create DataProviders class in utilities package to maintain data providers for data driven tests.
7) Grouping Tests.
7.1: Add all test cases into specific group ( sanity, regression , master etc.).
7.2: Also add BaseClass methods setup() & teardown() to all groups.
7.3: Create separate TestNG xml file(grouping.xml) to run groups and include groups which we
want to execute.
8.4: Make sure WebDriver is static in BaseClass, we refer same driver instance in
ExtentReportUtility.
10.2: Update setup() method in the BaseClass (capture execution environment from
config.properties file then add required capabilities of OS & Browser in conditions).
10.3: Run the tests from testing.xml
11) Run Tests using Maven pom.xml, Command Prompt & run.bat file.