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 are the features supported by UFT?

0 Answers  


whaht is the difference between CLASS & OBJECT?

3 Answers   Accenture,


What is the another extension name of library file. If that is exist than what's the difference between them.

2 Answers   Synechron,


what is verification & validation?

2 Answers   Accenture, TCS,


My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  






How to handle dynamic objects in quicktest professional (qtp)?

0 Answers  


How to open a new test using quicktest professional?

0 Answers  


What’s the QTP testing process?

1 Answers  


Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"

1 Answers  


how can i replace any text from the qtp script with some anothere text

1 Answers   Livetek,


Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji

3 Answers  


How comfortable are you in VB scripting?

2 Answers  


Categories