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

What is the Major difference between QTP ; LoadRunner? If u want to test an 1. erp module which automation tool you would prefer and why? and 2. for web application, which tool and why?

2 Answers   Satyam,


How to handle recovery scenario for a application crash.write script for this.

2 Answers   Polaris, TCS,


How to capture all the data of a webtable, weblist and combolist using QTP?

0 Answers   ITC Infotech,


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


How to capture the text from the application using QTP?

3 Answers  


What is file database?

0 Answers   Syntel,


How many type of status messages are there ..explain?

5 Answers  


can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance

2 Answers  


3. Anyone pls tell me as many points as possible for this question? what r the things to take into consideration before automating an application like; a). Identify whether the tool supports the appln or not. b). When there is lot of retesting and regression testing. c). ROI. d). When there is a need for running same script for multiple datas, etc. e). ---- f). --------- Pls give me more points.

1 Answers  


Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday

1 Answers  


how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?

3 Answers   Zensar,


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


Categories