Here are some of the most popular Test Data Functions available in Testsigma:





And here's the complete list of the available Default Test Data Functions:

Sl.No.Class NameFunction NameArguments
1DomainFunctionsdomainNameArgument 1: String - domain name without extension
2EmailFunctionsuserNameArgument 1: Integer - required length of username
3EmailFunctionsrandomAlphanumaricEmailArgument 1: Integer - required length of email with random alphanumeric characters
4EmailFunctionsrandomAlphanumaricEmailArgument 1:  Integer - length
Argument 1:  String - domain
5EmailFunctionsrandomEmail"Argument 1 ":  Integer - "length"   "Argument 1 ":  String - "domain "
6EmailFunctionsrandomEmail"Argument 1 ":  Integer - "length"
7RandomStringFunctionsrandomStringFromGivenCharacters"Argument 1 ":  Integer - "Stringlength "   "Argument 1 ":  List - "list"
8NumbernumberBetween"Argument 1 ":  Integer - "min "   "Argument 1 ":  Integer - "max "
9NumberrandomDigitno arguments
10NumberrandomDigitNotZerono arguments
11NumbernumberBetween"Argument 1 ":  Long - "min "
"Argument 1 ":  Long - "max "
12NumberrandomNumber"Argument 1 ":  Integer - "no of digits "   "Argument 1 ":  Boolean - "boolean"
13NumberrandomNumberno arguments
14NumberrandomDouble"Argument 1 ":  Integer - "maxNumberOfDecimals "
"Argument 1 ":  Integer - "min "   "argument2 ":  Integer - "max "
15NumberrandomDouble"Argument 1 ":  Integer - "maxNumberOfDecimals "
"Argument 1 ": Long - "min "
"argument2 ": Long - "max "}}"
16Numberdigits"Argument 1 ":  Integer - "count"
17Namenameno arguments
18NamenameWithMiddleno arguments
19NamefullNameno arguments
20NamefirstNameno arguments
21NamelastNameno arguments
22Nameprefixno arguments
23Namesuffixno arguments
24Nametitleno arguments
25Nameusernameno arguments
26PhoneNumbercellPhoneno arguments
27PhoneNumberphoneNumberno arguments
28InternetdomainNameno arguments
29InternetdomainWordno arguments
30InternetdomainSuffixno arguments
31InternetemailAddressno arguments
32InternetemailAddress"Argument 1 ":  String - "localPart"
33InternetsafeEmailAddressno arguments
34InternetsafeEmailAddress"Argument 1 ":  String - "localPart "
35Interneturlno arguments
36Internetimageno arguments
37Internetpasswordno arguments
38Internetuuidno arguments
39Fileextensionno arguments
40FilemimeTypeno arguments
41FilefileNameno arguments
42FilefileName"Argument 1 ":  "Argument 1 "
"Argument 1 ": "Argument 1 "
"argument2 ": "argument2 "
"argument3 ":  "argument3 "
43Friendscharacterno arguments
44Friendslocationno arguments
45Friendsquoteno arguments
46IdNumbervalidno arguments
47IdNumberinvalidno arguments
48IdNumberssnValidno arguments
49IdNumbervalidSvSeSsnno arguments
50IdNumberinvalidSvSeSsnno arguments
51AddressstreetNameno arguments
52AddressstreetAddressNumberno arguments
53AddressstreetAddressno arguments
54AddressstreetAddress"Argument 1 ":  "Argument 1 "
55AddresssecondaryAddressno arguments
56AddresszipCodeno arguments
57AddresszipCodeByState"Argument 1 ":  "Argument 1 "
58AddressstreetSuffixno arguments
59AddressstreetPrefixno arguments
60AddresscitySuffixno arguments
61AddresscityPrefixno arguments
62Addresscityno arguments
63AddresscityNameno arguments
64Addressstateno arguments
65AddressstateAbbrno arguments
66AddressfirstNameno arguments
67AddresslastNameno arguments
68Addresslatitudeno arguments
69Addresslongitudeno arguments
70AddresstimeZoneno arguments
71Addresscountryno arguments
72AddresscountryCodeno arguments
73AddressbuildingNumberno arguments
74AddressfullAddressno arguments
75Companynameno arguments
76Companysuffixno arguments
77Companyindustryno arguments
78Companyprofessionno arguments
79Companybuzzwordno arguments
80CompanycatchPhraseno arguments
81Companybsno arguments
82Companylogono arguments
84DefaultStepsnavigateTo"Argument 1 ":  String - "url "
85DefaultStepsclick"Argument 1 ":  String - "locator"
86DefaultStepsenterKeywordno arguments
87DefaultStepsenterValueUsingJAvaScript"Argument 1 ": String -  "locator"
"Argument 1 ":  String - "value "
88DefaultStepsgetResponse"Argument 1 ":  String - "url "
89DateFunctionsfuture"Argument 1 ": Integer - "atMost "   "Argument 1 ":  TimeUnit - "unit "   "argument2 ": String - "referenceDate "   "argument3 ": String -  "format "
90DateFunctionsfuture"argument0 ": Integer - "atMost "   "Argument 1 ":  TimeUnit - "unit "   "argument2 ":  String - "format "
91DateFunctionscurrent"argument0 ": String - "format "
92DateFunctionsbetween"argument0 ":  String - "from "
"Argument 1 ": String - "to "
"argument2 ":  String - "format "
93DateFunctionspast"argument0 ":  Integer - "atMost "   "Argument 1 ":  TimeUnit - "unit "   "argument2 ":  String - "referenceDate "   "argument3 ":  String - "format "
94DateFunctionspast "argument0 ":  Integer - "atMost "   "Argument 1 ":  TimeUnit - "unit "   "argument2 ":  String - "format "
95DateFunctionsbirthday"argument0 ": String - "format "}}


                                                                                                                                                                                                                                                                                                                                       

More functions to be added soon..