TestComplete 7 - UI Improvements
Develop | Posted May 20, 2009

We, at AutomatedQA, are very excited about TestComplete 7. There are so many enhancements and features that it’s hard to write about just one. The most visible enhancements in TestComplete 7 are included in its user interface which includes new tools that help you create automated tests faster and even easier.

New Tools for Selecting Application Objects

Selecting an application’s objects is an important part of automated test design and in TestComplete 7, the way you select objects has been improved.

Now all of the dialogs and wizards that are used for selecting objects provide the following tools that you can use to select a certain application’s objects:

  • Pick the Object with the Finder Tool.

    This tool is the same one used in TestComplete 6. Just drag the Finder Tool Finder Tool to the desired object and release it when the red frame appears around the needed object.

  • Select the Object with the Cursor.

    Before TestComplete 7, you enabled this mode by clearing the Capture mouse check box. But in TestComplete 7, we made it a lot easier to use, by just clicking the Select Object Button button and moving the mouse pointer to the desired object. Unlike in previous versions of TestComplete, the object under the mouse pointer is highlighted with a red frame. Once the desired object is highlighted, press the Fix information shortcut to capture it.

    The Select Object with Cursor tool is very useful for selecting hidden objects (for instance, popup menu or tooltip). It lets you manipulate the application before selecting an object - allowing you to activate the hidden object and then selecting it without having to do anything special.

  • Enter the Object Name Manually.

    To specify the needed object manually, type its full name, full mapped name or alias into the Object box of the dialog or wizard.

    Entering the object’s name manually allows you to specify a non-onscreen object, for instance, a process. You can also copy the name of the needed object from the Object Browser, script code, or any other place you can get the object name from. You can also specify an object by any of the mentioned approaches and then manually correct the name.

Also, now while capturing objects, TestComplete hides automatically. After you have specified the object, you can make sure that the correct object is selected by clicking the Highlight button next to the Object box. The selected object will be marked with a blinking red frame.

Quick Search - Search within Panels and Editors

In TestComplete 7, a new Quick Search box is included into some of the most used panels, dialogs and editors:

Quick Search Box

Quick Search lets you filter the content of a certain panel and helps you easily find certain items. Just type a search term into the Quick Search box and everything containing that term will be displayed, hiding everything else on the panel.

For example, TestComplete 7’s Test Log now includes the Quick Search box:

Quick Search Box in the Test Log Window

When you type a search term into the Quick Search box of the Test Log, the Test Log panel’s content is filtered according to what you have typed:

Filtering the Test Log Data

The Quick Search feature is included in panels and dialogs that contain lists of object’s properties, methods, fields and events, like, the Object Browser. In addition to filtering the panel’s content, you can use the Quick Search feature for finding certain properties, methods, fields and events. In previous versions of TestComplete you had to scroll through the list, while in TestComplete 7 you can just type the name of the sought-for item in the Quick Search box.

The image below shows an application in the Object Browser that has a lot of properties:

Quick Search Box in the Object Browser

After typing the name of a property into the Quick Search box, all of the properties whose names do not contain the entered text are hidden, allowing you to easily find the exact property you need, quickly:

Filtering the Object Browser Contents

As you can see, the Quick Search feature is not only useful for filtering a panel’s content, but also very useful for finding certain items quickly. In TestComplete 7, you can find the Quick Search box in the following areas:

  • The Object Browser panel and the Object Properties window.
  • The Files, Objects, Regions and ActiveX Object editors of the Stores project item.
  • Store Object Properties dialog.
  • The Project Suite Log, Project Log and Test Log panels of the test log.
  • Edit Name Mapping Item dialog, Object Name Mapping Item dialog and Update Name Mapping Item dialog.

Running Automated Tests – The Indicator

TestComplete’s indicator (Indicator Icon) can now visually demonstrate the progress of the currently executed operation. The indicator icon is usually shown in the top right corner of the screen and contains a short description of the operation that is being executed.

Before TestComplete 7, the indicator only displayed a description of the operation while performing time-consuming operations. Now, if the operation timeout is known it displays a progress bar that indicates the progress of the operation. This applies to both Wait-methods with the time specified, and to methods that are affected by the project properties’ Auto-wait timeout option. For instance, in the image below you can see that the WaitProcess method is being executed, and the progress bar signifies that about 50% of the specified timeout has elapsed.

Waiting for Process

Conclusion

TestComplete 7’s user interface makes it even easier to use. With the Quick Search feature, new tools for selecting objects, the new indicator and other improvements, designing and running your automated tests becomes even easier and can be done even faster than before. We hope you enjoy these new enhancements. If you haven’t tried TestComplete 7 yet, be sure to download it today, and stay tuned for more blogs about TestComplete 7!

Close

By submitting this form, you agree to our
Terms of Use and Privacy Policy

Thanks for Subscribing

Keep an eye on your inbox for more great content.

Continue Reading

Add a little SmartBear to your life

Stay on top of your Software game with the latest developer tips, best practices and news, delivered straight to your inbox