Micro Focus QTP (UFT) Forums

Full Version: Action 0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
In QTP, there is nothing like main() function in C...
2nd part of your question is not very clear
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....
sreekanth how do you open action 0 script file .mts file.
Is there anyway to access the Action0 script from within QTP?