Hi friend
I have query regarding QTP datatable.
I want to insert data in datatable during runtime.

suppose i wrote

datatble.value(1) = "Test data"

so when i run the script it says column(1) doesn't exist.

Then i write something in column A1 manualy and run the
script again.

Now it works fine.

Pls clarify how i can put value in blank cell of datatable.

Answer Posted / sekhar

Hi friends,when we need to insert the values in to datatable
we can write script like

datatable("column name",sheetid)=value

Then the given value will be stored in desired sheet and
given column,

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?

1514


How to use debug tools?

2198


Is virtual object supported in low level recording mode?

623


What is the difference between byref and byval in qtp?

586


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

2086






I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1481


whare exactly we have to use functions and sub routain

1846


How you can make an action as re-usable action?

656


how to convert 100 into hundred repees only and viceversa

1453


Explain Descriptive Programming Types with Examples?

925


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.

1537


In qtp is it possible to check broken links of a page?

587


In qtp, explain what is keyword driven automation framework?

619


We stored into the objects OR and then write the scripting

1544


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

1007