If i entered 2 columns and 4 rows inputs in DDT Like Mango
fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q
is How to get the 2nd column value for corresponding 1
column input in 3rd row ie, ( i need to get "veget" in
messge box @ run time

Answer Posted / satya

strCnt=DataTable.getRowsCount
For i=1 to strCnt
datatable.SetCurrentRow(i)
x=datatable.Value("A")
datatable("c")=x
Next

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is profile tool?

1599


We stored into the objects OR and then write the scripting

1538


Can we write winrunner language i.e TSL in QTP tool?

1468


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1312


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1521






Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1371


Hi All, I need code for how to execute qtp scripts from excell sheet

1455


explain abt dyanamic changing object with example?

1897


What is the quicktest professional (qtp) testing process?

561


In Remote acess server how u run a test?

1282


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

2194


unique properties of button,edit box, radio button,check box?

3814


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3435


How do Parameterization and Data-Driving relate to each other in QTP?

552


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1436