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.

Answers were Sorted based on User's Feedback



How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / sushil

'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 ?    8 Yes 2 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / nayan

you can try this,

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

Hope this work out ...............

Is This Answer Correct ?    4 Yes 1 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / deepika

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 ?    2 Yes 1 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / deepika

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 ?    2 Yes 1 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / ravikumar

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 ?    1 Yes 2 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / deepika

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 2 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / ravi kumar

Hi,

Try this

Datatable.SetCurrentRow 3
val = Datatable.Value(4)

Is This Answer Correct ?    1 Yes 2 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / shweta gupta

U can try this...

datatable.Setcurrentrow(3)
a=datatable("<4th Column Name>", dtglobalsheet)

Is This Answer Correct ?    1 Yes 2 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / k.chandra sekhar

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 ?    2 Yes 4 No

How to retrive data from a data table which is in 3rd row,4th column and place it in main script....

Answer / k.chandra sekhar

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 7 No

Post New Answer

More QTP Interview Questions

where we save the scripts created in one project?

6 Answers   IBM,


Once we get the Test Result from QTP.,I Have to convert into Excel file format..Is it possible..Can any gudie me regarding this... For Example : Total Test Case is : XXXXX Test Case passed : XXX Test Case Failed : XXX -------- Total XXXXXX ---------

6 Answers  


what is the framework followed by ur company in qtp

5 Answers  


How to Set the Global Sync Timeouts in QTP?

2 Answers  


Can we directly automate test script according to requirements?

1 Answers  






I have a web table,in that web table in 3rd row 4th coloumn i have a link how to click it with descriptive programming? I have a webedit without entering any value how to calculate the size of that field? I have a DB table , how to find the 5th highest salary? write query.

2 Answers   3i Infotech,


What is the difference between local and shared object repository in qtp?

0 Answers  


what is the Descriptive Progarmming? how it is help to testers in QTP?

4 Answers   TCS,


Currently i have designed my script based on the test cases present in Quality Center. I want to run my script from quality center. Can anyone help me to get the code which will connect QTP with Quality Center and execute the test cases?

1 Answers  


results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


what do you call the window testdirector-testlab?

1 Answers  


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,


Categories