interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
Data Table is a inbuilt feature in QTP, Datatable object is
to create an object for adding, deleting, updating data of
an excel sheet used,it having two sheets .
1.Globalsheet : Globalsheet in any script is unique,
Globalsheet is used in order to store values in the sheet
and the values stored in Globalsheet can be used in all the
actions.
2.Local sheet :Localsheet: Each and every action in the
script will have its own Localsheet, name of the Localsheet
of a particular action is same as the action name.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / jyotikrushna
Datatable is an object and a part of AOM/TOM. we have two types of datatables in QTP, these are Run-time datatable and design-time datatable. Using various numbers of methods like AddSheet, ImportSheet,ExportSheet, we can do parameterization in the test/application.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / karthik
Data table is used to store the data and paramaterize that data script during running.
In datatable having 2 sheets 1.global 2.Local,by default datatable having 256 sheets one is global and remaining 255 are global sheets.
Global: Data is avialable to all the actions
Local: Data is avilable to only that action in which they are declared
| Is This Answer Correct ? | 2 Yes | 2 No |
1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?
what is the purpose of QTP?
Can i run the qtp, without OBJECT REPOSTIRY...
HOW CAN QTP AND TEST DIRECTOR CONNECTED TO THE DATABASE AND WHAT R THE OPTIONS?
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people
Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)
Why do we use breakpoints in QTP?
What are the disadvantages of recording test cases in qtp?
I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.
QTP script is not working on other's machine..