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 difference between design time and run time data table?

587


How to add synchronisation points in qtp?

580


what is the difference between IE & Netscape in web testing on a log in page

1798


What is synchronization? What are the ways you can synchronize?

653


How to handle the exceptions using the recovery scenario manager in qtp?

573






Can any one send me the QTP Basic Coding Samples?

1614


QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue

5520


How does qtp recognize objects in aut?

594


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1581


How you debug your script?

577


They asked by using qtp recording writing scripting

2074


wht type of User defined functions or Java Releated functions do we write in VB scripting

1833


Discuss quicktest professional environment?

592


Explain different checkpoints in qtp.

723


What are the challenges you faced during you entire life automation ?

1008