Patterson Consulting Products Downloads Purchase Support Company
Test Design Studio

Product Overview

Patterson Consulting's Test Design Studio is an exciting product that is the first of its kind for Mercury/HP automation. This product serves as an integrated development environment (IDE) for QuickTest® Professional scripts, VBScript files, Quality Center workflow scripts, WinRunner® scripts, and GUI Map Files. Extensive support for Quality Center assures tight integration with the tools you use.

If you write QuickTest® Professional test scripts or libraries, you need to realize that you are a programmer! Even though these scripts are used for testing purposes, rest assured that you are creating program code. Just like the program code that goes into the applications under test, the code used for test automation needs to possess similar quality characteristics. The sooner you treat test automation as a development activity, the sooner you will realize the cost-saving potential of this technology!

Our Test Design Studio product was the first product on the market to treat QuickTest® automation as a programming activity. The rich integrated development environment allows automation engineers to reach new levels of productivity.

Syntax Errors Screen Shot
Real-time Syntax Checking and Static Language Analysis

Test Design Studio identifies syntax errors in real time as you type! All errors are underlined in the editor so that you can quickly identify the problem and fix it. QuickTest® Professional performs syntax checking when you save a file or think to kick it off manually, but Test Design Studio is constantly analyzing your syntax for immediate feedback.

Syntax checking is only half the story, and only ensures you follow the basic syntax of the language. Other errors are typically not revealed by QuickTest® Professional until you try to execute your tests because they are syntactically correct. These are the most time-consuming errors to fix because it is only during execution that you discover many silly mistakes. Oversights like declaring the same variable more than once because you copied/pasted code, forgetting to declare variables when 'Option Explicit' is used, or mistyping the name of a function/variable. When these issues are discovered at run-time, it usually means a significant loss of productivity. Tests have to be re-executed and application state must be restored.

Test Design Studio analyzes your code for many common errors and warns you about other potential logical errors. These issues are identified during design at the time of creation, not later when the code is actually executed and potential time has passed since the developer's mind was fresh.

Click to play video
Watch our Code Analysis Video to see this feature in action.
Full-featured IntelliSense
Full-featured IntelliSense

Test Design Studio offers a feature-rich and complete IntelliSense experience to bring more of the information you need right to the screen.

Click to play video
Watch our IntelliSense Video to see this feature in action.
Code Metrics Tool Window
Code Metrics

Code Metrics are a useful tool implemented by Test Design Studio to provide an objective analysis of the complexity of your code. Higher code complexity typically leads to higher defect rates and decreased maintainability. The following metric values are calculated for major language elements including entire tests, class declarations, functions, and properties:

  • Cyclomatic Complexity - measures the number of paths through your code. Inclusion of branch and loop statements (like 'If' and 'For') increases the number of paths.
  • Lines of Code - counts the number of executable lines (ignores whitespace and comments).
  • Halstead Metrics - (calculated behind the scenes) measures the vocabulary of your code by counting unique and total instances of operators and operands.
  • Maintainability Index - all of the above metrics are used to calculate a maintainability index between 0 and 100. Values of 0-9 indicate high maintenance, 10-19 moderate maintenance, and 20-100 are low maintenance.

Test engineers can quickly locate code that might be hard to maintain or overly complex. Taking time to refactor the code can result in fewer errors and improved maintainability.

Error List Tool Window
Error List Tool Window

All the errors and warnings generated by syntax checking and language analysis are aggregated into a single view for your entire project. The Error List tool window allows you to quickly see which errors or warnings need to be addressed.

Documenter Output
Documenter

The Documenter is one of the most exciting features of Test Design Studio. With it, you can build detailed HTML Help Files or web-based documentation for your projects. Specifically, this tool is an excellent resource for defining the contents of publicly available function libraries used in typical automation projects. With documentation in-hand, your users have access to the information they need to be fast and efficient when working with the libraries.

You can view our on-line sample generated for the Mercury CSO WinRunner® Libraries, or download the compiled HTML Help File (Note: must save and open HTML Help file from local hard drive and may need to un-block the file).

Click to play video
Watch our Documenter Video to see this feature in action.