Automation testing QTP with VB Script functions Interview questions


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

WeekdayNameFunction?

WeekdayName function returns a string indicating the specified day of the week.

Syntax: WeekdayName(weekday, abbreviate, firstdayofweek)

Arguments:
weekday: (Required) The numeric designation for the day of the week. Numeric value of each day depends on setting of the  firstdayofweek setting.
abbreviate: (Optional) Boolean value that indicates if the weekday name is to be abbreviated. If omitted, the default is False, which means that the weekday name is not abbreviated.
firstdayofweek: (Optional) Numeric value indicating the first day of the week.

Example:  

'WeekdayName
Print  WeekdayName(4)                                  
output:Wednesday

 




Next 5 interview question(s)

1
YearFunction?
2
HourFunction?
3
Minute Function?
4
SecondFunction?
5
NowFunction?

Comments