OpenProject Method

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

Use the OpenProject method to load the specified AQtime project (.aqt file) in AQtime.

Declaration

AQtimeObj.OpenProject(ProjectFileName)

AQtimeObj An expression, variable or parameter that specifies a reference to an AQtime object
ProjectFileName [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

ProjectFileName

String that specifies the path and name of the project file to be opened.

Result Value

True, if the project was opened successfully; False otherwise.

Remarks

If you pass an empty string to the ProjectFileName parameter, and if AQtime’s Auto-open last project option is enabled, the method will launch AQtime and load the last-opened project in it. If this option is disabled, the method will launch AQtime and will not load any project. In both cases the method will return True.

Example

To view an example, see the Integration With AQtime Using the AQtimeIntegration and AQtime Objects help topic.

See Also

Close Method
SaveProject Method
CreateProjectFromModule Method
Attach Method
StartProfiling Method

Highlight search results