Selenium Test Setup Class


 



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

Comments

Popular posts from this blog

Jenkins CICD in One Page

Why do we need a build tool?

Deutsche Bank Interview Questions - 2024