PTD version 2.0 has many new features and enhancements over PTD v1.0.
The interface is completely redesigned and offers an easier and more
user friendly Phantom script development experience. The following
are some of the new features associated with PTD version 2.0.
Enhanced Script Editor
The new script editor offers an improved
script development experience. Keywords, comments, strings, and variable
types are indicated through new, easy to see colors. Line numbers
appear on the left margin, simplifying script error resolution. Window
declaration files and associated member windows can be inserted directly
into a script using a drag-and-drop
functionality associated with the window declarations viewer, resulting
in fewer development errors. The script editor is also integrated
with the new PTD v2.0 script debugger,
with breakpoints and execution pointers displayed directly on the
line numbers.
The Debugger
Completely new for PTD version 2.0 is a Phantom script debugger.
No more print statements for finding errors in script logic. The debugger
can be used to set script breakpoints and control execution flow through
an easy to use interface, similar to most common debuggers. Variable
changes can be viewed real-time using the new variable watch feature,
and Phantom statements can be evaluated mid-script. Never has Phantom
script development and debugging been easier!
Workspaces
PTD version 2.0 includes support for workspaces.
A workspace eases script and suite development by remembering the
last open scripts, suite, and declaration files and automatically
opening them when the workspace is loaded. No more searching for and
opening commonly used function files, declarations files, and scripts
every time PTD is run. The workspace will do this automatically!
The Console
Also completely new for PTD version 2.0 is a command console.
The command console can be used to run Phantom commands real-time.
Useful for trying new commands or scripts before integrating them
into a script or testcase, this is a great new addition to PTD.
Enhanced Script Output
The output from Phantom scripts or PTD suites
is in a new, easier to understand format in PTD v2.0. All output is
now accumulated in a single report window. Output from scripts and
suites can be hidden, with only error and warning counts displayed
for easy fault detection. Errors and warnings are now color-coded
to stand out, with script information appearing for easy fault resolution.
Output can also now easily be exported automatically to HTML and Text
format.
Built-In Window Declarations Editor
PTD now includes a new built-in window
declarations editor. Standard Phantom window declarations files
can be loaded and edited directly in the PTD interface. The new editor
also supports drag and drop capability for use with the script editor
for easier script development.
Remote Script Execution
By working in concert with a remote
Phantom Agent, PTD can run Phantom scripts and suites on multiple
machines, all controlled by PTD. PTD communicates with the Phantom
Agent by sending commands and receiving and displaying the associated
output. Run multiple tests on multiple machines, all through a single,
easy to use interface.
Processing
PTD can run special preprocessor and postprocessor
scripts. These can be used to perform special actions before and after
a suite or testcase runs. The scripts can also interact with PTD directly
through the ptdoutput variable type.
Function Viewer
PTD includes a new function viewer. The Function
Viewer displays all built-in Phantom functions. It also includes
all member functions of Phantom variables. The viewer displays the
syntax of the functions, and functions can be added directly to a
script by clicking and dragging the function name.