There is a web application form that I need fill out and save. I have successful filled in the textbox fields using the 'Text' property. The problem....it is not triggering some underlying application validation for the field and then the Save button will complain about it. If I manually type the same exact text in the field, it works.
Question... Is there a way to send text to the text field as keystrokes so the application thinks the automation is a human?
I have also tried 'SetValue', 'SetFocus', and 'Perform Click' to try and get the value. No improvement.
Thanks for the tip. In my situation, the web application was trying to perform onchange field validation. I ended up using the text box's Method called 'RaiseEvent' and chose 'onchange'. It worked. I also needed to use pause to allow the validation to complete before the next automation started too quickly.
Posted: 4 years ago
Posted: 12 Dec 2018 1:23 EST
Jayachandra Reddy (Jayachandra Reddy K)