BaseWpfTest Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Base test class for all WebAii unit/coded tests.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.TestTemplatesBaseWpfTest

Namespace:  ArtOfTest.WebAii.TestTemplates
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public abstract class BaseWpfTest : IDisposable

The BaseWpfTest type exposes the following members.

Constructors

  NameDescription
Protected methodBaseWpfTest
Initializes a new instance of the BaseWpfTest class
Top
Properties

  NameDescription
Public propertyActiveApplication
Gets the ActiveBrowser object. (The last browser launched).
Public propertyDesktop
Gets the Desktop object from the Manager.
Public propertyElements
Gets the Elements finder to be used to access elements defined by FindAttribute on the test method or class.
Public propertyLog
Gets the Log object associated with the Manager.
Public propertyManager
Gets the Manager object.
Public propertyWait
Gets a wait object that can be used to wait on specific actions or opertions.
Top
Methods

  NameDescription
Public methodCleanUp
Shut down and clean-up.
Public methodDispose
Dispose of this test and all of its resources. This method simply calls the CleanUp() method.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberCode exampleGetSettings
This method reads the settings object from the App.Config file and returns a Settings object.
Examples

The following is a sample config file that holds certain settings. Any settings not specified in this section, their values will be set to the system defaults: <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler,ArtOfTest.WebAii, Version=x.x.xxx.x, Culture=neutral, PublicKeyToken=4FD5F65BE123776C"/> </configSections> <WebAii.Settings /// logLocation="D:\Log\" executionTimeout="60000" clientReadyTimeout="50000" /> </configuration>
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initialize this test case object.
Public methodInitialize(String)
Initialize this test case object.
Public methodInitialize(Settings)
Initialize this test case object.
Public methodInitialize(TestContextWriteLine)
Initialize this test case object.
Public methodInitialize(String, TestContextWriteLine)
Initialize this test case object.
Public methodInitialize(Settings, TestContextWriteLine)
Initialize this test case object.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetTestMethod
Set the TestMethod executing so that WebAii can extract its attributes.
Public methodStatic memberShutDown
Shut down all instances if recycle brower is set.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference