Comments

VB Script Comments

Comments

The comment argument is the text of any comment we want to include.

Purpose of comments: 

o We can use comments for making the script understandable.
o We can use comments for making one or more statements disable from execution.

Syntax

Rem comment (After the Rem keyword, a space is required before comment.)
Or
Apostrophe (') symbol before the comment

Comment/Uncomment a block of statements

o Select block of statement and use short cut key Ctrl + M (for comment)
o Select comment block and use short cut key Ctrl + Shift + M (for uncomment)

************************************
Go to Home page for QTP Documents
QTP Home Page

0 comments:

Post a Comment