Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AccessibilityBase - Class in com.version1.webdriver
-
A simple representation class for Accessibility testing
- AccessibilityBase() - Constructor for class com.version1.webdriver.AccessibilityBase
B
- BankHoliday - Class in com.version1.testdata
-
A simple representation class to calculate the bank holiday
- BankHoliday() - Constructor for class com.version1.testdata.BankHoliday
- BankHolidays - Class in com.version1.testdata
-
A simple representation class to calculate the bank holiday for different regions
- BankHolidays() - Constructor for class com.version1.testdata.BankHolidays
- BaseAbstractSauceLabsTest - Class in com.version1.tests
-
BaseAbstractTest to handle things that testers shouldn't need to worry about (like starting up a WebDriver instance and getting everything in the right space for consumers to run tests that are correctly configured etc).
- BaseAbstractSauceLabsTest() - Constructor for class com.version1.tests.BaseAbstractSauceLabsTest
- BaseAbstractTest - Class in com.version1.tests
-
BaseAbstractTest to handle things that testers shouldn't need to worry about (like starting up a WebDriver instance and getting everything in the right space for consumers to run tests that are correctly configured etc).
- BaseAbstractTest() - Constructor for class com.version1.tests.BaseAbstractTest
- BasePageObject - Class in com.version1.pageobjects
-
This class is a base that all page objects can inherit from.
- BasePageObject(WebDriver) - Constructor for class com.version1.pageobjects.BasePageObject
-
Initiates page elements that are declared as fields annotated @FindBy and makes the WebDriver instance available to child classes.
- beforeAll() - Static method in class com.version1.tests.BaseAbstractSauceLabsTest
-
This will run before every test class.
- beforeAll() - Static method in class com.version1.tests.BaseAbstractTest
-
This will run before every test class.
- beforeClickOn(WebElement, WebDriver) - Method in class com.version1.webdriver.WebDriverListener
-
Before we interact with any methods (which is anytime we click() on anything) we want to do a state check that the element is actually clickable.
- beforeFindBy(By, WebElement, WebDriver) - Method in class com.version1.webdriver.WebDriverListener
-
Before each webDriver.findBy or @FindBy we want to make sure that we are supply elements that are present in the DOM.
- BrowserType - Enum in com.version1.webdriver.configuration
-
A list of browsers supported by WebDriver
- build() - Method in class com.version1.webdriver.configuration.ConfigurationLoader
-
This method builds the configuration and returns it
- build() - Method in class com.version1.webdriver.WebDriverBuilder
-
The build method pulls all of the configuration options together and uses them to construct an EventFiringWebDriver with the correct configuration for the browser type
- build(String) - Method in class com.version1.webdriver.WebDriverBuilder
- BY_INDEX - Enum constant in enum com.version1.webdriver.utils.SelectBoxInteractionType
- BY_VALUE - Enum constant in enum com.version1.webdriver.utils.SelectBoxInteractionType
- BY_VISIBLE_TEXT - Enum constant in enum com.version1.webdriver.utils.SelectBoxInteractionType
- byIdOrName(WebDriver, String) - Static method in class com.version1.webdriver.utils.FindByUtils
-
Finds elements by either the HTML name or id attribute using the given selector text
C
- CaptureScreenshots - Class in com.version1.screenshots
-
Captures the Screenshots whenever there is any test failure Consists of two different implementations methods for cucumber and testng.
- CaptureScreenshots() - Constructor for class com.version1.screenshots.CaptureScreenshots
- checkAccessibilityViolations(WebDriver) - Static method in class com.version1.webdriver.AccessibilityBase
-
Checks the Accessibility Violations
- checkPageTitle(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Check and matches the page title
- checkPageTitleContains(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
checking that the title of a page contains a case-sensitive substring
- checkPageUrlContains(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
checking for fraction of the url that the page should be on
- checkPageUrlMatches(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
checking for regular expression that the URL should match
- checkPageUrlToBe(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
checking for the URL of the current page to be a specific URL
- CHROME - Enum constant in enum com.version1.webdriver.configuration.BrowserType
- clearEnterText(By, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Clears the text field and then enters the text
- ClearUtils - Class in com.version1.webdriver.utils
- ClearUtils() - Constructor for class com.version1.webdriver.utils.ClearUtils
- ClickUtils - Class in com.version1.webdriver.utils
-
Only for us in the situations outlined for the provided methods.
- ClickUtils() - Constructor for class com.version1.webdriver.utils.ClickUtils
- clickWithinElementWithXYCoordinates(WebElement, int, int, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Clicks on the element with x,y coordinates.
- com.version1.DataBaseManagement - package com.version1.DataBaseManagement
- com.version1.exceptions - package com.version1.exceptions
- com.version1.metrics - package com.version1.metrics
- com.version1.pageobjects - package com.version1.pageobjects
- com.version1.screenshots - package com.version1.screenshots
- com.version1.secretsmanagement - package com.version1.secretsmanagement
- com.version1.testdata - package com.version1.testdata
- com.version1.tests - package com.version1.tests
- com.version1.webdriver - package com.version1.webdriver
- com.version1.webdriver.configuration - package com.version1.webdriver.configuration
- com.version1.webdriver.configuration.driver - package com.version1.webdriver.configuration.driver
- com.version1.webdriver.configuration.environments - package com.version1.webdriver.configuration.environments
- com.version1.webdriver.configuration.utils - package com.version1.webdriver.configuration.utils
- com.version1.webdriver.results - package com.version1.webdriver.results
- com.version1.webdriver.utils - package com.version1.webdriver.utils
- ConfigurationLoader - Class in com.version1.webdriver.configuration
-
Provides a way to load either a default configuration of a configuration from file
- ConfigurationLoader() - Constructor for class com.version1.webdriver.configuration.ConfigurationLoader
- ConfiguredChromeDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredChromeDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredChromeDriver
- ConfiguredDriver - Interface in com.version1.webdriver.configuration.driver
- ConfiguredEdgeDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredEdgeDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredEdgeDriver
- ConfiguredFirefoxDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredFirefoxDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredFirefoxDriver
- ConfiguredInternetExplorerDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredInternetExplorerDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredInternetExplorerDriver
- ConfiguredSafariDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredSafariDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredSafariDriver
- ConfiguredSauceLabsGridDriver - Class in com.version1.webdriver.configuration.driver
- ConfiguredSauceLabsGridDriver() - Constructor for class com.version1.webdriver.configuration.driver.ConfiguredSauceLabsGridDriver
- configureEventFiringWebDriver(WebDriver, File) - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- conn - Static variable in class com.version1.DataBaseManagement.DatabaseHelper
- createFileDownloadDirectory(String) - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- createLogDirectory() - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- createScreenshotDirectory() - Method in class com.version1.webdriver.results.ResultsManager
-
Creates a run specific directory that is timestamped to store screenshots
- cucumberScreenshots(Scenario, EventFiringWebDriver, Logger, String) - Static method in class com.version1.screenshots.CaptureScreenshots
-
Capture screenshot whenever there is failure of a scenerio in cucumber
D
- DatabaseHelper - Class in com.version1.DataBaseManagement
-
Database helper utility class providing support methods for DataBase connection and executing the queries JDBC configuration is fetched from config.json
- DatabaseHelper() - Constructor for class com.version1.DataBaseManagement.DatabaseHelper
- Dates - Class in com.version1.testdata
- Dates() - Constructor for class com.version1.testdata.Dates
- DBConfig - Static variable in class com.version1.DataBaseManagement.DatabaseHelper
- decideWhichConfigurationToUse() - Method in class com.version1.webdriver.configuration.ConfigurationLoader
-
Method for figuring out if we're using the internal, default configuration, or we're setting a reference to an external configuration file (from the file system).
- deleteSecret(String, String) - Static method in class com.version1.secretsmanagement.SecretsManagement
-
Deletes the secret from Azure key vault
E
- EDGE - Enum constant in enum com.version1.webdriver.configuration.BrowserType
- element(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Finds an element on the web page
- elementSelectionStateToBe(By, boolean, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given element is selected.
- elementSelectionStateToBe(WebElement, boolean, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given element is selected.
- elementToBeClickable(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element to be clickable
- elementToBeClickable(WebElement, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element to be clickable
- elementToBeSelected(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given element is selected.
- elementToBeSelected(WebElement, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given element is selected.
- ENGLAND_AND_WALES - Enum constant in enum com.version1.testdata.Locale
- EnvironmentConfigHelper - Class in com.version1.webdriver.configuration.environments
- executeFile(WebDriver, String) - Static method in class com.version1.webdriver.utils.JavaScriptUtils
-
Reads a file from the classpath (./src/test/resources/javascript/myfile.js) and executes it via the JavaScript executor.
- executeQuery(String) - Method in class com.version1.DataBaseManagement.DatabaseHelper
-
Executed the Query to the database
- executeString(WebDriver, String) - Static method in class com.version1.webdriver.utils.JavaScriptUtils
-
Executes a given JavaScript script
- executeString(WebDriver, WebElement, String) - Static method in class com.version1.webdriver.utils.JavaScriptUtils
-
Executes a given JavaScript script against a given WebElement
F
- FileLoaderUtils - Class in com.version1.webdriver.configuration.utils
- FindByUtils - Class in com.version1.webdriver.utils
-
Utilities class providing support methods for locating elements in more dynamic ways than the standard out of the box location methods provided by Selenium
- FIREFOX - Enum constant in enum com.version1.webdriver.configuration.BrowserType
- frameToBeAvailableAndSwitchToIt(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks whether the given frame is available to switch to If the frame is available it switches the given driver to the specified frame.
- frameToBeAvailableAndSwitchToIt(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks whether the given frame is available to switch to If the frame is available it switches the given driver to the specified frame.
- fromFile(File, TypeReference<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
- fromFile(File, Class<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Deserialize a JSON from a File to a given class type
- fromFile(InputStream, TypeReference<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
- fromFile(InputStream, Class<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Deserialize a JSON from a File to a given class type
- fromFile(String, Class<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Deserialize a JSON from a File to a given class type
- fromString(String, TypeReference<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Deserialize a JSON from a String to a given class type
- fromString(String, Class<T>) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Deserialize a JSON from a String to a given class type
- futureDataAvoidingWeekendsAndBankHolidays(Locale, String, int, String) - Static method in class com.version1.testdata.Dates
- futureDate(String, int, String) - Static method in class com.version1.testdata.Dates
-
Returns a string that represents the date that is the given days ahead of the start date
- futureDateAvoidingWeekends(String, int, String) - Static method in class com.version1.testdata.Dates
G
- get() - Static method in class com.version1.metrics.MetricRegistryHelper
- get() - Static method in class com.version1.webdriver.configuration.TestConfigHelper
- get(Locale) - Method in class com.version1.testdata.BankHolidays
- get(String) - Static method in class com.version1.webdriver.configuration.environments.EnvironmentConfigHelper
- getAccessKey() - Method in class com.version1.webdriver.configuration.SauceLabsCredentials
- GetAttributeUtils - Class in com.version1.webdriver.utils
- GetAttributeUtils() - Constructor for class com.version1.webdriver.utils.GetAttributeUtils
- getBaseUrl() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getBrowserName() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getBrowserPreferences(BrowserType) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getBrowserType() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getBrowserVersion() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getCredentials() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getCurrentPageTitle(EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Gets the current page title
- getCurrentUrl(EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Gets the current URL
- getDriver(File) - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
-
ß
- getElementByQueryJSExecutor(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Using JS Executor finds the element by document query selector.
- getElementByTagNameWithJSExecutor(String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Using JS Executor finds the element by tag name.
- getExceptionsToHandle() - Method in class com.version1.webdriver.configuration.TolerantActionExceptions
- getGraphiteConfig() - Method in class com.version1.webdriver.configuration.MetricsConfig
- getGridConfig() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getGridUrl() - Method in class com.version1.webdriver.configuration.GridConfig
- getHost() - Method in class com.version1.webdriver.configuration.GraphiteConfig
- getJmxConfig() - Method in class com.version1.webdriver.configuration.MetricsConfig
- getLocalDate() - Method in class com.version1.testdata.BankHoliday
- getLocalDate(String) - Method in class com.version1.testdata.BankHoliday
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredChromeDriver
- getLocalDriver() - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredEdgeDriver
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredFirefoxDriver
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredInternetExplorerDriver
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSafariDriver
- getLocalDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSauceLabsGridDriver
- getLocale() - Method in class com.version1.testdata.BankHolidays
- getMetricsConfig() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredChromeDriver
- getOptions() - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredEdgeDriver
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredFirefoxDriver
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredInternetExplorerDriver
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSafariDriver
- getOptions() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSauceLabsGridDriver
- getPageLoadStrategy() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getPort() - Method in class com.version1.webdriver.configuration.GraphiteConfig
- getQueryRunner() - Method in class com.version1.DataBaseManagement.DatabaseHelper
-
Creates the instance of the QuerryRunner class QuerryRunner class executes SQL queries with pluggable strategies for handling ResultSets
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredChromeDriver
- getRemoteDriver() - Method in interface com.version1.webdriver.configuration.driver.ConfiguredDriver
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredEdgeDriver
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredFirefoxDriver
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredInternetExplorerDriver
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSafariDriver
- getRemoteDriver() - Method in class com.version1.webdriver.configuration.driver.ConfiguredSauceLabsGridDriver
- getRunType() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getSaucePlatform() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getSauceRemoteUrl() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getScreenshotDirectory() - Method in class com.version1.webdriver.results.ResultsManager
- getSecret(String, String) - Static method in class com.version1.secretsmanagement.SecretsManagement
-
Gets the secret from Azure key vault
- getSeleniumVersion() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getTemplateConfigs(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getTestConfigItem(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getTestId() - Method in class com.version1.tests.BaseAbstractTest
-
Provides a test ID that can be used to identify the test
- GetTextUtils - Class in com.version1.webdriver.utils
- GetTextUtils() - Constructor for class com.version1.webdriver.utils.GetTextUtils
- getTitle() - Method in class com.version1.testdata.BankHoliday
- getTolerantActionExceptions() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getTolerantActionWaitTimeoutInSeconds() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- getUnhandledPromptBehavior() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- getUsername() - Method in class com.version1.webdriver.configuration.SauceLabsCredentials
- getWaitTimeoutInSeconds() - Method in class com.version1.webdriver.configuration.TolerantActionExceptions
- getWebDriverWaitTimeout() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- GraphiteConfig - Class in com.version1.webdriver.configuration
-
A simple representation class for graphite configuration
- GraphiteConfig() - Constructor for class com.version1.webdriver.configuration.GraphiteConfig
- GRID - Enum constant in enum com.version1.webdriver.configuration.RunType
- GridConfig - Class in com.version1.webdriver.configuration
- GridConfig() - Constructor for class com.version1.webdriver.configuration.GridConfig
I
- IE - Enum constant in enum com.version1.webdriver.configuration.BrowserType
- invisibilityOfElementLocated(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element to be invisible
- invisibilityOfElementWithText(By, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element with text to be invisible
- isAcceptInsecureCerts() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isCapturePerformance() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isDateWithinTolerance(String, String, String, long) - Static method in class com.version1.testdata.Dates
-
Returns boolean result on if the two given dates are within the given tolerance
- isElementPresent(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks the presence of element
- isEnabled() - Method in class com.version1.webdriver.configuration.GraphiteConfig
- isEnabled() - Method in class com.version1.webdriver.configuration.JmxConfig
- isExtendedDebugging() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isHeadless() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- isRecordLogs() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isRecordScreenshots() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isRecordVideo() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isStrictFileInteractability() - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- isTakeScreenshotOnError() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- itemByHtmlValueAttribute(WebElement, String) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
-
Selects an option that has a matching value attribute in the Options tag markup
- itemByIndex(WebElement, int) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
-
Selects an option by the index of the option in the list.
- itemByVisibleText(WebElement, String) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
-
Selects an option by the text that is visible in the select box
J
- JavaScriptUtils - Class in com.version1.webdriver.utils
-
Utilities class providing support methods for executing JavaScript While this is straight forward, its less than obvious to newcomers.
- JmxConfig - Class in com.version1.webdriver.configuration
-
A simple representation class for JMX configuration
- JmxConfig() - Constructor for class com.version1.webdriver.configuration.JmxConfig
- JsonUtils - Class in com.version1.webdriver.utils
-
A simple class that helps serialize and deserialize JSON objects in various formats and inputs
L
- load(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfigurationLoader
- loadFromClasspathOrFileSystem(String) - Static method in class com.version1.webdriver.configuration.utils.FileLoaderUtils
-
Look for a file to load on a fully qualified path, or the classpath
- LOCAL - Enum constant in enum com.version1.webdriver.configuration.RunType
- Locale - Enum in com.version1.testdata
M
- MetricRegistryHelper - Class in com.version1.metrics
- MetricsConfig - Class in com.version1.webdriver.configuration
-
A simple representation class for Metrics configuration
- MetricsConfig() - Constructor for class com.version1.webdriver.configuration.MetricsConfig
- multipleLocatorMatchGetDisplayed(WebDriver, By) - Static method in class com.version1.webdriver.utils.FindByUtils
-
Finds the first element that is displayed with given locator.
N
- navigateToPreviousPageUsingBrowserBackButton(EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Navigates to the previous page using browser back button
- NORTHERN_IRELAND - Enum constant in enum com.version1.testdata.Locale
- northernIrelandHolidays(JsonNode) - Method in class com.version1.testdata.BankHolidays
- now(String) - Static method in class com.version1.testdata.Dates
-
Returns the current date for today
O
- onException(Throwable, WebDriver) - Method in class com.version1.webdriver.WebDriverListener
-
If we have an exception, lets create a screenshot so we can see the page as it happened.
P
- pastDate(String, int, String) - Static method in class com.version1.testdata.Dates
-
Returns a string that represents the date that is the given days behind of the start date
- presenceOfAllElementsLocatedBy(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks the presence of all elements
- printToleratedExceptions() - Method in class com.version1.webdriver.configuration.WebDriverConfig
- propagateIfNotIgnored(Throwable) - Method in class com.version1.webdriver.utils.TolerantExceptionHandler
-
Checks an input exception against a predefined list of tolerant exceptions.
R
- RadioButtonUtils - Class in com.version1.webdriver.utils
-
Utility methods to select radio buttons
- RadioButtonUtils() - Constructor for class com.version1.webdriver.utils.RadioButtonUtils
- reportsPath - Static variable in class com.version1.screenshots.CaptureScreenshots
- resultsManager - Static variable in class com.version1.tests.BaseAbstractTest
- ResultsManager - Class in com.version1.webdriver.results
-
Responsible for sorting out folders and anything else to do with reporting
- ResultsManager() - Constructor for class com.version1.webdriver.results.ResultsManager
- RunType - Enum in com.version1.webdriver.configuration
S
- SAFARI - Enum constant in enum com.version1.webdriver.configuration.BrowserType
- SAUCELABS - Enum constant in enum com.version1.webdriver.configuration.RunType
- SauceLabsConfig - Class in com.version1.webdriver.configuration
- SauceLabsConfig() - Constructor for class com.version1.webdriver.configuration.SauceLabsConfig
- SauceLabsConfigurationLoader - Class in com.version1.webdriver.configuration
- SauceLabsConfigurationLoader() - Constructor for class com.version1.webdriver.configuration.SauceLabsConfigurationLoader
- SauceLabsCredentials - Class in com.version1.webdriver.configuration
- SauceLabsCredentials() - Constructor for class com.version1.webdriver.configuration.SauceLabsCredentials
- SauceLabsCredentialsException - Exception Class in com.version1.exceptions
- SauceLabsCredentialsException() - Constructor for exception class com.version1.exceptions.SauceLabsCredentialsException
- SCOTLAND - Enum constant in enum com.version1.testdata.Locale
- scotlandHolidays(JsonNode) - Method in class com.version1.testdata.BankHolidays
- screenshotFile - Static variable in class com.version1.screenshots.CaptureScreenshots
- scrollIntoView(WebDriver, WebElement) - Static method in class com.version1.webdriver.utils.WindowUtils
-
Scrolls a given element into the Viewport view
- secretBuilder(String) - Static method in class com.version1.secretsmanagement.SecretsManagement
-
Authenticated the connection to the Azure Key Vault using KeyVault URL The authentication is done using Default credentials builder method
- SecretsManagement - Class in com.version1.secretsmanagement
-
SecretsManagement class providing support methods to access the secrets from Azure key vault Use this set access and delete the secrets from the Azure key vault
- SecretsManagement() - Constructor for class com.version1.secretsmanagement.SecretsManagement
- SelectBoxInteractionType - Enum in com.version1.webdriver.utils
- SelectBoxUtils - Class in com.version1.webdriver.utils
-
Utilities class providing support methods for Select Boxes While this is straight forward, its less than obvious to newcomers.
- SelectBoxUtils() - Constructor for class com.version1.webdriver.utils.SelectBoxUtils
- selectByLabel(List<WebElement>, String) - Static method in class com.version1.webdriver.utils.RadioButtonUtils
-
Given a list of WebElements that locate the labels of the radio buttons, finds the radio button with the given visible label text and selects it.
- SendKeysUtils - Class in com.version1.webdriver.utils
- SendKeysUtils() - Constructor for class com.version1.webdriver.utils.SendKeysUtils
- setAcceptInsecureCerts(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setBaseUrl(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
-
Aims to pull the baseUrl from the configuration file.
- setBrowserName(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setBrowserPreferences(Map<String, ObjectNode>) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setBrowserType(BrowserType) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setBrowserType(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setBrowserVersion(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setCapturePerformance(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setClipboardData(String) - Static method in class com.version1.webdriver.utils.WebDriverUtils
-
Sets the Clip board data
- setEnabled(boolean) - Method in class com.version1.webdriver.configuration.GraphiteConfig
- setEnabled(boolean) - Method in class com.version1.webdriver.configuration.JmxConfig
- setEnglandAndWalesHolidays(JsonNode) - Method in class com.version1.testdata.BankHolidays
- setExceptionsToHandle(List<String>) - Method in class com.version1.webdriver.configuration.TolerantActionExceptions
- setExtendedDebugging(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setGraphiteConfig(GraphiteConfig) - Method in class com.version1.webdriver.configuration.MetricsConfig
- setGridConfig(GridConfig) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setGridUrl(String) - Method in class com.version1.webdriver.configuration.GridConfig
- setHeadless(boolean) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setHost(String) - Method in class com.version1.webdriver.configuration.GraphiteConfig
- setJmxConfig(JmxConfig) - Method in class com.version1.webdriver.configuration.MetricsConfig
- setLocalDate(String) - Method in class com.version1.testdata.BankHoliday
- setLocale(String) - Method in class com.version1.testdata.BankHolidays
- setMetricsConfig(MetricsConfig) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setPageLoadStrategy(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setPort(int) - Method in class com.version1.webdriver.configuration.GraphiteConfig
- setRecordLogs(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setRecordScreenshots(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setRecordVideo(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setResultsDirectory(File) - Method in class com.version1.webdriver.WebDriverBuilder
- setRunType(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setSaucePlatform(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setSauceRemoteUrl(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setScreenshotDirectory(File) - Method in class com.version1.webdriver.WebDriverListener
-
Sets the screenshot target directory that will be used for screenshots generated inside onException()
- setSecret(String, String, String) - Static method in class com.version1.secretsmanagement.SecretsManagement
-
Sets the secret in the Azure key vault
- setSeleniumVersion(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setStrictFileInteractability(boolean) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setTakeScreenshotOnError(boolean) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setTemplateConfigs(Map<String, ObjectNode>) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setTestConfig(JsonNode) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setTitle(String) - Method in class com.version1.testdata.BankHoliday
- setTolerantActionExceptions(TolerantActionExceptions) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- setUnhandledPromptBehavior(String) - Method in class com.version1.webdriver.configuration.SauceLabsConfig
- setUp() - Method in class com.version1.tests.BaseAbstractSauceLabsTest
-
This will run before EVERY @Test that extends this class The method will create a new instance of WebDriver and a browser and open Google.com This ensures we always have a fresh browser window and a guaranteed starting point
- setUp() - Method in class com.version1.tests.BaseAbstractTest
-
This will run before EVERY @Test that extends this class The method will create a new instance of WebDriver and a browser and open Google.com This ensures we always have a fresh browser window and a guaranteed starting point
- setUpConnection() - Static method in class com.version1.DataBaseManagement.DatabaseHelper
-
Steps up the connection to the database using the jdbc configurations
- setWaitTimeoutInSeconds(String) - Method in class com.version1.webdriver.configuration.TolerantActionExceptions
- setWebDriverWaitTimeout(String) - Method in class com.version1.webdriver.configuration.WebDriverConfig
- stalenessOf(WebElement, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Wait until an element is no longer attached to the DOM
T
- targetFile - Static variable in class com.version1.screenshots.CaptureScreenshots
- targetLocation - Static variable in class com.version1.screenshots.CaptureScreenshots
- tearDown() - Method in class com.version1.tests.BaseAbstractSauceLabsTest
-
This will run after EVERY @Test that extends this class The method will close the current browser and WebDriver instance down This ensures we have cleaned up after ourselves (this happens even if the test fails)
- tearDown() - Method in class com.version1.tests.BaseAbstractTest
-
This will run after EVERY @Test that extends this class The method will close the current browser and WebDriver instance down This ensures we have cleaned up after ourselves (this happens even if the test fails)
- testClassName - Static variable in class com.version1.screenshots.CaptureScreenshots
- TestConfigHelper - Class in com.version1.webdriver.configuration
- testNGScreenshots(ITestResult, EventFiringWebDriver, String) - Static method in class com.version1.screenshots.CaptureScreenshots
-
Capture screenshot whenever there is failure of a test method in testng
- textToBePresentInElement(WebElement, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks the text to be present in the Element
- textToBePresentInElementLocated(By, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given text is present in the element that matches the given locator
- textToBePresentInElementValue(By, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given text is present in the specified elements value attribute
- textToBePresentInElementValue(WebElement, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks if the given text is present in the specified elements value attribute
- TolerantActionExceptions - Class in com.version1.webdriver.configuration
- TolerantActionExceptions() - Constructor for class com.version1.webdriver.configuration.TolerantActionExceptions
- tolerantClear(WebElement) - Static method in class com.version1.webdriver.utils.ClearUtils
- tolerantClear(WebElement, int) - Static method in class com.version1.webdriver.utils.ClearUtils
- tolerantClick(WebDriver, By) - Static method in class com.version1.webdriver.utils.ClickUtils
- tolerantClick(WebElement) - Static method in class com.version1.webdriver.utils.ClickUtils
- tolerantClick(WebElement, int) - Static method in class com.version1.webdriver.utils.ClickUtils
- TolerantExceptionHandler - Class in com.version1.webdriver.utils
- TolerantExceptionHandler(List<String>) - Constructor for class com.version1.webdriver.utils.TolerantExceptionHandler
- TolerantExceptionHandler(List<String>, Logger) - Constructor for class com.version1.webdriver.utils.TolerantExceptionHandler
- tolerantGetAttribute(WebElement, String) - Static method in class com.version1.webdriver.utils.GetAttributeUtils
- tolerantGetAttribute(WebElement, String, int) - Static method in class com.version1.webdriver.utils.GetAttributeUtils
- tolerantGetText(WebElement) - Static method in class com.version1.webdriver.utils.GetTextUtils
- tolerantGetText(WebElement, int) - Static method in class com.version1.webdriver.utils.GetTextUtils
- tolerantInteraction(List<WebElement>, String, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteraction(WebDriver, By, SelectBoxInteractionType, Optional<String>, Optional<Integer>, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteraction(WebDriver, By, Optional<String>, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteraction(WebElement, SelectBoxInteractionType, Optional<String>, Optional<Integer>, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteraction(WebElement, Optional<String>, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- TolerantInteraction - Class in com.version1.webdriver.utils
- TolerantInteraction() - Constructor for class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteractionToClear(WebElement, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteractionToGetAttribute(WebElement, String, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantInteractionToGetText(WebElement, int) - Method in class com.version1.webdriver.utils.TolerantInteraction
- tolerantItemByHtmlValueAttribute(WebElement, String) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByHtmlValueAttribute(WebElement, String, int) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByIndex(WebElement, int) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByIndex(WebElement, int, int) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByVisibleText(WebDriver, By, String) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByVisibleText(WebElement, String) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantItemByVisibleText(WebElement, String, int) - Static method in class com.version1.webdriver.utils.SelectBoxUtils
- tolerantSelectByLabel(List<WebElement>, String) - Static method in class com.version1.webdriver.utils.RadioButtonUtils
- tolerantSelectByLabel(List<WebElement>, String, int) - Static method in class com.version1.webdriver.utils.RadioButtonUtils
- tolerantType(WebElement, String) - Static method in class com.version1.webdriver.utils.SendKeysUtils
- tolerantType(WebElement, String, int) - Static method in class com.version1.webdriver.utils.SendKeysUtils
- toString(Object) - Static method in class com.version1.webdriver.utils.JsonUtils
-
Serializes a given object instance into a JSON and returns it as a String
V
- valueOf(String) - Static method in enum com.version1.testdata.Locale
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.version1.webdriver.configuration.BrowserType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.version1.webdriver.configuration.RunType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.version1.webdriver.utils.SelectBoxInteractionType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.version1.testdata.Locale
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.version1.webdriver.configuration.BrowserType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.version1.webdriver.configuration.RunType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.version1.webdriver.utils.SelectBoxInteractionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- visibilityOf(WebElement, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks the visibility of elements
- visibilityOfAllElements(List<WebElement>, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for all expected elements to be visible
- visibilityOfAllElementsLocatedBy(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for all expected elements to be visible
W
- wait - Variable in class com.version1.pageobjects.BasePageObject
- Wait(EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
- waitClearEnterText(By, String, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits before clearing the text field and then enters the text
- waitForAlert(EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Checks and waits for the presence of alert
- waitForExpectedElement(By, long, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element to be visible till provided wait time in seconds
- waitForExpectedElement(By, EventFiringWebDriver) - Method in class com.version1.webdriver.utils.WebDriverUtils
-
Waits for the expected element to be visible
- webDriver - Variable in class com.version1.pageobjects.BasePageObject
- webDriver - Variable in class com.version1.tests.BaseAbstractSauceLabsTest
- webDriver - Variable in class com.version1.tests.BaseAbstractTest
- WebDriverBuilder - Class in com.version1.webdriver
-
This class uses the Builder Pattern to construct its options.
- WebDriverBuilder() - Constructor for class com.version1.webdriver.WebDriverBuilder
- WebDriverConfig - Class in com.version1.webdriver.configuration
-
A simple representation object for the "./src/test/resources/config.json" file
- WebDriverConfig() - Constructor for class com.version1.webdriver.configuration.WebDriverConfig
- WebDriverListener - Class in com.version1.webdriver
-
This class allows us hooks into before and afters of a lot of WebDriver internals This is a great way to capture screenshots and add conditional waits to actions without making tests and page objects have superfluous code to do these things.
- WebDriverListener() - Constructor for class com.version1.webdriver.WebDriverListener
- WebDriverUtils - Class in com.version1.webdriver.utils
-
WebDriver Utility class with helper methods for web element locators WebDriver explicit waits
- WebDriverUtils() - Constructor for class com.version1.webdriver.utils.WebDriverUtils
- WindowUtils - Class in com.version1.webdriver.utils
-
Handles window utilities (like scrolling etc)
All Classes and Interfaces|All Packages|Serialized Form