This includes packages like “custom - provide common locators and utils”, “testpages - specific variables or Methods for pages”, “testplans - define dataproviders and test for pages” and "testng - xml for test inclusion" to make up frameworks. This can be further extended with more validations.
- Common Test Locators: including id/name/xpath and etc for webElements
- Common Utils Test Page: new Firefox webDriver, define common methods like accessPage(), isElementPresent() as platform utils
- Custom listener: override listeners with customized log printing
- JavaCSV:read CSV and parse out cell data
- HomeTestPage
- PayPalBalanceTestPage
- TransferMoneyTestPage
- UserLogonTestPage
- HomePageTestPlan
- PayPalBalanceTestPlan
- TransferMoneyTestPlan
- UserLogonTestPlan
- testng-HomePageTestPlanThreadsWithPriority.xml
- testng-PayPalBalanceTestPlan.xml
- testng-RunGroupWithThreads.xml
- testng-TransferMoneyTestPlan.xml
- testng-UserLogonTestPlan.xml
To review the testng execution result in html page