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
What is the difference between a Function and Procedure in QTP?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
What does it mean when a check point is in red color? What do you do?
Can U Explain about QTP tool from older version to latest version also its differences?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
What does mean by Scope of Automation?n How we defined it?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
What are the views available in quicktest professional?
How do you send email with attachment from outlook using qtp ?
How can you write the scripts that operate on different objects depending on run-time information?
what are the limitations of smart identification in qtp 9.0
How to test results for qtp ?
Problem with XML checkpoint in QTP ?
What is the difference in the global and action sheet in qtp?
How would you directly trigger javascript in a test?