Clipboard tab: Script Support Functions dialog box

Use this tab to insert a system clipboard command into a functional test script.

The Clipboard tab has the following tabs:
  • Verification Point: Use to insert a verification point test command against the active content in the system clipboard into a functional test script.
  • Assign Text: Use to insert the text from the system clipboard to a variable in a functional test script.
  • Set Text: Use to update the contents of the system clipboard to a required value.

Verification Point tab

The Verification Point tab has the following controls:

  • Convert Value to Regular Expression Convert Value to Regular Expression: Use to convert the system clipboard text to a regular expression pattern to be matched at run time against the system clipboard contents.
  • Undo Regular Expression Undo Regular Expression: Use to revert the regular expression pattern back to the active system clipboard contents at the time the Script Support Functions dialog box was requested.
  • Evaluate Regular Expression Evaluate Regular Expression: Use to evaluate the current pattern against the active system clipboard contents at the time the Script Support Functions dialog box was requested.
  • VP Name: Name used for the clipboard verification point in the script. This name must be unique relative to the associated script.
  • Insert Code: Inserts the clipboard verification point command into the active functional test script.
The text displayed initially represents the active system clipboard content at the time the Script Support Functions dialog box was requested. If regular expression pattern matching support is requested, this value becomes the pattern matched against the active system clipboard contents during playback.

Assign Text tab

The Assign Text tab has the following controls:

  • Variable Name: Defines the variable name used in the functional test script.
    Note: This name must be a valid variable name for the target script language. Spaces and special characters are not allowed.
  • Precede variable assignment with type declaration: Use to precede the variable name with a String type declaration.
  • Insert Code: Inserts the command to assign the system clipboard content into a local variable in a functional test script.

Set Text tab

The Set Text tab has the following controls:

  • Set clipboard text to the following value: Sets the content for the system clipboard with a specific value.
  • Insert Code: Inserts the command to set the content of the system clipboard to the supplied value into a functional test script