Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 the difference between a Function and Procedure in QTP?

1144


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.

1813


What does it mean when a check point is in red color? What do you do?

1042


Can U Explain about QTP tool from older version to latest version also its differences?

1943


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

2191


What does mean by Scope of Automation?n How we defined it?

1993


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?

1045


What are the views available in quicktest professional?

981


How do you send email with attachment from outlook using qtp ?

972


How can you write the scripts that operate on different objects depending on run-time information?

2540


what are the limitations of smart identification in qtp 9.0

2325


How to test results for qtp ?

1190


Problem with XML checkpoint in QTP ?

3878


What is the difference in the global and action sheet in qtp?

964


How would you directly trigger javascript in a test?

1854