How to run scripts from another scripts
I have written some scripts/Tests using QTP.
Now I want to write one script/test from where i want to execute other allready written scripts/tests.
Is it possible in QTP.
If Yes then pLease help me.
Re: How to run scripts from another scripts
open all the actions in the previous scripts and make them reusable in Step-> Action Prop. -> and check "Reusable action"
Start you new script and inster call the those reusable actions from Insert -> Call to Existing Action -> 'Locate the test ' -> select action from the list of actions
In case you wana pass new variables as parameters you may specify after the call to reusable action...
Hope this answers you...