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



Action 0 - joform - 03-28-2008

hi Ankur

In QTP we are also having Action 0. I have modified the script file of Action 0. and I have run it n seen. Because of that I understood that Action 0 is nothing but like Main() function in C language. That means which calls all the actions which are in the Test. We can modify or add scripts in Keyword view. Until we click on that step in Keyword view we cant get those scripts in expert view.

I understood this from the Action 0. Is my observation correct or wrong please tell me??

regards
jo


RE: Action 0 - Ankur - 04-01-2008

In QTP, there is nothing like main() function in C...
2nd part of your question is not very clear


RE: Action 0 - sreekanth chilam - 04-01-2008

As QTp contains repository of actions.

In expert view,by default script should be written in action1.

Actually "Action 0" will be implicitly created by QTP for Calling "Action 1".

For more information, if you open "Action 0"s Script file(.mts) & see, it would contain code as "RunAction "Action 1",oneIteration.

I hope u got it....


RE: Action 0 - newqtp - 04-03-2008

sreekanth how do you open action 0 script file .mts file.


RE: Action 0 - Vanig - 02-04-2013

Is there anyway to access the Action0 script from within QTP?