In UFT, you can create functions to perform special tasks not supported by UFT's standard classes and methods. A function is a set of coded steps that perform a particular task for which no suitable method exists by default. You may want your test to include such a task, and even repeat this task several times. Therefore, you need the function to be easily accessible.
Once you create functions, you can store the functions in a function library. These function libraries serve as a repository for your user-defined functions. Each function library can be assigned to a test (or multiple tests), which enables the test to then call the function as a test step.
In this lesson, you will create a function that checks the date format on a page generated by the flight reservation application, and then add the function call to your test.