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

How you debug your script?

81


what is clean sweep?

1013


How does quicktest professional (qtp) identifies the object in the application?

65


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

850


How do Parameterization and Data-Driving relate to each other in QTP?

91






Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

989


Differentiate the type of test cases which can be automated and which cannot be automated?

86


For which type of project the iterative model is suitable?

849


How to creating an output value using quicktest professional (qtp)?

67


How many ways we can parameterize data in quicktest professional?

68


Who uses qtp tool?

82


after initiating one project for testing, when exacltly QTP tester role starts?

876


What is the syntax to call one script from another?

77


Both static and dynamic arrays are handled by the vb script. Is it true?

59


How does you pass optional arguments in qtp?

82