Best Practices

The following best practices are recommend to record a workflow using the SAPUI5 recorder:

  • You must start recording on a refreshed screen.

  • Capture Screen

    You must capture a screen by choosing the camera () button manually if:

    • new controls are loaded into the screen once the previous capture is completed. You must capture the screen before interacting with the newly appeared controls.

    • there is a scroll to a specific section on the screen. Instead of using the scroll bar and capturing the screen, we recommend that you use the navigation bar to scroll to the relevant section on the screen when necessary.

    • there is a drop-down list or a pop-up message on the screen. We recommend that you set the value into all types of input boxes (such as ComboBox or Multi-ComboBox) from the keyboard instead of selecting from the list or pop-up message and capturing the screen.

      In the following example, you must capture the screen before selecting a value from the drop-down list.

    • a new table row is created on the screen before entering values into the input boxes of the table row.

      In the following example, you must capture the screen after a new table row is created.

    • the table results are updated after choosing Go.

    • the input box state changes between valid and error state after adding values to the input boxes of the table row.

  • Input Suggestion/ Date control

    While recording, you must set the input values by using the keyboard instead of choosing the suggestions that come from the input boxes.

  • Input Boxes

    You must choose the Tab or Enter key to record actions after entering the values into the input boxes.

  • Collection

    Before implementing collection on the recorded elements, it is important to first check the criteria. If the criteria includes the parents, the topmost parent must be set as the collection instead of the base parent.

  • Criteria

    If there is any discrepancy in the criteria that appears in orange or red mark, you can select the criteria manually.

  • Handle Fiori Login Page

    Using the UI5 Login activity, you can log into UI5 applications. You can also capture login screen manually along with the recorder.

    For more information, see the UI5 Login activity section.