public void Acceptance_Graph_S02_TC03_ClickTryAPIOnExplorerCanShowPage() { GraphUtility.SelectToTryAPI(); Assert.IsTrue( GraphBrowser.SwitchToWindow("Graph Explorer"), @"The opened page should be ""Graph explorer"" when clicking Try the API"); }
public void Acceptance_Graph_S03_TC01_CanGoToOffice365GettingStartedPage() { GraphPages.Navigation.Select("Get started"); GraphUtility.SelectO365GettingStarted(); Assert.IsTrue( GraphBrowser.SwitchToWindow("Office Dev Center - Getting started with Office 365 REST APIs"), @"Clicking ""Office 365 Getting Started"" on Get started page can navigate to devofficecom, getting started page"); GraphBrowser.SwitchBack(); }