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

Write a script to customize the test results in PDF and HTML format.

2076


What is clean sweep?

1367


What are the ordinal identifiers in web page?

626


What is difference between Recording time object identification and Run time (Execution) time.

995


after click on compose mail how can we attached a file in qtp with vbscript code

1607






I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1700


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1433


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1419


can i compare two databases using QTP ?

1872


What are the five challenges you faced in QTP?

2743


What are the types of data tables in qtp?

574


Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance

1732


Suppose I want fail that check point? How can you do that?

592


How to start recording using quicktest professional (qtp)?

586


What is reusable action?

589