Stores.Create Method

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

Use this method to create the Files, Objects, Regions or XML collection in the Stores project item. After you have created the desired collection, you can manage it using the Files, Objects, Regions or XML scripting object, respectively. For example, you can add new items to the collection using the Add method.

To check whether the Stores project item contains a specific collection, use the Stores.Exists method.

Declaration

Stores.Create(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 that you wish to create in the Stores project item. This parameter can have one of the following values:

  • Files
  • Objects
  • Regions
  • XML

Result Value

The method returns True if the collection was successfully created in the Stores. Otherwise False.

If the Stores project item already includes the specified collection, the method returns False as well.

See Also

Exists Method
Stores
Files
About Objects Collection
About Regions Collection
About XML Collection
Files Object
Objects Object
Regions Object
XML Object

Highlight search results