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
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
What is Port testing. Whhen will you perform?
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)
How do I get the QTP scripts result in xml format by using vb script function?
Explain sub procedure of vbscript.
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
What is test object model in quicktest professional?
What is parameter in qtp?
what is the advantages and disadvantages of using functions instead of re usable actions
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
What is the descriptive programming?
How to suppress warnings from the test results page?
what is the diffrence bw qtp architectute and qtp framework?
what is test scheduleling?