Show / Hide Table of Contents

Class GPALSettings

Inheritance
System.Object
GPALSettings
Implements
IAllowGPALSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: GenerallyPositive
Assembly: GPAL.dll
Syntax
public class GPALSettings : IAllowGPALSettings

Properties

AutoUpdateWebDriver

Declaration
public bool AutoUpdateWebDriver { get; }
Property Value
Type Description
System.Boolean

ChromeDriverFilename

Declaration
public string ChromeDriverFilename { get; }
Property Value
Type Description
System.String

ChromeDriverUpdateURL

Declaration
public string ChromeDriverUpdateURL { get; }
Property Value
Type Description
System.String

ChromeDriverXpathExpression

Declaration
public string ChromeDriverXpathExpression { get; }
Property Value
Type Description
System.String

ChromeDriverZipFilename

Declaration
public string ChromeDriverZipFilename { get; }
Property Value
Type Description
System.String

ChromeVersionRegistry

Declaration
public string ChromeVersionRegistry { get; }
Property Value
Type Description
System.String

DriverLocation

Declaration
public string DriverLocation { get; }
Property Value
Type Description
System.String

EdgeDriverFilename

Declaration
public string EdgeDriverFilename { get; }
Property Value
Type Description
System.String

EdgeDriverSelectorDynamicPart

Declaration
public string EdgeDriverSelectorDynamicPart { get; }
Property Value
Type Description
System.String

EdgeDriverUpdateURL

Declaration
public string EdgeDriverUpdateURL { get; }
Property Value
Type Description
System.String

EdgeDriverXpathExpression

Declaration
public string EdgeDriverXpathExpression { get; }
Property Value
Type Description
System.String

EdgeDriverZipFilename

Declaration
public string EdgeDriverZipFilename { get; }
Property Value
Type Description
System.String

EdgeVersionRegistry

Declaration
public string EdgeVersionRegistry { get; }
Property Value
Type Description
System.String

ErrorPlaceholder

Declaration
public string ErrorPlaceholder { get; }
Property Value
Type Description
System.String

FirefoxBinaryPathRegistry

Declaration
public string FirefoxBinaryPathRegistry { get; }
Property Value
Type Description
System.String

FirefoxDirectDownloadMimeTypes

Declaration
public string FirefoxDirectDownloadMimeTypes { get; }
Property Value
Type Description
System.String

FirefoxDriverFilename

Declaration
public string FirefoxDriverFilename { get; }
Property Value
Type Description
System.String

FirefoxDriverShowAllXpath

Declaration
public string FirefoxDriverShowAllXpath { get; }
Property Value
Type Description
System.String

FirefoxDriverUpdateURL

Declaration
public string FirefoxDriverUpdateURL { get; }
Property Value
Type Description
System.String

FirefoxDriverXpath

Declaration
public string FirefoxDriverXpath { get; }
Property Value
Type Description
System.String

FirefoxDriverZipFilename

Declaration
public string FirefoxDriverZipFilename { get; }
Property Value
Type Description
System.String

FirefoxVersionRegistry

Declaration
public string FirefoxVersionRegistry { get; }
Property Value
Type Description
System.String

FirefoxVersionRegistry2

Declaration
public string FirefoxVersionRegistry2 { get; }
Property Value
Type Description
System.String

MatchingPercentage

Declaration
public int MatchingPercentage { get; }
Property Value
Type Description
System.Int32

NoFallbackRecoveryActions

Declaration
public bool NoFallbackRecoveryActions { get; }
Property Value
Type Description
System.Boolean

OttoMagicExtensionID

Declaration
public string OttoMagicExtensionID { get; }
Property Value
Type Description
System.String

OttoMagicExtensionPath

Declaration
public string OttoMagicExtensionPath { get; }
Property Value
Type Description
System.String

PromptBeforeUnexpectedExit

Declaration
public bool PromptBeforeUnexpectedExit { get; }
Property Value
Type Description
System.Boolean

PublishStackTrace

Declaration
public bool PublishStackTrace { get; }
Property Value
Type Description
System.Boolean

PublishToConsole

Declaration
public bool PublishToConsole { get; }
Property Value
Type Description
System.Boolean

PublishToDatabase

Declaration
public GPALDatabase PublishToDatabase { get; }
Property Value
Type Description
GPALDatabase

PublishToDebug

Declaration
public bool PublishToDebug { get; }
Property Value
Type Description
System.Boolean

SeleniumTopsBrowser

Declaration
public bool SeleniumTopsBrowser { get; }
Property Value
Type Description
System.Boolean

SimulateMouse

Declaration
public bool SimulateMouse { get; }
Property Value
Type Description
System.Boolean

StopOnNotFound

Declaration
public bool StopOnNotFound { get; }
Property Value
Type Description
System.Boolean

TypingDelay

Declaration
public int TypingDelay { get; }
Property Value
Type Description
System.Int32

UseHardware

Declaration
public bool UseHardware { get; }
Property Value
Type Description
System.Boolean

UseJavaScript

Declaration
public bool UseJavaScript { get; }
Property Value
Type Description
System.Boolean

UserAgent

Declaration
public string UserAgent { get; }
Property Value
Type Description
System.String

Version

Declaration
public string Version { get; }
Property Value
Type Description
System.String

WaitForInTicks

Declaration
public int WaitForInTicks { get; }
Property Value
Type Description
System.Int32

Methods

AppCallIfFound(Application.CallIfDelegate)

