Features Object

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

Description

This object provides a scripting interface to BDD feature files defined in your test project. You use it as an entry point to the tree-like structure of BDD-related scripting objects: features, scenarios, and tags.

Members

The object has the following properties:

Member Description
Count

Returns the number of feature files in your project.

Item(Index)

Returns a Feature object that provides a scripting interface to an individual feature file of your project.

Index specifies a zero-based index of the desired feature file in the collection of the feature files.

Example

You can find examples of using the Features object in the following topics:

See Also

Behavior-Driven Development (BDD) With TestComplete
Scripting

Highlight search results