コード例 #1
0
        /// <summary>
        /// Verify whether the current graph page has the specific title
        /// </summary>
        /// <param name="graphTitle">The expected page title</param>
        /// <returns>True if yes, else no.</returns>
        public bool IsAtGraphPage(string graphTitle)
        {
            var    graphPage = new GraphPage();
            string title     = graphPage.GraphTitle.Replace(" ", "");

            GraphBrowser.GoBack();
            return(title.Contains(graphTitle.Replace(" ", "")));
        }