How to find the current tab user is working on

how to find the current tab user is working on?

I have a tabbed based harness and sections. I can see when user goes to a tab it shows a different color. Its indicating that customer in a particular tab. Where is that information available ?

If we have to execute something based on the current tab customer is working on or selecting how can we do that?

I cannot use "Defer load" Retrieve Activity in the tabs because that executes only at the first click or first time when the user selects.

Can anyone have a solution for this issue?

Thanks in advance

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

August 3, 2011 - 4:14am

Hi snavaneethan,

I am facing a similar kind of problem...
I want a button to be disabled on tab2 and enabled it on tab 7

I cant use Defer load bcoz it wil be called only once...

How can i get the index using Param.ExpandedTabGroup ?

Pls help me on getting the tab index ...

Pls reply asap ..Its urgent

April 27, 2010 - 6:39pm

Use Param.EXPANDEDTabGroup. This will give the current tab index.

April 28, 2010 - 5:39pm

prasanthsct ,

Thank you for the reply. It does give the index ( Number) of the Tab.

October 28, 2015 - 8:02am

How did you resolve this issue.

Can you please share resolution steps here.


October 28, 2015 - 9:18am

If you are using tabbed layout, you can check the "Refresh when active" check box so that defer load contents activity will be loaded for each time when you click on the tab.

October 28, 2015 - 9:26am

Hi Satish,

There are few controls on each tab, when user performs actions, i need to know from which tab he has performed a action. Defer load will only fire once in its lifetime.



October 28, 2015 - 7:39pm

Hi Satya,


If you Check "Refresh when active" check box the pre-loading activity will be fired each time when the tab is active so in the pre-loading activty of each tab set the tab name. So when a purticulare tab is active / clicked it's name can captured. 

October 29, 2015 - 12:53am

Hi Satish,

I don't have that option for tab group in 7.1.8.

I have a harness which contains tab group

PFB. When I select Defer load, it will only ask option for pre-activity which will be invoked only once in its life time.

October 30, 2015 - 2:31am

For section rule only "The refersh active when option availabe" for Tab group layout but for harness it is not specified. 

February 9, 2016 - 5:06pm

I have 4 tabs and i need to have 'Prev' and 'Next' button on each section to navigate in between tabs, anybody help me please how to get it done. thank you.