OPA enhancement request: Trigger suggest event when use "EnterText" action to type text into "sap.m.input"
OpenUI5 version: 1.46.10 Browser/version (+device/version): Browser independent
Steps to reproduce the problem:
- "sap.m.input control" with showSuggestion=true ,which means suggest event will be triggered when user types in the input;
- Create one OPA test case to test the suggest event with "EnterText";
What is the expected result? Suggest event is triggered when use OPA "EnterText" action to type text into "sap.m.input".
What happens instead? Suggest event can not be triggered after "EnterText" because its focusout function with "this._simulateFocusout(oActionDomRef) ;".
Any other information? (attach screenshot if possible) Could you please help to do the enhancement to always trigger the suggest event when typing in the input.
Hi @SherrySherry123
I have created internal incident: 1780379833 for your request. The responsible colleagues will contact you if it's approved.
Kind Regards, Gery
Starting with 1.67, the OPA EnterText action has a new flag keepFocus that can be used to keep the focus on the current element. If used with sap.m.Input, the suggested dialog is displayed and left for further interactions. Thanks for reporting.
Enhancement was implemented with c2dc7de0fa122bf41d89c71094a83bc5cfc11f41 as of UI5 Version 1.67. Therefore closing the issue.