Micro Focus QTP (UFT) Forums
How to call a script in other script - 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: How to call a script in other script (/Thread-How-to-call-a-script-in-other-script)



How to call a script in other script - ashuniks - 11-20-2008

hi
i m new to QTP and i hv to automate a Desktop Application
now the problem is when i create a Script it become very large
can u suggest me how could i break my script in diff -diff scripts and use all of them in one Script.

thanks in Advance


RE: How to call a script in other script - Ankur - 11-21-2008

This one is a basic question. I would suggest you to go through the QTP tutorial or attend QTP training. It will help you with other basic concepts as well.

To answer your question in short-In QTP we divide a script into reusable actions, these reusable actions can be called from other actions and thus can be used in your diff-diff scripts.


RE: How to call a script in other script - ashuniks - 11-21-2008

Thanks Ankur
its works.....

one more ques
to automate any application i use record and play option....
can i do the same thing manually i mean through programming.


RE: How to call a script in other script - niranjan - 12-03-2008

Yes you can do that.
QTP uses VBScript.
Pls go thru some tutorials for vbscript