public void ChooseTab(string tab) { TabItem. In(ActivityContainer, "ProcessAction", "ProcessCommands"). WithHeading(tab). Single(). Activate(); }