Features Added to TestComplete 4.24

Applies to TestComplete 15.64, last modified on May 16, 2024

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.

  • The Options object now lets you change the project’s Tree model option as well as the TestComplete test log and visualizer options from scripts. See the Options object description.

  • Two new properties - ClrClassName and ClrFullClassName have been added to objects of .NET applications created with Microsoft Windows Forms or Borland VCL.NET libraries. The ClrClassName property returns the object’s class name specified in the application code. The ClrFullClassName property 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 WinFormsObject, WaitWinFormsObject, VCLNETObject or WaitVCLNETObject method.

  • A new method RefreshMappingInfo has 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.TestItems property, you can get the scripting access to project’s test items. See Tests, Test Items, and Test Cases for more information.

  • The BuiltIn.SaveStrToFile method 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.

  • Now you can export only the desired part of the test log to HTML, XML or MHT. See Exporting Test Results for details.

  • A number of bugs have been fixed.

See Also

Version History

Highlight search results