示例#1
0
 public void TestActions()
 {
     //NavigationHelper.NavigationToURL("localhost:5001/enter_bug.cgi");
     ButtonHelper.ClickOnButton(By.LinkText("Open a New Account"));
     BrowserHelper.GoBack();
     BrowserHelper.GoForward();
     BrowserHelper.RefreshPage();
 }
示例#2
0
        public void TestAction()
        {
            NavigationHelper.NavigateToUrl("https://google.com");
            //ObjectRepository.Driver.Manage().Window.Maximize();
            //ObjectRepository.Driver.Navigate().Forward();
            //ObjectRepository.Driver.Navigate().Back();
            //ObjectRepository.Driver.Navigate().Refresh();

            BrowserHelper.GoBack();
            BrowserHelper.GoForward();
            BrowserHelper.GoRefresh();
        }