# Tab strip

![](https://gblobscdn.gitbook.com/assets%2F-M-L9CGkriEo1_2PfJzA%2F-M5X3utkzcv5tvaBuG83%2F-M5X5ITI6EK4FSbWa0Gt%2FSAP_%D0%B7%D0%B0%D0%BA%D0%BB%D0%B0%D0%B4%D0%BA%D0%B8_%D0%B8%D0%BA%D0%BE%D0%BD%D0%BA%D0%B0.png?alt=media\&token=328e2758-4eb4-4852-9318-3cf78b45c95b)

Element which gets reference to UI component Tab strip.

![](/files/755cVZE2NGRVwX6mApP1)

Properties:

* Control ID: \[String] Control ID
* Control: \[LTools.SAP.Model.SAPUIItem] Control reference
* Tab strip: \[LTools.SAP.Model.SAPUITabStrip] Variable that stores tab strip reference
* Variable: \[LTools.SAP.Model.SAPUITabStrip] Variable to store tabs reference
* Items: \[List\<LTools.SAP.Model.SAPUITab>] Tab strip items
* Select (key): \[String] Select tab by key
* Select (index): \[Int32] Select tab by index
* Time-out\*: \[Int32] Maximum waiting time for process completion (ms)

LTools.SAP.Model.SAPUITabStrip:

* \[SAPFEWSELib.ISapTabbedPane] Element - Element reference;
* \[String] Id - Element ID;
* \[List\<LTools.SAP.Model.SAPUITab>] Tabs - Tabs;
* SelectTab(SAPUITab tab - tab) - Select tab;
* SelectTab(int idx - tab index) - Select tab;
* SelectTab(string key - tab key) - Select tab.

LTools.SAP.Model.SAPUITab:

* \[SAPFEWSELib.ISapTabTarget] - Element reference;
* \[String] Id - Tab key;
* \[String] Text - Tab text.

```
C#
LTools.SAP.SapApp app = LTools.SAP.SapApp.Init(wf);
LTools.SAP.Model.SAPUITabStrip tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
tabs.SelectTab(tabs.Tabs[0].Id);

Python
app = LTools.SAP.SapApp.Init(wf);
tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell")
tabs.SelectTab(tabs.Tabs[0].Id)

JavaScript
var app = _lib.LTools.SAP.SapApp.Init(wf);		
var tabs = app.TabStrip("/app/con[0]/ses[0]/wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell");
tabs.SelectTab(tabs.Tabs[0].Id);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_sap/el_sap_tabstrip.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
