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



interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervie..

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

interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervie..

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

interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervie..

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

Post New Answer

More QTP Interview Questions

can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function

5 Answers  


what is object spy

5 Answers   TCS,


where we are going to write the descriptive programming.for example we are invoking qtp application where we are going to write that code

3 Answers  


what is defination of regression testing?

3 Answers  


I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?

5 Answers   Rogers,






Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?

0 Answers  


For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  


How to make arguments optional in a function?

0 Answers   Crea,


How to create configuration scripts

1 Answers  


Suppose I want to use Index value of "WinEdit" in my script .But it is showing None in "Ordinal identifier" value of Testobject Details in the Object Repository.How to enable Ordinal Identifiers to capture the Index value of that particular WinEdit. I have selected "index" and clicked "OK" from Tools-> Object Identification Again I added same WinEdit to the Object repository But I did not get Index value..Please any one help me.How to enable Ordinal indentifiers

1 Answers  


How to use Environment parameterization? Explain with an example.

0 Answers  


Explain QTP Testing process ?

13 Answers   TCS,


Categories