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

In qtp, how you can exit for loop?

0 Answers  


How the objecs properties are identified?Tell me in Hierarchical order?

5 Answers   IBM,


What are the three challenges U faced during automation testing of your application.

2 Answers   L&T,


what is the frame work your using in automation testing

2 Answers  


how can we compare descriptive programing with a regular expression

0 Answers  


How u perform Batch Program in QTP?

3 Answers  


Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP?

2 Answers  


what is the difference between modular framework & datadriven framework

0 Answers   SDS,


what difference between client and server applications exatly?

1 Answers   Honeywell,


Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088

1 Answers  


How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this.

11 Answers   Thatavarti Technologies,


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  


Categories