|
Enhancements to TestSmith in version 1.2
16 August 2004
FEATURES: additional functionality, GUI improvements
- User-defined Variables
The old limited-number, fixed-name variable restriction has been lifted.
Any number of user-named variables can now be declared using the new
SET DECLARE directive. Details of how
to declare, define the type, set and use these variables can be found in the
TestSmith Variables page of the User Guide.
- Web Mode Recording
This feature simplifies the recording of web applications.
See the Web Mode Recording page
of the User Guide for details.
- Javascript Events Trigger
The new hevent parameter can be used with
any html command to trigger javascript
events such as onchange() and onclick().
See also the hoptkey parameter.
NOTE: The hclick parameter is now deprecated.
- Browser-independent HTTP Requests
The new inetRequest command can
be used to retrieve and validate web pages independently of any Browser.
- Auto-generated Test Specification Documents
Test Specification Documents can be generated from special doc comments
embedded in .smith scripts. These documents provide customers
(and other non-engineers) with an easy-to-understand summary description
of the tests being run.
See the Test Specification Documents
page of the User Guide for details.
- Script Translation Utility
A standalone utility to translate .smith scripts into Java or C++
source files is now bundled with the download.
See the Smith2 page of the User Guide for details.
- TextPad® Support
TextPad® is the
recommended editor/development environment for TestSmith .smith scripts.
See the TextPad Support
page of the User Guide for details.
- Continue Recording Warning
When using the Continue Recording function a warning popup appears
with the following message:
Warning: you may need to update the id parameters
for this newly recorded section of the script
so they match the original ids for the same windows.
The Show Continue Recording Warning
setting in the Recording Options
dialog box allows this popup to be switched off.
- New Commands
wndFindObj
wndRelease
inetRequest
wait
setOption
TSJAPI |
TSCAPI |
TSMFCAPI
- New Parameters
hsrc
hevent
hoptkey
hhtmltype
iheaders
icontent
isize
imodtime
op
- New Directives
DECLARE
ALERT
[return to top]
CHANGES: redesign of existing functionality, fine-tuning
- Additional parameter for htmlClick command
The htmlClick command is now recorded with the
hhtml parameter for better playback accuracy.
- Additional parameter for valHtmlElem command
The valHtmlElem command is now recorded
with the hhtmltype parameter; this adds the
ability to validate the complete inner or outer html of the element, and not
just the opening tag.
- Additional Constant for Sizing Window
The constant TITLE_BAR has been added to the set of fixed-size
rectangles for the wrect parameter.
- OR operator for _doif statement
The op parameter has been added so
expressions can be logically OR'd (as well as AND'd) together
in a _doif statement. Also,
the same variable can be evaluated multiple times in a single
statement, removing the earlier restriction.
- Support for Windows 'Start' menu
The kbMenuSelect command can now
be configured to explicitly support actions on the Windows 'Start' menu.
Refer in particular to
Note 1
and Note 2.
- More informtion in YIM Alerts
Alerts issued as Yahoo! Messenger instant messages now contain the
name of the script or sub-script, the line number, the full command
that produced the error and and the error message.
- Sub-script names show in ERR/FLG/WRN messages
If a command results in an error message or if a flag is raised or
a warning issued and if the command is in a sub-script, called with
a _call statement, the name of
the subscript is output to the report along with the message.
This allows quick identification of where the problem originated from.
- LO and HI directives removed
The LO and HI
directives are no longer supported. If older scripts contain
these directives they should be updated using the
setDataIndex command
to restrict the reading of data froma .csv file.
Contact support@qualityforge
if you need assistance updating such scripts.
[return to top]
BUG FIXES: the following bugs have been resolved
[return to top]
|