internal void Open_Tab(Tab _tab) { switch (_tab.ToString()) { case "Geographical Detail": GeographicalDetailTab.Click(); break; case "Assign Distributor": AssignDistributorTab.Click(); break; case "Employee": EmployeeTab.Click(); break; } }
public ManageUsersPage ClickEmployeeTab() { WaitHelper.WaitForElementToBeClickable(EmployeeTab); EmployeeTab.Click(); return(new ManageUsersPage(driver)); }