Micro Focus QTP (UFT) Forums
Calling 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Calling Actions (/Thread-Calling-Actions)



Calling Actions - saranya Rangarajan - 08-18-2011

I generated the script for calling a Action1 for 3 iterations in the Action 2. But the Action1 is executed for only two times. Here is the Script pls help.[/color][/size][/font]

Action 1:
SystemUtil.Run("www.Google.co.in")

Action 2:
RunAction "Action1","1 - 3"

Thanks,
Saran


RE: Calling Actions - sshukla12 - 08-19-2011

Try this:

Action 1:
SystemUtil.Run("www.Google.co.in")

Action 2:
RunAction "Action1",ThreeIteration

Correct me if wrong.

Regards,
Sankalp


RE: Calling Actions - saranya Rangarajan - 08-19-2011

Hi Sankalp,
Makes sense. Thanks for your Reply.

Thanks,
Saranya R.


RE: Calling Actions - Arul - 08-20-2011

Saranya,

Try this..
'Action 2:
RunAction "Action1","0-3"

Thanks,
Arul.D