Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to pass a numeric value into webedit
#1
Solved: 11 Years, 3 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, 3 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, 3 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, 3 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,197 12-05-2014, 03:26 AM
Last Post: kiranpol
  Validate Numeric value is displaying expected format kalaivanan123 1 3,503 09-23-2013, 08:45 PM
Last Post: ravi.gajul
  how to pass the data frm datatable silpavinod 3 3,949 10-18-2012, 01:54 PM
Last Post: silpavinod
  How to pass values between different tests in QTP vijaya.t 6 16,539 01-30-2012, 11:09 AM
Last Post: mrajeshtnl
  Need help on numeric value display AutomationTester2011 3 3,208 07-19-2011, 05:40 PM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 3 Guest(s)