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 / sampath
datatable.SetCurrentRow(3)
x=datatable.Value("A",1)
msgbox x
datatable.Value("c",1)=x
msgbox c
--------------------------------------
A c
mango
banana
brinjal
carrot
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
Explain Descriptive Programming Types with Examples?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
Output values? i want a practical example
In qtp, how you can exit for loop?
Explain the concept of object repository and how QTP recognizes objects?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is the file extension of the code file and object repository file in QTP?
What is CMMP and CMMH?
what is vmodel?advantages and disadvantages of vmodel?
What is the significance of “action 0” in qtp?
How to test login module with different username and password by using data driven testing in QTP?
Get the count of files of similar types from a folder.
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain