How to retrive data from a data table which is in 3rd
row,4th column and place it in main script..like retrive
name,date from data table..write script for this.

Answer Posted / ravikumar

set datatable to 2nd row

datatable.setcurrentrow(2)
dim abc
need to get data from the sheet
abc=datatable.value(3,1)

sure thiscode will work fine

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the exception handling can be done using quicktest professional?

537


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1565


How is UFT 11.5 version different from UFT 12.0?

603


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

1533


Why bpt?

588






What are the ways you can synchronize?

580


How to recognise the webelement and verifying that webelement is enabled?

1641


Which features or drawbacks of QTP lead to the upgrade for a newer version?

569


explain abt dyanamic changing object with example?

1899


What is the parameterization? Give one example?

587


What is a reusable action?

573


What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz

1472


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2379


Limitations in QTP?

1737


What are the different properties of an web object

1424