Posted: 22 Mar 2018 22:52 EDT Last activity: 19 Jul 2018 15:42 EDT
Unable to interrogate a button, the entire line gets highlighted instead
Hello, PEGA Community.
Have anyone encountered an issue where in you're trying to interrogate a specific button, an entire section (together with other buttons) gets highlighted instead of just specific button that we intend to interrogate.
Is this a limitation on what it can interrogate already? And is there a way we can still access the button that we intend to click?
We though of passing an index on the interrogated section so as to identify the button by position but raiseEvent is unavailable on the test method for this object. What we've tried is setting the width in a way that it only covers the first button, but performing click doesn't seem to work for that.
I have attached a screenshot of the behavior we encountered.
If you cannot interrogate a specific control, only the outer control, this usually means that Pega Robotics does not support the outer control you are interrogating. You sometimes can switch to the Windows tab and find the inner controls, but usually this means the outer control is obscuring the inner controls. There are methods that were added for helping with this situation starting with build 8.0.1058 called ClickChildByText and ClickChildByName. These work with the Windows hierarchy to click controls which are visible to Windows. These methods do not work with web pages.
If none of these methods work, you will need to open a SR to request support for the control.