How to call a function in QTP?

Answers were Sorted based on User's Feedback



How to call a function in QTP?..

Answer / amarendra kothuru

Syntax to declare a function
Function functionname(parameter1, parameter2, etc...)
'statements....
End Function

E.g: Function Myfunc(a,b,c)

Calling the function in test script:

E.g:
1)Call Myfunc(a,b,c)
2)Myfunc a,b,c

Is This Answer Correct ?    4 Yes 0 No

How to call a function in QTP?..

Answer / heheheuser

You just have to call the name similarly as your parents
call you by name.
So while running just keep calling the name of the function
with a midtone vice and all izz well !!

Is This Answer Correct ?    1 Yes 0 No

How to call a function in QTP?..

Answer / shaik

Welcome to Cinemachance. The place where you can Show ur
Talent FREE of Cost. Get an instant access to aspiring &
established Indian actors, models, singers , music -
directors , dancers , directors , story / song writers,
cameraman , film-editors , production , technicians male
models under one roof . Actress and female models, preteen
models, teen models, kid models. If you have a dream to
become the one, then this is the right place for you. Just
See the Difference.This site is constantly viewed by movie
producers, casting directors, television commercial makers
,agencies.mail us your photos&videos email
mramnadham@yahoo.com 21\11\2008

Is This Answer Correct ?    2 Yes 4 No

How to call a function in QTP?..

Answer / cv

File-> Settings->Resources This is thecpath for calling
function in qtp

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Explain the use of action split in qtp?

0 Answers  


Hi How to retrieve data from web element line by line?

0 Answers  


Explain the concept of object repository & how qtp recognizes objects?

0 Answers  


where exactly we can't do the automation testing. give some examples

2 Answers   Virtusa, Wipro,


Describe the differences between functions and actions in UFT?

0 Answers  


How to give a call to another action from one action?

0 Answers  


How to open a new test using quicktest professional (qtp)?

0 Answers  


How can you quit from Action.

2 Answers  


How many types of Recordings are there in QTP and what are they?

7 Answers   Dangote, First Indian Corporation,


Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else

2 Answers  


hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me

3 Answers  


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

0 Answers  


Categories