This topic describes the changes made to TestComplete 4.24. For information on the changes made to other versions of the product, see Version History.
TestComplete introduced a number of program objects which let you access the log contents from scripts. You can use this feature, for example, if you need to export the test log to a custom format different from the formats offered by TestComplete. For more information, see Access Test Log Contents from Tests.
In previous versions, TestComplete stored the list of test logs in the project or project suite file. Now it stores the list of project suite and project logs in a separate .tcLogs file in the <ProjectSuite_Folder>\Logs or <Project_Folder>\Logs subfolder respectively. This allows you to run write-protected project suites or projects, because TestComplete does not have to rewrite the project suite or project file in order to save test run results. For example, you can run a project suite or project which you take from the source control system without checking it out.
Two new properties -
ClrFullClassNamehave been added to objects of .NET applications created with Microsoft Windows Forms or Borland VCL.NET libraries. The
ClrClassNameproperty returns the object’s class name specified in the application code. The
ClrFullClassNameproperty holds the object’s full class name (including the namespace). You can find values of these properties in the Object Browser and then use them for obtaining the desired object from scripts using the
A new method
RefreshMappingInfohas been added to name mapping items. It updates the values of properties stored in the name mapping item and used for recognition of the mapped object, according to the current object state.
Now you can work with test items defined in your project from scripts. Using the
Project.TestItemsproperty, you can get the scripting access to project’s test items. See Tests, Test Items, and Test Cases for more information.
BuiltIn.SaveStrToFilemethod was changed. Now it has an optional parameter that lets you specify whether to append the string to the existing file or to rewrite the file. See method description for details.
Now you can specify default parameter values in DelphiScript functions. For more information, see DelphiScript - Functions and Procedures.
A number of bugs have been fixed.