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 |
It is regarding VBScript, how to export our function results to ExcelSheet through VBscripting. Ex: I have written add function, that result should export to Excel.
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
what are the design objects in qtp
how to write regular expression for Date field?
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
what is output parameters in qtp?explain? 2)
How can we translate the steps between the Keyword and Expert Views?
How to enter table check points?
How does QTP identifes the object in the application?