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

On what basis we select test cases to automate?

0 Answers  


What is the basic concept of quicktest professional?

0 Answers  


1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)

3 Answers   Synechron,


Tell me the situations where we will use Data Driven?

4 Answers   Ordain Solutions,


How to execute a WinRunner Script in QTP?

1 Answers   Crea,






any challange that faced in your project? (please give me some examples in your project?

1 Answers  


Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

0 Answers   BirlaSoft,


Can anybody give the script to addsheet, add column,add values under that column in the rows?

2 Answers   McAfee,


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

0 Answers  


what are the challenges you have faced while testing web based application using the automation tools ?

0 Answers  


how to evalute defects in QTP script?

0 Answers  


How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...

3 Answers   IBM,


Categories