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 |
what are the qtp tester responsibilities?
Explain about the Test Fusion Report of QTP ?
Once the Actions are splitted , is there any way to merge them
How to launch application under test through VBscript without using systemutil.run or invokeapplication?
What is the use of sendkeys and what are send keys
How many types of OBJECTS are there in QTP?
8 Answers Intel, Inter Globe Technologies,
How to enable the text check point in qtp? By default it is disables
1 Answers Sify, ssinformatics,
How do you perform Regreession Testing?
What is the difference between run time object and test object in QTP?
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one