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...

WHAT IS THE USE OF "FUNCTION GENERATOR" IN QTP?

Answer Posted / umasankar

QuickTest provides a Function Definition Generator, which
enables you to generate definitions for new user-defined
functions and add header information to them. You can then
register these functions to a test object, if needed. You
fill in the required information and the Function
Definition Generator creates the basic function definition
for you. After you define the function definition, you can
insert the definition in your function library and
associate it with your test, or you can insert the
definition directly in a test script in the Expert View.
Finally, you complete the function by adding its content
(code).

If you insert the function directly in the Expert View, the
test will be able to access the function anywhere within
the specific action.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1994


What is Port testing. Whhen will you perform?

1946


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1986


How do I get the QTP scripts result in xml format by using vb script function?

2286


Explain sub procedure of vbscript.

1053


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

2090


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

1002


What is test object model in quicktest professional?

1086


What is parameter in qtp?

1087


what is the advantages and disadvantages of using functions instead of re usable actions

1965


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3951


What is the descriptive programming?

2036


How to suppress warnings from the test results page?

1042


what is the diffrence bw qtp architectute and qtp framework?

2010


what is test scheduleling?

2520