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 |
What is the QTP test frame work?
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
• Re –Engineering the regression testing from 0% to 60% automation. This has saved 4-mandays in every release. what doeas this statement means
what is qtp automation frame work,what is the use of that frame work?
64 Answers Cap Gemini, IBM, iGate, TCS,
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
hi i want license key for qtp 9.2 pls its adjust product name : quick test professional locking code :8 - 54A6A license type : seat license maintenance number : 88888888-8888 pls send license key to my email id borusu.ramkumar@gmail.com
What is the syntax to call one action in another?
Hi friend I have query regarding QTP datatable. I want to insert data in datatable during runtime. suppose i wrote datatble.value(1) = "Test data" so when i run the script it says column(1) doesn't exist. Then i write something in column A1 manualy and run the script again. Now it works fine. Pls clarify how i can put value in blank cell of datatable.
Are Shared ORs read-only?
Tell when we call the function? tell with example.
In QTP I have a parameter in a datatable that is a sentence. I need to take the last word from the sentence and enter it into a field in a web application. How can I setup a parameter to enter in just a portion of the parameter (last word of the sentence) instead of the entire paramater (whole sentence).
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that