Please and the following question
Q) Can we send any value of a variable from expertview to some specific cell in datatable.
I want to send this vairbale's value to second cell of the first row.
Please answer this.
which datatable you mean? globalsheet, datatable of qtp? localsheet? be exactly in describing your problem please.
of course you can store any values in sheets using the "datatable"-object. its described in the online-help...
to set a cell in a row show at the onlinehelp of qtp how you must do this
little help: DataTable(....).SetRow
de omnibus dubitandum
For all Questions: Please be sure to take a look at the QTP Manual before posting any Questions, thanks for doing this
we can set values to datatable whereever u want.Bydefult it points to first row .if u want to point perticular row use this method
then u can write data using bellow statemnet.
We can set the row in which we have to put the data bye
After that I am using Datatable object's value property
Datatable.Value(1,1) = a
After running I am facing the problem
Can U please guide me what are these arguments and what we need to pass in this value function
Ionly need the dexcription of first and second argument that we pass.
please take for example that Global sheet is the sheet and column is second column of second row.
The line [Datatable.Value(1,1) = a] sets the second row of the first col in the first sheet to "a".
Search for keywords "DataTable" and "value property" in the QTP help for more info.