12-29-2010, 02:02 PM
Hi,
I have the following query. I am reading the "value" attribute of a webelement and it is containing numbers like 99,99,9910 or 89,012 etc.
I need to eliminate the commas from these numbers and change the data type into numbers like 99999910 and 89012.
I have to write a function for the same in VBscripting in QTP10.
Also, if there is any in built function in QTP then I would like to know the same.
Thanks,
Indranil.
I have the following query. I am reading the "value" attribute of a webelement and it is containing numbers like 99,99,9910 or 89,012 etc.
I need to eliminate the commas from these numbers and change the data type into numbers like 99999910 and 89012.
I have to write a function for the same in VBscripting in QTP10.
Also, if there is any in built function in QTP then I would like to know the same.
Thanks,
Indranil.