ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Priya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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.
Answer
# 1
'set the current row to 2nd
DataTable.SetCurrentRow (2)
'get the value of 3rd coloumn of 1st sheet.
abc = Datatable.value(3,1)

this code is working fine, i have checked.
 
Is This Answer Correct ?    5 Yes 1 No
Sushil
 
  Re: 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.
Answer
# 2
a)	That is the data table (column, sheet)
b)	If want script then start record and retrieve the 
data table form 3rd row and 4th common then stop the 
recording the you get the script that is the scripts


My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in 
If any body want full explain send the mail
 
Is This Answer Correct ?    2 Yes 5 No
K.chandra Sekhar
 
 
 
  Re: 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.
Answer
# 3
you can try this,

VAR_NAME = DataTable.GetSheet(sheetname).GetParameter
(4).ValueByRow(3)

Hope this work out ...............
 
Is This Answer Correct ?    0 Yes 0 No
Nayan
 
  Re: 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.
Answer
# 4
We can retrieve the data from data table which is in 3 
row,4 th column by using

GetProperty (Browser("nani").page("nani").webtable
("tablename").childitem(3,4))
 
Is This Answer Correct ?    0 Yes 5 No
Nani4urs
[BSL]
 
  Re: 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.
Answer
# 5
set datatable to 2nd row

datatable.setcurrentrow(2)
dim abc
need to get data from the sheet 
abc=datatable.value(3,1)

sure thiscode will work fine
 
Is This Answer Correct ?    0 Yes 0 No
Ravikumar
 
  Re: 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.
Answer
# 6
Hi... U can try this,its working....

Set T=DataTable.GetSheet(1).GetParameter(3)
DataTable.GetRowCount
R=DataTable.GlobalSheet.SetCurrentRow(3)
 
Is This Answer Correct ?    1 Yes 0 No
Deepika
 
  Re: 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.
Answer
# 7
Set T=DataTable.GetSheet(1).GetParameter(4)
'n=DataTable.GetRowCount
DataTable.GetRowCount
'For i=1 to n
R=DataTable.GlobalSheet.SetCurrentRow(3)
 
Is This Answer Correct ?    1 Yes 0 No
Deepika
 
  Re: 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.
Answer
# 8
Hi... if it is 4th column then GetParameter(4).Try this..

Set T=DataTable.GetSheet(1).GetParameter(4)
DataTable.GetRowCount
R=DataTable.GlobalSheet.SetCurrentRow(3)
 
Is This Answer Correct ?    1 Yes 0 No
Deepika
 
  Re: 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.
Answer
# 9
Hi,

Try this

Datatable.SetCurrentRow 3
val = Datatable.Value(4)
 
Is This Answer Correct ?    1 Yes 1 No
Ravi Kumar
 
  Re: 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.
Answer
# 10
U can try this...

datatable.Setcurrentrow(3)
a=datatable("<4th Column Name>", dtglobalsheet)
 
Is This Answer Correct ?    1 Yes 1 No
Shweta Gupta
 
  Re: 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.
Answer
# 11
My name is k.chandra sekhar,
My phone no is 09246540049,
Hyderabad.
My mail id is ndra_143@yahoo.co.in 
If any body want full explain send the mail

Any doubts call me (ONLY GIRLS)
 
Is This Answer Correct ?    1 Yes 0 No
K.chandra Sekhar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is InStr() Kanbay5
how to write script in qtp(vbscript)..i mean with out application deployed..and how to call script1 into script2?  2
What is the difference between low level recording and analog recording mode when it will be enabled. Ordain-Solutions4
In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.? Siemens1
I AM NEW IN QTP,PLZ TELL ME ANY BOOKS FOR QTP, MY COMPANY IS QTP,SO I LEARN QTP,PLZ ANYBUDY HELP ME AZTEC53
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.  2
Where virtual objects stores results?  4
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
can anyone please send me qtp framework material please its urgent  1
wt is memory leakage? BSL5
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please.......... AZTEC7
What is the Difference Between Quick Test Pro and Quick test professional? Infotech5
how do check the links in a webpage ? Accenture4
Could some one help me the difference between GetTOProperty and SetTOProperty and when we will use these properties. and what is meant by SetToProperties.. Clinical-Soft5
how do you run scripts in QTP?please anyone can answer my questions Ordain-Solutions2
How can we record an edit box in the Web application ? Kanbay3
Hoe we can export TEST RESUALT IN to XL-sheet? IBM1
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?  1
What is smart identification? Ordain-Solutions1
what is use of optionexplicit in variable declaration GE4
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com