Click or drag to resize

BaseConfiguration Class

Framework to automate tests using Selenium WebDriver
SeleniumConfiguration that consume settings file file More details on wiki.
Inheritance Hierarchy
SystemObject
  OcarambaBaseConfiguration

Namespace: Ocaramba
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static class BaseConfiguration
Request Example

The BaseConfiguration type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberChromeBrowserExecutableLocation Gets the path and file name of the Chrome browser executable.
Public propertyStatic memberDownloadFolder Gets the download folder key value.
Public propertyStatic memberEdgeChromiumBrowserExecutableLocation Gets the path and file name of the Edge Chromium browser executable. Default value "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe".
Public propertyStatic memberEnableEventFiringWebDriver Gets a value indicating whether enable EventFiringWebDriver.
Public propertyStatic memberEnableVerboseLoggingChrome Gets a value indicating whether enable verbose logging for Chrome. False by default.
Public propertyStatic memberFirefoxBrowserExecutableLocation Gets the path and file name of the Firefox browser executable.
Public propertyStatic memberFtpProxy Gets the ftp proxy.
Public propertyStatic memberFullDesktopScreenShotEnabled Gets a value indicating whether enable full desktop screen shot. False by default.
Public propertyStatic memberGetPageSourceEnabled Gets a value indicating whether [get page source enabled].
Public propertyStatic memberCode exampleGetUrlValue Gets the URL value 'Protocol://HostURL'.
Public propertyStatic memberCode exampleGetUrlValueWithUserCredentials Gets the URL value with user credentials 'Protocol://Username:Password@HostURL'.
Public propertyStatic memberHost Gets the application host name.
Public propertyStatic memberHttpProxy Gets the http proxy.
Public propertyStatic memberImplicitlyWaitMilliseconds Gets the Implicitly Wait time [milliseconds].
Public propertyStatic memberJavaScriptErrorLogging Gets a value indicating whether logs JavaScript errors from a browser. False by default.
Public propertyStatic memberJavaScriptErrorTypes Gets JavaScript error types from a browser. "SyntaxError,EvalError,ReferenceError,RangeError,TypeError,URIError,Refused to display,Internal Server Error,Cannot read property" by default.
Public propertyStatic memberCode exampleLongTimeout Gets the page load waiting time [seconds].
Public propertyStatic memberCode exampleMediumTimeout Gets the java script or ajax waiting time [seconds].
Public propertyStatic memberPageSourceFolder Gets the page source folder key value.
Public propertyStatic memberPassword Gets the password.
Public propertyStatic memberPathToChromeDriverDirectory Gets specified path to the directory containing ChromeDriver.
Public propertyStatic memberPathToChromeDriverLog Gets specified path to the file of Chrome driver log. "C:\\Temp\\chromedriver.log" by Default.
Public propertyStatic memberPathToEdgeChromiumDriverDirectory Gets specified path to the directory containing Edge Chromium Driver, name of driver msedgedriver.exe. Default value "C:\Temp\Drivers".
Public propertyStatic memberPathToFirefoxDriverDirectory Gets specified path to the directory containing Firefox Driver.
Public propertyStatic memberPathToFirefoxProfile Gets the path to firefox profile.
Public propertyStatic memberPathToInternetExplorerDriverDirectory Gets specified path to the directory containing InternetExplorer Driver.
Public propertyStatic memberProtocol Gets the application protocol (http or https).
Public propertyStatic memberProxy Gets the browser proxy.
Public propertyStatic memberRemoteWebDriverHub Gets the Remote Web Driver hub url.
Public propertyStatic memberRemoteWebDriverTimeout Gets time used by remote web driver to wait for connection.
Public propertyStatic memberScreenShotFolder Gets the screen shot folder key value.
Public propertyStatic memberSeleniumScreenShotEnabled Gets a value indicating whether enable full desktop screen shot. True by default.
Public propertyStatic memberCode exampleShortTimeout Gets the assertion waiting time [seconds].
Public propertyStatic memberSocksProxy Gets the socket proxy.
Public propertyStatic memberSslProxy Gets the ssl proxy.
Public propertyStatic memberSynchronizationWithAngularEnabled Gets a value indicating whether enable AngularJS synchronization. False by default.
Public propertyStatic memberCode exampleTestBrowser Gets the Driver.
Public propertyStatic memberTestBrowserCapabilities Gets the Driver capabilities.
Public propertyStatic memberUrl Gets the url.
Public propertyStatic memberUseCurrentDirectory Gets a value indicating whether use CurrentDirectory for path where assembly files are located.
Public propertyStatic memberUsername Gets the username.
Top
See Also