FlashLogFilePath Property

Applies to TestComplete 14.40, last modified on April 22, 2021

Description

A path to Flash Player log file (flashlog.txt).

Declaration

FlashSettingsObj.FlashLogFilePath

Read-Only Property String
FlashSettingsObj An expression, variable or parameter that specifies a reference to a FlashSettings object

Applies To

The property is applied to the following object:

Property Value

A fully qualified path to Flash Player log file.

Remarks

The property returns the path to the log file of Flash Player for Internet Explorer and Firefox.

The log file of Flash Player for Google Chrome is located at –

<System_Drive>\<Users>\<User_name>\AppData\Local\Google\Chrome\User Data\Default\Pepper Data\Shockwave Flash\WritableRoot\Logs\flashlog.txt

Example

The code below obtains the path to the flashlog.txt file and posts it to the test log.

JavaScript, JScript

function FlashLog()
{
  var sPath = Options.FlashSettings.FlashLogFilePath;
  Log.Message(sPath);
}

Python

def FlashLog():
  sPath = Options.FlashSettings.FlashLogFilePath
  Log.Message(sPath)

VBScript

Sub FlashLog()
Dim sPath
  sPath = Options.FlashSettings.FlashLogFilePath
  Log.Message sPath
End Sub

DelphiScript

function FlashLog;
var sPath: OleVariant;
begin
  sPath := Options.FlashSettings.FlashLogFilePath;
  Log.Message(sPath);
end;

C++Script, C#Script

function FlashLog()
{
  var sPath = Options["FlashSettings"]["FlashLogFilePath"];
  Log["Message"](sPath);
}

See Also

FlashSettings Object Properties
FlashSettings Object
Testing Flash and Flex Applications with the Debug Version of Flash Player - Overview

Highlight search results