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

what is the abbrivation of .mtr in action reposirtory?

8 Answers   GE,


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

0 Answers  


How to covert a String to an integer?

5 Answers  


example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?

9 Answers   Tech Mahindra,


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

0 Answers   TCS,


where is the bitmap checkpoint be saved

3 Answers  


What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.

11 Answers   Polaris,


How to suppress warnings from the test results page?

0 Answers  


What do you mean by checkpoints in qtp?

0 Answers  


Explain the benefits of quick test pro(qtp)?

0 Answers  


How do u insert an object during runtime in qtp?

2 Answers  


need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?

2 Answers  


Categories