In QTP/UFT, function libraries are associated with a test via the Test Settings dialog under the Resources tab. Options like Run Options or View Options handle execution and display preferences, while the Function Definition Generator only assists in writing function headers.