FlexObject Property

Applies to TestComplete 15.68, last modified on October 03, 2024
This property is not supported in web tests (including cross-platform web tests) that use XPath expressions and CSS selectors to locate web elements. This property can be only used in tests that locate web objects by using internal identification properties provided by TestComplete.

Description

This property returns a special object that provides a scripting interface to native members of the underlying Flash or Flex object. Using this property, you can access public native methods and properties of the Flash or Flex object and use them in your tests.

Declaration

TestObj.FlexObject

Read-Only Property Object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

This property is applied to all the Flash and Flex objects.

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

An object that lists public native methods and properties of the underlying Flash or Flex object and provides scripting access to them.

Example

To view an example that demonstrates how to use the FlexObject property, see Accessing Native Properties and Methods of Flash and Flex Objects.

See Also

Caption Property (Flash and Flex Objects)

Highlight search results