Variables Naming Convention in QTP Scripting:
Variables represent values that can be changed within a procedure or function. Local scope variables are placeholders that reside within a function- or a script-body.
Prefixes for Variable Data Types
| Data Type | Prefix |
| Boolean | bln |
| Date | dt |
| Variant | v |
| Integer | int |
| Object | obj |
| String | str |
| Arrays | arr |
Syntax: "g" + [Prefix]+[ShortDescription]
Eg: gstrName
No comments:
Post a Comment