public void SelectLinkUnderMenuItem(string subItem, string menuItem) { Hyperlink link = new Hyperlink(string.Format(AdminCommonPage.LeftSubMenuItemHyperlink.XPath, menuItem, subItem)); link.ClickAndWait(Constants.WaitMediumTime); }