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

hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale

1807


How can I import environment from a file on disk?

765


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1868


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

1971


What is a recovery scenario?

802


Explain how to use QTP to check broken links on a page?

779


What is the synchronization point in qtp?

757


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2793


What is the quicktest professional testing process?

821


Discuss quicktest professional environment?

797


How did you resolve conflicts present in Object Repository?

1816


How the exception handling can be done using quicktest professional (qtp)?

767


What is recovery scenario in qtp?

775


What is system testing and what are the different types of tests you perform in system testing?

871


Explain data driven framework?

764