Skip to content

setSemanticStepName not working for UI5 Web Components (FESR step name not overridden) #13186

@nainagodhwani

Description

@nainagodhwani

Bug Description

We are implementing telemetry for our application and using the setSemanticStepname function from FESRHelper:
The goal is to assign meaningful semantic step names to user interactions so that they are reflected correctly in FESR logs when validated using the FESR EPP Chrome Extension.

import FESRHelper from "sap/ui/performance/trace/FESRHelper";

When a custom step name is set via:

setSemanticStepName(item, "click", FESRStepNames.SETTINGS_BUTTON_CLICK);

the expectation is that the provided semantic step name appears in the FESR logs after deployment.
This works correctly for classic SAPUI5 controls such as sap.m.Button.

However, when the interaction originates from UI5 Web Components, the semantic step name is not applied. Instead, the FESR logs continue to display the auto-generated FESR name's (for example, r360::GoButton_click).

Image

No error is thrown, but the custom semantic step name is ignored.

As a result, it becomes challenging to capture meaningful semantic telemetry in Web Component–based applications.

Affected Component

No response

Expected Behaviour

setSemanticStepName (or equivalent semantic step override mechanism) should work consistently for interactions triggered by UI5 Web Components.

When a semantic step name is set during a Web Component click/interaction, the FESR STEP_NAME should reflect the provided custom value instead of the auto-generated technical interaction name.

Isolated Example

No response

Steps to Reproduce

  1. Launch the application that uses UI5 Web Components.
  2. Install and enable the FESR EPP Chrome Extension
  3. Open the browser Developer Tools and navigate to the FESR extension panel.
  4. Trigger the relevant user interaction in the application.
  5. Observe the recorded STEP_NAME in the FESR logs.

Log Output, Stack Trace or Screenshots

Image

Priority

High

UI5 Web Components Version

2.16

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions