Automation testing QTP with VB Script functions Interview questions


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

Len Function?

Len function returns the number of characters in a string or the number of bytes required to store a variable. 

Syntax: Len(string | varname)

Arguments:
string: Any valid string expression. If string contains Null, Null is returned.
varname: Any valid variable name. If varname contains Null, Null is returned.

Example:

Str="Welcome to the World of QTP"
Print Len(Str)          
output: 27
Print  Len("Slightbook")  
Output: 10

 




Next 5 interview question(s)

1
LCase Function?
2
UCase Function?
3
Left Function?
4
Right Function?
5
Mid Function?

Comments