how to retrieve data from the data table (from a particular
cell)

Answers were Sorted based on User's Feedback



how to retrieve data from the data table (from a particular cell) ..

Answer / uday kumar_anem

First goto the the row and then retrieve the value from the
required cell.

datatable.SetCurrentRow(rowid)
datatable.Value(columnId,SheetId)
Ex:
datatable.SetCurrentRow(3)
val=datatable.Value(4,1)

Is This Answer Correct ?    23 Yes 3 No

how to retrieve data from the data table (from a particular cell) ..

Answer / milan

Uday your answer is right but if you have 3 values in
datatable then you will get the same value 3 times....

Is This Answer Correct ?    7 Yes 0 No

how to retrieve data from the data table (from a particular cell) ..

Answer / nanda

Hi Uday, u r exactly right.

Is This Answer Correct ?    5 Yes 2 No

how to retrieve data from the data table (from a particular cell) ..

Answer / nitin sharma

Function isparameterexist(sheetname,parametername)
on error resume next
if isparameterexist=true
err.clear
set param=datatable.getparameter("parametername").getsheet("sheetname")
if err.number<>0 then
isparameterexist=false
End IF
End Function

Is This Answer Correct ?    2 Yes 1 No

how to retrieve data from the data table (from a particular cell) ..

Answer / chaitanya chivukula

Print getvalueByrow("UserName","36")

Function getvalueByrow(colName,rownum)

DataTable.Get("SheetName").GetParameter(colName).RowByValue(rownum)

End Function

Is This Answer Correct ?    0 Yes 0 No

how to retrieve data from the data table (from a particular cell) ..

Answer / 428

428

Is This Answer Correct ?    4 Yes 5 No

how to retrieve data from the data table (from a particular cell) ..

Answer / dibyendu hembram

from my point of view there is no such function to retreive
data from a particular cell. what i think to retreive a
data from a particular cell we have to first create excel
sheet object and then by creating excel object we can use
the excel sheet function to access the particular cell

Is This Answer Correct ?    7 Yes 9 No

Post New Answer

More QTP Interview Questions

What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.

1 Answers   HCL,


give me the code to save all messages of inbox of gmail into a folder and notepad

0 Answers   Infosys,


I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not

2 Answers   TCS,


how to parameterise a test with data base table or excel sheet?

1 Answers   FCG,


why was automation used in the project?

1 Answers   Google,


How does you test a weblink which is changing dynamically?

0 Answers  


How many types of recording modes are there?

0 Answers  


Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT

1 Answers  


suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do

2 Answers   DigiTech,


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ?

16 Answers   Syntel,


Tell me about qtp?

0 Answers  


Categories