what is Function Definition Generator? can any one explain
me in details?
Answers were Sorted based on User's Feedback
Answer / aparna
This is correct answer than previously given by me
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 also
use the Function Definition Generator to register a
function to a test object. You fill in the required
information and the Function Definition Generator creates
the basic function definition for you. You can then copy
the definition to a library file and associate it with your
test or component, or you can copy the definition directly
to a test script in the Expert View. You can complete the
function by adding its content (code).
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / aparna
FDG is a tool provided by QTP which generates the function
definition in vbscript format.After that u need to write
the logic what to do in the vbscript
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / abhesheke
hey "kamakshi" thanks for u answer could u give me a
details explanation i am not able to get u plz..........
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / sekhar
Function definition generator :
it is used to know all bulit in functions in QTP
and help to write VB script for unknow objects.
we can define the objects in QTP we can store
these objects in some ware, we can call these objects as
our require ments, because of these what ever objects we
are using those objects not necessary to store it in object
repository.
sekhar
| Is This Answer Correct ? | 1 Yes | 5 No |
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?
How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this.
11 Answers Thatavarti Technologies,
what are the limitations of smart identification in qtp 9.0
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
What is smart identification?
What are the different recording modes and how do they work?
what is the present location of nageshwara rao's institute in hydrabad along with institute phone no. and name of institute.He has shifted from S.R Nagar.
If requirments changed then how we can teach the QTP this is the new requirment
How did you resolve conflicts present in Object Repository?
diff between winrunner and qtp
Explain abt the File System Object in QTP with ex
What is fragmentation and paging?