Pages

Wednesday, January 22, 2014

How to Insert Clipboard Commands Into RFT Scripts?

Click Here for How to Insert Clipboard Commands Into RFT Scripts?

Short Introduction:

We can insert method clipboard instructions into a RFT script in the course of recording or modifying. In addition to this we can insert a verification level take a look at command into a RFT script, from the lively articles in the program clipboard.

Methods to Insert clipboard instructions into a script in the course of recording or modifying are as less than:

Move - 1: Inserting script guidance instructions:
a) In the course of Recording: Click the "Insert Script Assistance Instructions" button on the Recording Watch toolbar.
b) Throughout Enhancing: It is a 3-Phase method:
1) Level the pointer in the script exactly where we want to insert the remark.
2) Click the "Insert Recording into Energetic Practical Exam Script" button on the Practical Tester toolbar.
3) Click the "Insert Script Assistance Instructions" button on the Recording Check toolbar.

Phase - 2: Click the "Clipboard" tab, In the "Script Assistance Features" dialog box.

Move - 3: Inserting the clipboard verification stage examination command into the script:
a) Decide on the "Verification Stage tab".
b) Essential in the verification stage identify in the "VP Identify" subject.
c) Click the "Transform Benefit to Common Expression" button to Change the program clipboard Worth to a Common expression sample. This Benefit shall be matched at runtime from the technique clipboard contents.
d) Click the "Assess Typical Expression" button to Appraise the present sample towards the process clipboard contents. In the Assess Normal Expression dialog box, the "Sample" and "Match In opposition to Worth" fields have the present Benefit.
e) To try out an expression, Convert the Benefit in the Sample discipline and click the "Appraise" button. The "Consequence" suggests no matter whether the expression matched.
f) Click "OK".
g) Click the "Insert Code" button to insert the clipboard verification place command into the RFT script.

Move - 4: Assigning the clipboard textual content to a script variable:
a) Pick the "Assign Textual content" tab.
b) Enter the script "Variable Identify" to assign the clipboard textual content.
c) Position a take a look at mark on the exam box "Precede variable assignment with form declaration" to precede the variable identify with a String variety declaration.
d) Click the "Insert Code" button to insert the command for assigning the clipboard material into a community variable in a Purposeful examination script.

Action - 5: Updating the contents of the process clipboard:
a) Decide on the "Established Textual content" tab.
b) Enter the Benefit for the clipboard, In the "Established clipboard textual content to the subsequent Worth" discipline.
c) Click the "Insert Code" button to insert the command into the RFT script for environment the information of the clipboard to the provided Worth.

For more information =Click Here!

0 comments:

Post a Comment

 

Blogger news

Blogroll