In QTP whether is it possible to call a function from one
action to another action?

Answer Posted / sandeep

Do more simple thing.

Store any function in any .vbs file.

Either link that .vbs file as a Resouce to QTP.

Or

Dynamically link .vbs file with QTP usign

ExecuteFile <file path >

Once either of the step is done then you can call any
function stored in .vbs file

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1732


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1714


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

1825


What is qtpro?

593


How can i initiate the objects to find uniquely in OR

1464






How is test case write?

574


What are the different properties of an web object

1424


how to test use the quality control .how to verify the image verification

2542


When ‘option explicit’ keyword is used in qtp?

744


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1442


Why script error occur in between recording in qtp?

1764


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1730


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

561


Describe synchronization point.

575


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1497