Log Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Log support for the framework and test cases.
Inheritance Hierarchy

SystemObject
  ArtOfTest.WebAii.CoreLog

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

public class Log : IDisposable

The Log type exposes the following members.

Properties

  NameDescription
Public propertyFileName
Full file name of the log file. Empty if Settings.CreateLogFile = false
Public propertyLogLocation
The log location on disk the log files are stored. Empty if Settings.CreateLogFile = false.
Public propertyText
Log file contents. This is a snap shot the Log file contents runtime.
Top
Methods

  NameDescription
Public methodCaptureBrowser(Browser)
Captures a visual snap shot of a specified browser instance and logs it to the log location. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureBrowser(Browser, String)
Captures a visual snap shot of a specified browser instance and logs it to the log location. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureBrowser(Browser, String, Boolean)
Captures a visual snap shot of a specified browser instance and logs it to the log location. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureDesktop
Captures the entire desktop to the log location. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureDesktop(String)
Captures the entire desktop to the log location with custom prefix to the file name. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureDesktop(String, Boolean)
Captures the entire desktop to the log location with custom prefix to the file name. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureWindow(WpfWindow, String)
Captures a visual snap shot of a specified wpf window instance. Default path is C:\WebAiiLog, supported only if Settings.CreateLogFile is set to true and the Manager is initialized with test settings (add test settings to the test project). Not available in quick execution (no settings file).
Public methodCaptureWindow(WpfWindow, String, Boolean)
Public methodDispose
Dispose of this object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteLine(String)
Write a line to the log file.
Public methodWriteLine(LogType, String)
Log information to the event log.
Top
Events

  NameDescription
Public eventLogWrite
This event is invoked everytime a Log.WriteLine is invoked. External frameworks can attach to this event to capture logs from this framework to help unify their logging.
Top
See Also

Reference