I am exercising Pega Robotics with creating a web automation.
I need SendKeys(String) method to choose value. Values for choosing the correct one appear just after typing text in the searchbox. Property.Text doesn’t work for app - existing values are not populated with that method.
During interrogation the field I test in the Interrogation window Test tab → send keys and it works.
Once I run automation → Value with SendKeys is not send to the box.
I Any idea what can block SendKeys method functionality in automation? Additional prerequisites? Thank you in advance!
@DarijaS91 You might need to ensure that your control is in-focus if using SendKeys. You might try that. Often when something works in interrogation but not at runtime, there’s something different about the way you are executing it in interrogation. If you are manually clicking places, that might set the appropriate focus which would not be done automatically at runtime.
@ThomasSasnett Thank you for your reply. During discovery I realized that SendKeys doesn’t work for Chrome (I didn’t mention the browser in the question). Can this be a case?
In overall I’ve noticed limitations in Trial PEGA Robot version (like automating EDGE also is not possible).
To avoid blockers I have chosen IE to automate dummy task - the goal achieved.
@DarijaS91 Thank you for that. Yes, the training materials are all written against that version. There have been many improvments and additions since then, so this most likely works fine in later versions. Edge support was added much later than 19.1.66, so you would certainly need a later version to do that. Here is a link to the build notes page, so you may see the improvements that have been made since. In addition, we have a new version that is slated for imminent release called Version 22.1. This is complete overhaul of the developer experience. I have included a link to its page below as well (it was called V21 at the time this was created), but will be called V22.1 when it is released in the very near future.