Features Added to TestComplete 3.01

Applies to TestComplete 15.69, last modified on November 13, 2024

This topic describes the changes made to TestComplete 3.01. For information on the changes made to other versions of the product, see Version History.

TestComplete Services

  • HTTP Load Testing improvements: now you can easily modify the parameters of the HTTP requests and check the properties of the responses the server sends on these requests:
    • TestComplete now provides access to the request properties and variables from scripts. Each HTTPRequest object now contains the Variables property for this. See also Variables Object.
    • TestComplete provides access to the fields of the ContentDisposition structure (Web browsers use this structure to send the data of the Web forms to the server. Using this structure you can easily modify the properties of these requests).
    • TestComplete offers a new program object for working with the request and response body.
    In addition, it offers two new events, OnLoadTestingRequest and OnLoadTestingResponse, that allow you to work with requests and responses during the load testing sessions.
  • The unit testing support: has been enhanced. You can now run functions from Java Open Applications using test suites.
  • The test suites and project suites have a new property, Timeout. It lets you set a time limit for the test suite (or project suite) execution. TestComplete stops all suites that run longer than their Timeout values. TestComplete includes a new event, OnTimeout, that is generated when TestComplete stops a suite run.
  • Now you can specify values with wildcards (* and ?) for string properties that are displayed in the Objects page of the Stores panel. TestComplete will properly process these wildcards when comparing object properties.
  • The Object-Driven Testing plugin provides new ways to automatically walk down the object hierarchy, calling object methods at each level of this hierarchy and for selecting methods and objects that will participate in testing. This option is especially useful if you have lots of testing data and objects.
    The Object-Driven Testing panel displays icons that indicate if an object is included in testing.
    The plugin also introduces new programming objects, methods and properties that allow you to control the new testing facilities from scripts:
    • Methods and properties: Data.Run, Group.Run, Object.Run, ArrayObject.Run, Object.IsFiltered, ArrayObject.IsFiltered, Property.Enabled, Method.Enabled, Group.Enabled, Method.IsInit.
    • Objects: ODTVariables, PropValueSet, ArrayItem.
  • The Outlining facility has been improved. The Editor’s context menu now holds a new item, Stop hiding current block without children, that commands TestComplete to stop outlining the current block, but keep outlining its child blocks.
  • A number of bug fixes.

Scripting Support

  • A new OnOverlappingWindow event allows you to perform specific actions when your script needs to simulate a mouse click or a keypress in a window and this window is being overlapped by another window. Previously, you could only handle these windows using the On overlapping window | Ignore overlapping window option.
  • The Regions.Compare and Regions.Find methods use a new parameter, Tolerance, that allows you to ignore slight differences between the compared images.
  • The TestedApp.Run method's implementation has been changed. Now this method launches an application from the tested applications list and returns the process object that corresponds to the application process. This makes the script shorter.
  • The Log object contains two new methods SaveResultsAs and SaveTestAs. They allow you to store test results to .htm, .xml and .xsl files.
  • The Utilities plugin provides two new functions: DirectoryExists and ForceDirectories.
  • A number of changes in the Object-Driven Testing programming objects:
    • The AddArrayProperty and AddClassProperty methods of the Class and Object objects have been renamed to AddPropOfArrayType and AddPropOfClassType
    • The AddArrayVariable and AddClassVariable of the Group object have been replaced with AddVarOfArrayType and AddVarOfClassType.
    • The AddArrayItem and AddClassItem methods of the ArrayType and ArrayObject objects have been renamed to AddItemOfArrayType and AddItemOfClassType.
    • The Items property and AddItem method of the ArrayType and ArrayObject objects now return an ArrayItem object.
    • The Group.Variables property now returns an ODTVariable object.

User Interface Changes

  • The status bar of the Editor panel has a context menu with a single item that lets you copy the name and path of the currently open unit to the clipboard.

See Also

Version History

Highlight search results