Issue in selecting hidden tab in SAP

Someone please help me here.

I want to select the hidden tab here that is “Additional Data - B”. how can i do that?

@Salman_Faries

Follow the below steps,

First indicate in the tab using click activity,
In the properties section of click activity enable the simulate option it will ensure the click on hidden tab.

Check the below thread for reference,

Check and let me know if it works

@Salman_Faries

Try to use select item activity and if it works, i not check below thread, it seems similar kind of issue,

Happy Automation

@Salman_Faries You can handle this by first making the hidden tab visible and then clicking it.

  1. Indicate the right arrow button near the SAP tabs using a Click activity.
  2. Use Check App State to check whether the “Additional Data - B” tab is visible.
  3. If the tab is not visible, click the right arrow again.
  4. Repeat this until Additional Data - B appears.
  5. Once it is visible, use a normal Click activity on the tab.
  6. Try to use a stable selector for the tab instead of image-based clicking.
  7. Also check the tab in UI Explorer. Sometimes SAP exposes the hidden tab element even when it is not currently visible. If UiPath can identify it directly, you may be able to click it without scrolling.

I would suggest trying UI Explorer first. If the hidden tab cannot be identified, then use the arrow + Check App State approach.

Hi @Salman_Faries,

Since “Additional Data - B” is a hidden tab in the SAP tab strip, you can first use the right-side navigation/scroll arrow of the tab control to bring the tab into view and then click/select it.

Another option is to try targeting the tab directly with a SAP GUI selector. In UiPath, indicate the tab and check whether the selector contains a stable identifier such as the tab’s title or Id.

If the tab is not available for normal UI interaction, SAP GUI Scripting can also be used to select the tab programmatically. For example, with SAP GUI scripting, the tab can be accessed through the tab control and its Select method.

I would first try the tab navigation arrow + Click/Select Item approach, as it is simpler and less dependent on scripting.

If you share the UiPath selector for the tab control, we can determine the exact selector/approach for “Additional Data - B”.

@Salman_Faries

Try this activity which will give you all the tabs available to click. This should work.

Click Toolbar Button