//Method to sign in through specific user and enable featureBee public static void LoginWithFeatureBee(string[] featureList, POM.Helper.SeleniumHelper.iSIMSUserType userType = POM.Helper.SeleniumHelper.iSIMSUserType.TestUser) { POM.Helper.SeleniumHelper.Login(userType, featureList); }
public static TemplateSearchScreen NavigateToTemplateMenuPageFeatureBee(string[] featureList, POM.Helper.SeleniumHelper.iSIMSUserType userType = POM.Helper.SeleniumHelper.iSIMSUserType.TestUser) { POM.Helper.SeleniumHelper.Login(userType, featureList); // Feature list is a list of features which will be enable at login. POM.Helper.Wait.WaitForElementEnabled(By.CssSelector(SeleniumHelper.AutomationId("task_menu"))); POM.Helper.SeleniumHelper.ClickByJS(POM.Helper.SeleniumHelper.FindElement(By.CssSelector(SeleniumHelper.AutomationId("task_menu")))); Console.WriteLine("Clicked on taskmenu"); System.Threading.Thread.Sleep(500); //ShellAction.OpenTaskMenu(); TaskMenuActions.OpenMenuSection("section_menu_Communications"); TaskMenuActions.ClickMenuItem("task_menu_section_communications_ManageMessageTemplates"); return(new TemplateSearchScreen()); }