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
What is difference between design time and run time data table?
How to add synchronisation points in qtp?
what is the difference between IE & Netscape in web testing on a log in page
What is synchronization? What are the ways you can synchronize?
How to handle the exceptions using the recovery scenario manager in qtp?
Can any one send me the QTP Basic Coding Samples?
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
How does qtp recognize objects in aut?
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?
How you debug your script?
They asked by using qtp recording writing scripting
wht type of User defined functions or Java Releated functions do we write in VB scripting
Discuss quicktest professional environment?
Explain different checkpoints in qtp.
What are the challenges you faced during you entire life automation ?