public void ClickOnFrameworksTab() { if (FrameworksTab.Displayed) { FrameworksTab.Click(); } else { throw new Exception("Element is not found or not clickable"); } }
public FrameworksViewModel( bool isFrameworkDeveloper, bool isFrameworkContributor, MyFrameworksViewModel myFrameworksViewModel, AllFrameworksViewModel allFrameworksViewModel, FrameworksTab currentTab ) { IsFrameworkDeveloper = isFrameworkDeveloper; IsFrameworkContributor = isFrameworkContributor; MyFrameworksViewModel = myFrameworksViewModel; AllFrameworksViewModel = allFrameworksViewModel; TabsNavLinks = new TabsNavViewModel(currentTab); }