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 Test the mainframe application?

2077


How to get popup error message.

1262


What is quick test pro?

842


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

1865


When ‘option explicit’ keyword is used in qtp?

978


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1762


Where is the Bitmap checkpoint information stored?

1991


Which functionalities of QTP used in banking project? pls any say answer?

1659


Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you

1799


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1694


Plz Explain AUTOMATION REFERENCE MODEL?

1935


Explain the features and benefits of quick test pro(qtp)?

736


What is test object model in quicktest professional?

831


i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.

1653


Hi All, How to Compare two strings character by character in QTP

1257