Standard Options

Format Commands
Reduce TestSmith
Dual Click Recording
Hex Substitutions
Obfuscate Password
Show Recording Warning
Show Bitmap Message
Show Text Message

Advanced Options

Max. Size of Bitmaps
HTML Command Delay
Editable Class Names
Seek Image Item Key
Seek Text Item Key
Language
Smith|Ruby|Java|C++|MFC




Standard Options

Option Description Default Value
Format Commands with New Lines & Tabs If selected the script will be formatted with each command parameter on a new line indented by one tab. This makes the script more readable and easier to edit but means that fewer commands are immediately visible.
This selection must be made before recording begins. The option is grayed during a recording session.
TRUE
Reduce TestSmith to Toolbars only If checked the main TestSmith frame will be reduced in size at the start of a recording session so only the title bar, menu bar, main tool bar and status bar are showing. At the end of the recording it will be restored to its previous size.
This selection must be made before recording begins. The option is grayed during a recording session.
FALSE
Dual Click Recording on IE Windows Select this option to include commented-out msLClick commands for each htmlClick, htmlLink, htmlInput, htmlSelect and htmlCheck command.
Sometimes sending an HTML message via the Document Object Model (DOM) does not produce the desired effect, and an actual mouse-click is needed.
On completion of recording decide which action is best suited (this may need some experimentation) and then comment out (or remove) the one not required.
Note:
There are some (rare) situations, such as focus being forced from one html element to another, that both clicks may be needed. The script may need the msLClick to perform the actual click on the original element, and the htmlClick to select the element that subsequently receives the input (the active element).
FALSE
Hex Character Substitutions Select this option to use the %nn style of character substitution, where 'nn' represents the 2-digit hexadecimal number for the character ASCII code. (This is the utf-8 encoding style which is used by URLs).
If this option is not selected the TS (TestSmith) style of character substitution is used. This consists of a % sign followed by a 2-character short name for the character, e.g. ad for '+', pc for '%', eq for '=', etc.
See Character Substitutions for the full list of Hex and TS character codes.
FALSE
Obfuscate Password Inputs When selected all htmlText commands on password inputs (type=password) will have their values obfuscated in the script.
An obfuscated value is preceded by the token [!OBF!] to identify it.
On playback the values are automatically decoded prior to the value being entered into the password field.
Note:
It is also possible to obfuscate other hvalue, ktext and ctext values in a pre-recorded script file.
Select the value to be obfuscated; this must be on a single line (be careful not to select the leading '=' or trailing space/s).
Hold down the Shift and Alt keys and click the Right mouse button.
A (yellow) popup window will appear with the obfuscated text value.
Copy and paste this value - including the leading [!OBF!] - into the script at the required position, replacing the previous value. More info here.
Remember, it is only the hvalue, ktext and ctext parameters that can have their values obfuscated; obfuscated values for any other parameter will be read as-is, i.e. they will not be decoded.
TRUE
Show Continue Recording Warning Allow or suppress the Continue Recording warning message. If this option is selected the warning will be shown, if unselected it will be suppressed. TRUE
Show Validate Bitmap Message Allow or suppress the Validate Bitmap dialog prompt. If this option is selected the prompt will be shown, if unselected it will be suppressed. TRUE
Show Validate Text Message Allow or suppress the Validate Selected Text dialog prompt. If this option is selected the prompt will be shown, if unselected it will be suppressed. TRUE

Advanced Options

Option Description Default Value
Max. Size of Validation Bitmaps Set the maximum size in pixels of a validation bitmap. Once this size is set bitmaps larger than the accepted size will not be recorded. The accepted range is 256-480000, the suggested default is 65536 (256*256). Values outside the accepted range will be forced up/down, as appropriate. 65536
HTML Command Delay Value Delay time in milliseconds before any htmlX command is recorded. This delay is required to allow correct recording of all htmlX commands.
Warning: This is an advanced setting. Do not change this value unless expected htmlX commands are being recorded incorrectly. Increase the value if you are seeing msLClick commands instead of html commands. This may happen especially on HTML pages made up of Frames. Decrease the value if the recorded html commands refer to an incorrect element, such as an element on the next (i.e. navigated to) page.
The accepted range is 1-100, the suggested default is 20. Values outside the accepted range will be forced up/down, as appropriate.
20
Editable Class Names A comma separated list of Windows classes. The class names in this list represent the classes that can be treated as Editable objects. These classes will react to a Ctrl+LeftClick action during a recording and allow a 'valEditText' command to be recorded.
The standard Windows Edit and Rich Edit controls are listed by default, they should not be removed unless you explitly want those classes to be ignored. Custom edit control class names can be added to this list, for example 'RichEdit20W' is the class name for the edit control in the Windows 'WordPad' application, and 'HSEditor' is the class name for the edit control in the 'TextPad' application.
A custom edit class MUST support the 'Ctrl+A' hot-key combination to select all text in the edit control. (Beware of validating edit controls with a lot of text in them; a single character out of place will result in a very large error message in the report!)
A comma must separate each class name in the list.
Edit,RICHEDIT
Seek Image Item Hot Key The hot key to be used for recording valSeekItem commands on any kind of 'image' object, e.g. image buttons, gifs, bitmaps, etc.
Available keys are F1-F12, 'I', '=' (equals), '/' (forward-slash).
Note: Unless the default hot key (F12) clashes with a hot key action on the application you are recording, you do not need to change it.
See the Seek Item documentation for further details.
F12
Seek Text Item Hot Key The hot key to be used for recording valSeekItem commands on any kind of 'text' object, e.g. menu items, text-only buttons, etc.
Available keys are F1-F12, 'T', '=' (equals), '/' (forward-slash).
Note: Unless the default hot key (F11) clashes with a hot key action on the application you are recording, you do not need to change it.
See the Seek Item documentation for further details.
F11
Language Specify the language to be used for recording.
Please note that only Smith Scripts can be played back from the TestSmith UI. Tests recorded in other languages should be compiled and executed in an appropriate environment for the language.
Smith
Smith Record tests using the built-in proprietary scripting language, Smith. ON
Ruby Record tests in Ruby.
Ruby scripts can be edited and played from TestSmith, but it is recommended that you use a Ruby IDE for advanced editing.
OFF
Java Record tests in Java.
Please note that while Java source files can be recorded and immediately edited in the TestSmith application, they cannot be reopened and cannot be compiled in TestSmith. Please use a Java IDE for further editing and compiling.
See the TSJAPI documentation for further details.
OFF
C++ Record tests in C++.
Please note that while C++ source files can be recorded and immediately edited in the TestSmith application, they cannot be reopened and cannot be compiled in TestSmith. Please use a C++ IDE for further editing and compiling.
See the TSCAPI documentation for further details.
OFF
C++/MFC Record tests in C++ with MFC support.
Please note that while MFC source files can be recorded and immediately edited in the TestSmith application, they cannot be reopened and cannot be compiled in TestSmith. Please use Microsoft Developer Studio (Visual C++) for further editing and compiling.
If you select MFC you will be prompted to choose whether or not you want to create full projects for each test you record. Saying yes means that a workspace file and a project file will be created with appropriate default settings to allow you to easily compile and run the test immediately using Microsoft Developer Studio (v6.0).
See the TSMFCAPI documentation for further details.
OFF