How to call a function in QTP?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is run action?

1435


how will you check how many members visited the website www.infosys.com?

1482


How to handle the exceptions using recovery secnario manager in quicktest professional?

639


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5519


How you know that a test case is a regression test case

3061






wht is Manual Testing Frame work. Pls anybody can give appropriate answers

1596


How did you resolve conflicts present in Object Repository?

1616


whow much strong on VB and C?

1484


What is checkpoints for quicktest professional (qtp)?

578


When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1627


what is meant by Implicit and explicit requirements?

3621


Is text area check point supports for web applications?

533


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2740


Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement

1647


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1466