How to call a function in QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
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 retrieve the value from data table to the script and using the value to be displayed in message box. an also retrieve the value of the output value during runtime to the script or separating and using that value in the script.
difference between multiple parameterization and data driven wizard in QTP?
How can i initiate the objects to find uniquely in OR
How does you pass optional arguments in qtp?
How to add check point?
I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?
How to Compare two database tables by using QTP?Please give me code details.
what is Compile Module in QTP? what exactly it contains Functions or Actions?
Synchronozation types in QTP
If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?
How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)
What is LoadRunner?