Micro Focus QTP (UFT) Forums
overflow error - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: overflow error (/Thread-overflow-error)



overflow error - shayk1985 - 12-08-2012

hi,
when i am running tests i m getting errors like overflow error.
why this error occurs. it is occuring where i have taken phone numbers. for phone numbers i used right, left, mid. where ever i used them i get this occur with error code 13 and also i get error code 6 for this saying type mismatch.
please help


RE: overflow error - elango87 - 12-08-2012

Are you using an array to store the values?


RE: overflow error - pradeep singh - 12-10-2012

Hi,

I think there would be error related to data type.As phone no. is long ,so instead of using int ,use long (clng) datatype.
Let me know ,is this solve your error otherwise show me your code.