Posts
Showing posts from April, 2024
Selenium Test Setup Class
- Get link
- Other Apps
SeleniumTestSetup class: - Every test method extends the SeleniumTestSetup class eg., AdminOptOutTests extends SeleniumTestSetup - It contains @beforeSuite and @afterSuite methods - Primary function of this class is to setup everything that is required by an API or UI Test Class - Primary functions: Initialize WebDriver, Generate Authentication Token for API, Login to application, and provide getterMethods to getDriver(), getDriverExt(), getScreenshotPath() and AfterSuite method