Multiple choice technology testing

How do you declare a constant in QTP?

  1. Dim Statement

  2. Con Statement

  3. Const Statement

  4. Option Explicit Statement

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Const statement is used to declare constants in QTP (VBScript syntax). Dim declares variables, Con is not a valid statement, and Option Explicit forces variable declaration but doesn't create constants.