public void RegistrationLink_ShouldNavigateCorrectly() { NavigateTo.Url("http://test.telerikacademy.com/"); var notLoggedNavigationPanel = new NotLoggedUpperNavigationElements(); notLoggedNavigationPanel.SignUpButton.Click(); this.Browser.WaitForUrl(this.registrationPage.Url, false, 3000); Assert.IsTrue(this.Browser.Url == this.registrationPage.Url); }
public void NavigateToRegistrationPageManualy() { string baseUrl = "http://test.telerikacademy.com"; QA.Framework.Core.Helpers.NavigateTo.Url(baseUrl); var notLoggedNavigationPanel = new NotLoggedUpperNavigationElements(); notLoggedNavigationPanel.SignUpButton.Click(); Manager.Current.ActiveBrowser.WaitForUrl(baseUrl + this.Url, false, 3000); }