Posts: 31
Threads: 15
Joined: Oct 2012
Reputation:
0
10-11-2012, 03:04 PM
Hi,
I am having a webedit and i am passing 19 into that webedit.
But the issue is it is entering as 19 but it is not validating as numeric .... and i am sure whether it is taking as string or some other ....
Posts: 31
Threads: 0
Joined: Oct 2012
Reputation:
0
10-11-2012, 03:42 PM
(This post was last modified: 10-11-2012, 03:57 PM by harishshenoy.)
Hi ,
Use the conversion functions here.. for numeric u can use cint() and try , then it will take it as integer only.
Thanks,
Harish
Use Cint(value) to convert and to make sure it is a numeric value...
Thanks,
Harish
Posts: 424
Threads: 10
Joined: Aug 2011
Reputation:
0
10-15-2012, 12:06 PM
If you are trying to validate that webedit accepts only numeric character, you should better do the negative testing first. Enter ang junk character and check if error message was thrown. you can then check using a muneric value for the same.
Regards,
Ankesh
Posts: 31
Threads: 15
Joined: Oct 2012
Reputation:
0
10-15-2012, 01:57 PM
Thanks for the reply ....i got the solution by using sendkeys