how to retrieve data from the data table (from a particular
cell)
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
give me the code to save all messages of inbox of gmail into a folder and notepad
I Selected for TCS-Chennai(Contract to hire) position plz suggest me whether i have to join or not
how to parameterise a test with data base table or excel sheet?
why was automation used in the project?
How does you test a weblink which is changing dynamically?
How many types of recording modes are there?
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
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
how to choose the framework in qtp ? 2)when we go for the descriptive programming ?
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 ?
Tell me about qtp?