Micro Focus QTP (UFT) Forums
How to call Function from Reusable Action: - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to call Function from Reusable Action: (/Thread-How-to-call-Function-from-Reusable-Action)



How to call Function from Reusable Action: - chetan-24 - 01-04-2009

Hello
I have created one reusable action:
There is one function defined in Reusable action
now i want to use this function in my test scenerio so how can i Pass this function

I have attached jpg here

Thanks
Chetan


RE: How to call Function from Reusable Action: - MVChowdary - 01-04-2009

Hi Chetan,

1.Initiate the function as a public function.
2.Keep the function in i.e (.txt or .VBS) file.Add this file in resources tab.

3.You can call this function any reusable action / non reusable action.

Thanks
- PVChowdary