Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to call a script in other script
#1
Solved: 10 Years, 9 Months, 1 Week ago Rolleyes 
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
Reply
#2
Solved: 10 Years, 9 Months, 1 Week ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 9 Months, 1 Week ago
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.
Reply
#4
Solved: 10 Years, 9 Months, 1 Week ago
Yes you can do that.
QTP uses VBScript.
Pls go thru some tutorials for vbscript
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 330 11-05-2023, 03:55 PM
Last Post: lravi4u
  How do you Change Run mode mid script? Caleytown 6 6,523 03-25-2021, 08:27 AM
Last Post: RB26578
  picking different points in UFT using VB Script azjk786 0 903 12-14-2020, 09:57 AM
Last Post: azjk786
  script for mouseover rumitkon 2 1,738 02-20-2019, 12:52 AM
Last Post: rumitkon
  Call Stack in QTP Script smitapawar610 0 1,496 12-03-2018, 10:42 AM
Last Post: smitapawar610

Forum Jump:


Users browsing this thread: 1 Guest(s)