Stores.Exists Method

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

Description

Use this method to check whether the Stores project item contains the Files, Objects, Regions or XML collection. If the specified collection does not exist, you can create it using the Stores.Create method.

Declaration

Stores.Exists(NodeName)

NodeName [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

NodeName

Specifies the name of the collection whose existence in the Stores project item you want to check. This parameter can have one of the following values:

  • Files
  • Objects
  • Regions
  • XML

Result Value

The method returns True if the current project contains the Stores project item and the specified collection exists in this item; otherwise False.

See Also

Create Method
Stores
Files
About Objects Collection
About Regions Collection
About XML Collection

Highlight search results