08-06-2010, 01:48 PM
Thanks Venkat...
The Real Scenario is diff.
Eg: I have a column in Datatable which is supposed 2 have only NUMBERS. (1000,1001...). Since I am picking the value frm DT, QTP picks it as "1000". And when I do a TypeName, it returns String although it is a number..
In general, any data(whether it is a NUMBER,STRING,DATE etc) that you pick up from DT will be returned as a STRING if I use TypeName.
The Real Scenario is diff.
Eg: I have a column in Datatable which is supposed 2 have only NUMBERS. (1000,1001...). Since I am picking the value frm DT, QTP picks it as "1000". And when I do a TypeName, it returns String although it is a number..
In general, any data(whether it is a NUMBER,STRING,DATE etc) that you pick up from DT will be returned as a STRING if I use TypeName.