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.
- 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
HTTPRequestobject now contains the
Variablesproperty for this. See also
- 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.
OnLoadTestingResponse, that allow you to work with requests and responses during the load testing sessions.
- TestComplete now provides access to the request properties and variables from scripts. Each
- 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:
- Methods and properties:
- 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.
- A new
OnOverlappingWindowevent 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.
Regions.Findmethods use a new parameter, Tolerance, that allows you to ignore slight differences between the compared images.
TestedApp.Runmethod'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.
Logobject contains two new methods
SaveTestAs. They allow you to store test results to .htm, .xml and .xsl files.
Utilitiesplugin provides two new functions:
- A number of changes in the Object-Driven Testing programming objects:
AddClassPropertymethods of the
Objectobjects have been renamed to
Groupobject have been replaced with
AddClassItemmethods of the
ArrayObjectobjects have been renamed to
AddItemmethod of the
ArrayObjectobjects now return an
Group.Variablesproperty now returns an
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.