Micro Focus QTP (UFT) Forums
Calling 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: Calling action (/Thread-Calling-action)



Calling action - Rajashekar Gouda - 05-06-2009

Hi

I have created a test with the name "LogIn" and the action name as "Log In". The sheet name of Data Sheet is also "Log In"

When I call this action in new action using "Call to Existing Action" option, it display as RunAction "Log In [Login]", oneIteration.

When I run this action, it says that the sheet "Log In [Login]" deos not exist.

Can I know what is the correct procedure to call an action

Raj


RE: Calling action - anemuday - 05-07-2009

Hi,

I tried in the below way. Created "Log In" and named the Action1 as "Log In" and recorded flight reservation login.
Now created another test called Test2 and called the "Log In" action in "Log In" test and after i recorded for opening an order.
Excuted the script. It worked fine.

If you are calling the same action in your test, it doesnt create "RunAction "Log In [Login]", oneIteration". It creates a statement without Test name like
RunAction "Log In", oneIteration.

So let us know what steps you exactly followed.