Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to pass a numeric value into webedit
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
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 ....
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
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
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
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
Reply
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
Thanks for the reply ....i got the solution by using sendkeys
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PASS/FAIL in QTP badri 3 6,273 12-05-2014, 03:26 AM
Last Post: kiranpol
  Validate Numeric value is displaying expected format kalaivanan123 1 3,517 09-23-2013, 08:45 PM
Last Post: ravi.gajul
  how to pass the data frm datatable silpavinod 3 4,061 10-18-2012, 01:54 PM
Last Post: silpavinod
  How to pass values between different tests in QTP vijaya.t 6 16,673 01-30-2012, 11:09 AM
Last Post: mrajeshtnl
  Need help on numeric value display AutomationTester2011 3 3,259 07-19-2011, 05:40 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 1 Guest(s)