Saturday 9 November 2013

QTP Functions - Conversion Functions


                     Conversion Functions
FunctionDescription
AscConverts the first letter in a string to ANSI code
CBoolConverts an expression to a variant of subtype Boolean
CByteConverts an expression to a variant of subtype Byte
CCurConverts an expression to a variant of subtype Currency
CDateConverts a valid date and time expression to the variant of subtype Date
CDblConverts an expression to a variant of subtype Double
ChrConverts the specified ANSI code to a character
CIntConverts an expression to a variant of subtype Integer
CLngConverts an expression to a variant of subtype Long
CSngConverts an expression to a variant of subtype Single
CStrConverts an expression to a variant of subtype String
HexReturns the hexadecimal value of a specified number
OctReturns the octal value of a specified number
Hope this article helped you! Please feel free to comment!
Follow us on way4testing.blogspot.in

No comments:

Post a Comment