Automation testing QTP with VB Script functions Interview questions


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

TimeValueFunction?

TimeValue function returns a Variant of subtype Date containing the time.

Syntax: TimeValue(time)

Arguments:
time: Is usually a string expression representing a time from 0:00:00 (12:00:00 A.M.) to 23:59:59 (11:59:59 P.M.), inclusive. However, time can also be any expression that represents a time in that range. If time contains Null, Null is returned. 

Example: 

'TimeValue
Print  TimeValue("16:30:00")            
output:4:30:00 PM

 




Next 5 interview question(s)

1
Do...Loop Statement?
2
For...Next Statement?
3
For Each...Next Statement?
4
If...Then...Else Statement?
5
Select Case statement?

Comments