protected override void InitializeContents() { base.InitializeContents(); HeaderMenu = new HeaderMenuPart(Document); QuickLinksMenu = new HeaderQuickLinksMenuPart(Document); }
public void TopMenu() { var menu = new HeaderMenuPart(browser); Assert.True(menu.AboutLink.EnsureClick()); browser.Page <AboutPage>(); Assert.True(menu.HomeLink.EnsureClick()); browser.Page <HomePage>(); Assert.True(menu.TicketsLink.EnsureClick()); browser.Page <LogonPage>(); }