how to recall a function in QTP?

Answer Posted / rajanya

Exist function can be used (called) to more than one test.
We can call the Function by calling the function name into
our script,

"Public Function Launch_Browser(byval URL)"

For the above function, u can call Function name -
Launch_Browser to your script by declaring variables too..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create new test sets in td?

708


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

1749


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

2050


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2002


What is the diff between image and bitmap check point?

767


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1713


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

24745


What are the different types of functions available in qtp and explain ?

778


Did the scripts need lot of maintenance? If yes, why?

3538


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1736


What is a quick test professional?

920


in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded

1730


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2314


How do Parameterization and Data-Driving relate to each other in QTP?

811


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1713