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 / sameer

=======
DataTable(ParameterID [, SheetID]) =NewValue This is what
is specified in data table help.

That means you should use:

DataTable.SetCurrentRow(1)
DataTable(1,dtGlobalSheet) = "Test" ...If you are to insert
data in the first row and first column of global sheet.

I am using the same...n it's working..

Is This Answer Correct ?    4 Yes 1 No






Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In qtp, how you can exit for loop?

69


what type of automation is follwed in the project?

985


What is qtp window?

53


What is recovery scenario in qtp?

78


What is the quicktest professional testing process?

59






Explain the difference between call to action and copy action?

50


Whether qtp 9.0 supports Test director8.0

1604


How to modify object property in qtp ?

63


can u explain relative path architecture framework in qtp?

1052


What are the 3 main stages involved in testing with qtp?

74


Does QTP record on Objects created on XWindows Environment?

1137


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

954


What do you mean by iteration?

75


What is CMMP and CMMH?

82


how to acess a test in RSA?

1085