Hi All,
i am a newbie to WatIR.
Ruby version 1.8.6-26 Final Release and WatIR 1.6.0.
I am using one of below codes to enter numeric values to a text
field.Its a numeric field and validation will be done while while
entering data, If we enter non numeric values one pop up will show a
error message.
ie.frame(:id,"wfFrame").table(:id,"idgEquipmentDetails").text_field
(:id,"idgEquipmentDetails__txt_0_4").set 20
ie.frame(:id,"wfFrame").table(:id,"idgEquipmentDetails").text_field
(:id,"idgEquipmentDetails__txt_0_4").set ('20')
ie.frame(:id,"wfFrame").table(:id,"idgEquipmentDetails").text_field
(:id,"idgEquipmentDetails__txt_0_4").set ("20")
But when i run any one of above code to enter numeric values, the pop
up shows the error message. I solved this problem by usong sendkey
method. but i want to know the exact problem, if any solutions are
available in WatIR, please post.
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---