Its a normal textbox and the value is not printing either sending thru excel or hardcoded. working fine in local whereas not working in server. I have tried in different ways like by capturing a new control, setting with different properties i.e xpath, attribute, css still no luck.
Please help if anyone has any answer
The “error” message indicates your Zip Code must be 10 digits (and I remember the TV show, ‘90210’, so 5 digits should be allowed) so is this a “bug” that you have found? Are you able to enter ‘61701’ manually into the textbox?
And, just curious, is there another textbox, or radio button, that dictates whether or not to use Canadian Postal Codes or American Zip Codes? Note: Canadian Postal Codes are ‘AnA nAn’ (alphanumeric), like T2G 1P7.
I remember there was another OP that had an issue with entering numbers into a textbox and I believe he had to enter them one at a time, using sendKeys. It was on this forum somewhere. That’s another thing to try. If something like it works, then you can make a Keyword out of it with perhaps a loop and substring() parsing method.