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
HTTPRequestobject now contains theVariablesproperty for this. See alsoVariablesObject. - 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.
OnLoadTestingRequestandOnLoadTestingResponse, 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:
Data.Run,Group.Run,Object.Run,ArrayObject.Run,Object.IsFiltered,ArrayObject.IsFiltered,Property.Enabled,Method.Enabled,Group.Enabled,Method.IsInit. - Objects:
ODTVariables,PropValueSet,ArrayItem.
- 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.
Scripting Support
- 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. - The
Regions.CompareandRegions.Findmethods use a new parameter, Tolerance, that allows you to ignore slight differences between the compared images. - The
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. - The
Logobject contains two new methodsSaveResultsAsandSaveTestAs. They allow you to store test results to .htm, .xml and .xsl files. - The
Utilitiesplugin provides two new functions:DirectoryExistsandForceDirectories. - A number of changes in the Object-Driven Testing programming objects:
- The
AddArrayPropertyandAddClassPropertymethods of theClassandObjectobjects have been renamed toAddPropOfArrayTypeandAddPropOfClassType. - The
AddArrayVariableandAddClassVariableof theGroupobject have been replaced withAddVarOfArrayTypeandAddVarOfClassType. - The
AddArrayItemandAddClassItemmethods of theArrayTypeandArrayObjectobjects have been renamed toAddItemOfArrayTypeandAddItemOfClassType. - The
Itemsproperty andAddItemmethod of theArrayTypeandArrayObjectobjects now return anArrayItemobject. - The
Group.Variablesproperty now returns anODTVariableobject.
- The
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.
