Automation testing QTP with VB Script functions Interview questions


Total available count: 68
Subject - Software Testing
Subsubject - Automation testing QTP with VB Script functions

Space Function?

Space function returns a string consisting of the specified number of spaces.

Syntax: Space(number)

Arguments:
number: number of spaces you want in the string.

Example: 

Str="Welcome to the World of QTP"
Space
Str1="Welcome"
Str2="to the World"
Str3="of QTP"
Print  Str1 & Space(2) & Str2 & Space(2) &Str3                    
Output:Welcome  to the World  of QTP

 




Next 5 interview question(s)

1
Split Function?
2
StrComp Function?
3
StrReverse Function?
4
LTrim; RTrim; and Trim Functions?
5
InStr Function?

Comments