Brief Introduction: We can insert system clipboard commands into a RFT script during recording or editing. In addition to this we can insert a verification point test command into a RFT script, against the active content in the system clipboard.
Steps to Insert clipboard commands into a script during recording or editing are as under:
Step – 1: Inserting script support commands:
a) During Recording: Click the "Insert Script Support Commands" button on the Recording Monitor toolbar.
b) During Editing: It is a three-step process:
1) Position the pointer in the script where we want to insert the comment.
2) Click the "Insert Recording into Active Functional Test Script" button on the Functional Tester toolbar.
3) Click the "Insert Script Support Commands" button on the Recording Monitor toolbar.
Step – 2: Click the "Clipboard" tab, In the "Script Support Functions" dialog box.
Step – 3: Inserting the clipboard verification point test command into the script:
a) Select the "Verification Point tab".
b) Key in the verification point name in the "VP Name" field.
c) Click the "Convert Value to Regular Expression" button to convert the system clipboard value to a regular expression pattern. This value shall be matched at runtime against the system clipboard contents.
Complete Article is available at:
------------- http://www.softwaretestinggenius.com - http://www.softwaretestinggenius.com
A Storehouse of Complete Knowledge on Software Testing & QA under one Roof
|