Hi Friend,
I couldn't understand, Its a text field it should accept only numeric
value. If we enter any other values it will create a error message pop
up. I am using the any one of the above codes, but it creates the pop
up, Just i want to know that,
Any error on the code?
or any other codes available to enter numeric value?
Actually i am having experience in QTP only, its a user friendly tool
where i faced the same issue, take a look on below code,
Browser().Page().WebEdit().set "20"
but i changed the code as below and worked well.
Browser().Page().WebEdit().set 20
Here this modification is not working, WatIR enters the value as
string not a numeric value, that's why application shows the error
message.
On Nov 19, 6:25 pm, juuser <[EMAIL PROTECTED]> wrote:
> You have to probably fire_event("onchange") or whatever JavaScript
> event you have tied to that text_field after you've set the value.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---