how to recall a function in QTP?

Answers were Sorted based on User's Feedback



how to recall a function in QTP?..

Answer / pooja

to call a function...
in script u can write the function name as

login()

if there is any argument has to be passed then,

login(username, password)

Is This Answer Correct ?    3 Yes 0 No

how to recall a function in QTP?..

Answer / 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

how to recall a function in QTP?..

Answer / ramakrishna

resuable

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More QTP Interview Questions

hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

0 Answers  


what r the executing modes in QTP

2 Answers  


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

0 Answers  


We have an action attached with the library file in QTP. When I will click on run button,which file is going to be executed first a)Action b)Library

1 Answers  






Explain different checkpoints in qtp.

0 Answers  


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

0 Answers  


I want to learn QTP Online, where can I get quality training?

15 Answers   CSC,


Under what conditions would you recommend QTP for future projects?

1 Answers  


Test Life cycle starts IS it Requirments stage or Test Initiation?

1 Answers  


What are the benefits of quick test pro(qtp)?

0 Answers  


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

0 Answers   TCS,


Categories