Declaration
public IAllowGPALSettings AppCallIfFound(Application.CallIfDelegate callIfFound)
Parameters
Type Name Description
Application.CallIfDelegate callIfFound
Returns
Type Description
IAllowGPALSettings

AppCallIfNotFound(Application.CallIfDelegate)

Declaration
public IAllowGPALSettings AppCallIfNotFound(Application.CallIfDelegate callIfNotFound)
Parameters
Type Name Description
Application.CallIfDelegate callIfNotFound
Returns
Type Description
IAllowGPALSettings

CallIfFound(Browser.CallIfDelegate)

Declaration
public IAllowGPALSettings CallIfFound(Browser.CallIfDelegate callIfFound)
Parameters
Type Name Description
Browser.CallIfDelegate callIfFound
Returns
Type Description
IAllowGPALSettings

CallIfNotFound(Browser.CallIfDelegate)

Declaration
public IAllowGPALSettings CallIfNotFound(Browser.CallIfDelegate callIfNotFound)
Parameters
Type Name Description
Browser.CallIfDelegate callIfNotFound
Returns
Type Description
IAllowGPALSettings

Clear()

Clear all settings - for testing

Declaration
public void Clear()

Initialize()

Inintialize with default values

Declaration
public void Initialize()

WithAutoUpdateWebDriver(Boolean)

Declaration
public IAllowGPALSettings WithAutoUpdateWebDriver(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithDefaultErrorPlaceholder(String)

Declaration
public IAllowGPALSettings WithDefaultErrorPlaceholder(string message = "##UNABLE TO GET##")
Parameters
Type Name Description
System.String message
Returns
Type Description
IAllowGPALSettings

WithDriverLocation(String)

Declaration
public IAllowGPALSettings WithDriverLocation(string driverPath)
Parameters
Type Name Description
System.String driverPath
Returns
Type Description
IAllowGPALSettings

WithExceptionHandler(EventHandler<GPAL.GPALEventArgs>)

Declaration
public IAllowGPALSettings WithExceptionHandler(EventHandler<GPAL.GPALEventArgs> eventHandler)
Parameters
Type Name Description
System.EventHandler<GPAL.GPALEventArgs> eventHandler
Returns
Type Description
IAllowGPALSettings

WithImageMatchingPercentage(Int32)

Declaration
public IAllowGPALSettings WithImageMatchingPercentage(int matchPercent)
Parameters
Type Name Description
System.Int32 matchPercent
Returns
Type Description
IAllowGPALSettings

WithInformationHandler(EventHandler<GPAL.GPALEventArgs>)

Declaration
public IAllowGPALSettings WithInformationHandler(EventHandler<GPAL.GPALEventArgs> eventHandler)
Parameters
Type Name Description
System.EventHandler<GPAL.GPALEventArgs> eventHandler
Returns
Type Description
IAllowGPALSettings

WithNoFallbackActions(Boolean)

Declaration
public IAllowGPALSettings WithNoFallbackActions(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithPromptBeforeUnexpectedExit(Boolean)

Declaration
public IAllowGPALSettings WithPromptBeforeUnexpectedExit(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithPublishStackTrace(Boolean)

Declaration
public IAllowGPALSettings WithPublishStackTrace(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithPublishToConsole(Boolean)

Declaration
public IAllowGPALSettings WithPublishToConsole(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithPublishToDatabase(GPALDatabase)

Declaration
public IAllowGPALSettings WithPublishToDatabase(GPALDatabase database)
Parameters
Type Name Description
GPALDatabase database
Returns
Type Description
IAllowGPALSettings

WithPublishToDebug(Boolean)

Declaration
public IAllowGPALSettings WithPublishToDebug(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithSeleniumToppingBrowser(Boolean)

Declaration
public IAllowGPALSettings WithSeleniumToppingBrowser(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithSimulateMouse(Boolean)

Declaration
public IAllowGPALSettings WithSimulateMouse(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithStopOnNotFound(Boolean)

Declaration
public IAllowGPALSettings WithStopOnNotFound(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithTypingDelay(Int32)

Declaration
public IAllowGPALSettings WithTypingDelay(int delayInTicks)
Parameters
Type Name Description
System.Int32 delayInTicks
Returns
Type Description
IAllowGPALSettings

WithUseHardware(Boolean)

Declaration
public IAllowGPALSettings WithUseHardware(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithUseJavaScript(Boolean)

Declaration
public IAllowGPALSettings WithUseJavaScript(bool trueFalse = true)
Parameters
Type Name Description
System.Boolean trueFalse
Returns
Type Description
IAllowGPALSettings

WithUseOttoMagic(String)

Declaration
public IAllowGPALSettings WithUseOttoMagic(string ottoMagicExtensionPath)
Parameters
Type Name Description
System.String ottoMagicExtensionPath
Returns
Type Description
IAllowGPALSettings

WithWaitFor(Int32)

Global setting to wait for time in ticks for an element to show up. Applied to every element in every workflow. Override in a unit of work using this pattern .WithSelector(select0or) .WaitFor(waitForInTicks) .LeftClick() NOTE: shortcut actions like LeftClick{selector) will not waitfor and no syntax will make them wait except this global setting

Declaration
public IAllowGPALSettings WithWaitFor(int waitForInTicks)
Parameters
Type Name Description
System.Int32 waitForInTicks
Returns
Type Description
IAllowGPALSettings

Implements

IAllowGPALSettings
In This Article
Back to top Generated by DocFX