Download Comments in UFT Tests graphic type that can be scaled to use with the Silhouette Cameo or Cricut. An SVG's size can be increased or decreased without a loss of quality. All of our downloads include an image, Silhouette file, and SVG file. It should be everything you need for your next project. Our SVG files can be used on adhesive vinyl, heat transfer and t-shirt vinyl, or any other cutting surface
Comments in UFT Tests
Comments in VBScript
i) Purpose of Comments
To make the code Readable
To make the code disable from execution
------------------------------------
ii) Comments Syntax in VBScript:
Use ' Symbol before the Statement
Or
Use Rem command followed by space
Example:
Dialog("Login").Activate 'Select Login Dialog box
'Dialog("Login").WinEdit("Agent Name:").Set "asdf"
Rem Dialog("Login").WinEdit("Password:").Set "mercury"
------------------------------------
iii) Comment a block of Statements
> Select Statements
> Use Ctrl + M
Or
> Select Statements
> Edit menu > Format > Comment
------------------------------------
iv) Uncomment
> Select Comment block
> Use Ctrl + Shift + M
Or
> Select Comment block
> Edit menu > Format > Uncomment
----------------------------------------
v) Usage of Comments in UFT
a) To write Test headers
'************************************************
'Test Name:
'Author:
'Date of Creation:
'Date of Modification:
'Pre-requisites:
'Test Flow:
'************************************************
b) To write Function Headers
'************************************************
'Function Name:
'Author:
'Date of Creation:
'Date of Modification:
'Input:
'Output:
'Purpose:
'************************************************
c) To Explain the complex logic.
d) To Explain the resources usage.
------------------------------------
Comments in VBScript
i) Purpose of Comments
To make the code Readable
To make the code disable from execution
------------------------------------
ii) Comments Syntax in VBScript:
Use ' Symbol before the Statement
Or
Use Rem command followed by space
Example:
Dialog("Login").Activate 'Select Login Dialog box
'Dialog("Login").WinEdit("Agent Name:").Set "asdf"
Rem Dialog("Login").WinEdit("Password:").Set "mercury"
------------------------------------
iii) Comment a block of Statements
> Select Statements
> Use Ctrl + M
Or
> Select Statements
> Edit menu > Format > Comment
------------------------------------
iv) Uncomment
> Select Comment block
> Use Ctrl + Shift + M
Or
> Select Comment block
> Edit menu > Format > Uncomment
----------------------------------------
v) Usage of Comments in UFT
a) To write Test headers
'************************************************
'Test Name:
'Author:
'Date of Creation:
'Date of Modification:
'Pre-requisites:
'Test Flow:
'************************************************
b) To write Function Headers
'************************************************
'Function Name:
'Author:
'Date of Creation:
'Date of Modification:
'Input:
'Output:
'Purpose:
'************************************************
c) To Explain the complex logic.
d) To Explain the resources usage.
------------------------------------
Download Comments in UFT Tests All SVG file downloads also come bundled with DXF, PNG, and EPS file formats. All designs come with a small business commercial license. These SVG cut files are great for use with Silhouette Cameo or Cricut and other Machine Tools.
