Automation testing QTP with VB Script functions Interview questions


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

TimeSerial Function?

TimeSerial function returns a Variant of subtype Date containing the time for a specific hour, minute, and second.

Syntax: TimeSerial(hour, minute, second)

Arguments:
hour: Number between 0 (12:00 A.M.) and 23 (11:00 P.M.), inclusive, or a numeric expression.
minute:  Any numeric expression.
second: Any numeric expression.

Example:  

'TimeSerial
Print  Timeserial(13,30,00)                    
output:1:30:00 PM

 




Next 5 interview question(s)

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

Comments