Micro Focus QTP (UFT) Forums
How to call Actions from other Actions - 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 Actions from other Actions (/Thread-How-to-call-Actions-from-other-Actions)



How to call Actions from other Actions - Naresh - 09-04-2014

Hi Everyone,
I want to use Actions in qtp
I have a script in One Action , In this Action am using Functions for Each iteration

there are n number of iterations

i want to keep these functions in other Action(ex: Actionn2) then have to call these functions from other Action(Actionn2)

How can i call those functions from Other actions(Action 2) to Action.

Kindly give me the suggestion on these.


RE: How to call Actions from other Actions - vinod123 - 09-25-2014

use the below statement to call a action from another

Code:
RunAction "Action2[Testname]", oneiteration