UFT – How to access a function from Action A to Action B

  • Questions
  • UFT - How to access a function from Action A to Action B
Question ID: 106046
1
0

Sometimes we create functions inside tests actions and we need that same functionality in other test actions. Is there a way to access functions between test actions?

Marked as spam
Posted by (Questions: 359, Answers: 26)
Asked on April 28, 2015 3:26 pm
5 views
Answers (1)
1
Private answer

In UFT, go to File > New > New Function Library and save your function as either a .qfl or .vbs function library file. Then, when you have your test open, you can go to File > Settings > Resources > Associate the file you just created as a global (default) function library in UFT. This will make your functions available to any Action that needs to use them.

Marked as spam
Posted by (Questions: 0, Answers: 707)
Answered on April 28, 2015 3:27 pm
Ok, nevermind. Sorry to bother you.
( at April 28, 2015 3:28 pm)