public HomePageSteps(IHomePage homePagePage, INavigationBarFragment navigationBarFragment, IGenerator generator, ScenarioContext scenarioContext) { _homePagePage = homePagePage; _navigationBarFragment = navigationBarFragment; _generator = generator; this.scenarioContext = scenarioContext; }
public void SetUp() { Page.Initialization(); config = new AppConfigReader(); loginPage = new LoginPage(); homerPage = loginPage.Login(config.GetUserName(), config.GetPassword()); }
public void Setup() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); balanceEnquiryPage = homePage.ClickOnBalanceEnquiryPage(); }
public void Setup() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); fundTransferPage = homePage.ClickOnFundTransferPage(); }
public void NavigateBackToHomePage() { _homePage = _logoutPage.ClickOnLoginAppLink <HomePage>(); var titel = _homePage.GetPageTitel(); var pageTitel = "Home pages - LoginApp"; Assert.AreEqual(titel, pageTitel); }
public void Setup() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); withdrawalPage = homePage.ClickOnWithdrawalPage(); }
public void AssertUserNavigatesBackToHomePage() { _homePage = _registerConfirmationPage.ClickOnLoginAppLink <HomePage>(); var titel = _homePage.GetPageTitel(); var pageTitel = "Home pages - LoginApp"; Assert.AreEqual(titel, pageTitel); }
public void SetUp() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); newCostumerPage = homePage.ClickOnNewCustomerLink(); }
public void Setup() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); customisedStatementPage = homePage.ClickOnCustomisedStatementPage(); }
public void Setup() { Page.Initialization(); loginPage = new LoginPage(); config = new AppConfigReader(); homePage = loginPage.Login(config.GetUserName(), config.GetPassword()); deleteAccountPage = homePage.ClickOnDeleteAccountPage(); }
public ImdbScraperService() { var driver = new ChromeDriver (@"C:\Users\User\RiderProjects\Scrapy\Scrapy.Infrastructure\bin\Debug\netcoreapp3.1"); _homePage = new HomePage(driver); _homePage.GoToPage(); }
public void AssertPageTitel() { _homePage = UnityWrapper.Resolve <IHomePage>(); var titel = _homePage.GetPageTitel(); var pageTitel = "Purplebricks Estate Agents - You'll Be Totally Sold"; Assert.AreEqual(titel, pageTitel); _homePage.EnterSearchString("CV10 8QY"); _homePage.ClickOnElementSearchButton(); }
public void GivenIOpenAmazonInABrowser() { var kernel = new StandardKernel(); kernel.Load(Assembly.GetExecutingAssembly()); _homePage = kernel.Get <IHomePage>(); _searchResults = kernel.Get <ISearchResults>(); _categoryPage = kernel.Get <ICategoryPage>(); _homePage.launchSite(ConfigurationManager.AppSettings["baseUrl"]); }
public HomePageViewModel(IHomePage homePage, IEventAggregator eventAggregator, ILibraryService libraryService) : base(homePage) { this._eventAggregator = eventAggregator; this._libraryService = libraryService; this.GoToSettingsCommand = new DelegateCommand(this.GoToSettings); this.GoToVideosCommand = new DelegateCommand(this.GoToVideos); this.CleanCommand = new DelegateCommand(this.Clean); this.LoadCommand = new DelegateCommand(this.LoadAsync); this.ManageCommand = new DelegateCommand(this.GoToManage); }
public void GivenIOpenAmazonInABrowser() { var kernel = new StandardKernel(); kernel.Load(Assembly.GetExecutingAssembly()); var driver = kernel.Get <IWebDriver>(); _homePage = kernel.Get <IHomePage>(); _homePage.launchSite(ConfigurationManager.AppSettings["baseUrl"]); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); _loginPage = _homePage.ClickOnLoginLink <LoginPage>(); var email = JsonConfig.GetJsonValue("Email"); var password = JsonConfig.GetJsonValue("Password"); _loginPage.EnterEmail(email); _loginPage.EnterPassword(password); _loginPage.CheckRememberMeRadioButton(); _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>(); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); _loginPage = _homePage.ClickOnLoginLink <LoginPage>(); var email = "*****@*****.**"; var password = "******"; _loginPage.EnterEmail(email); _loginPage.EnterPassword(password); _loginPage.CheckRememberMeRadioButton(); _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>(); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); _random = new Random(); var value = _random.Next(1, 20000); _registerPage = _homePage.ClickOnRegisterLink <RegisterPage>(); var email = $"nsntestaccount{value}@yahoo.com"; var password = "******"; _registerPage.EnterEmail(email); _registerPage.EnterPassword(password); _registerPage.EnterConfirmPassword(password); _registerConfirmationPage = _registerPage.ClickOnSubmitButton <RegisterConfirmationPage>(); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); _random = new Random(); telNumber = _random.Next(100000, 200000000); var value = _random.Next(100, 20000); _loginPage = _homePage.ClickOnLoginLink <LoginPage>(); var email = "*****@*****.**"; var password = "******"; newEmail = $"snscareers{value}@yahoo.com"; _loginPage.EnterEmail(email); _loginPage.EnterPassword(password); _loginPage.CheckRememberMeRadioButton(); _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>(); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); _random = new Random(); telNumber = _random.Next(100000, 200000000); var value = _random.Next(100, 20000); _loginPage = _homePage.ClickOnLoginLink <LoginPage>(); var email = JsonConfig.GetJsonValue("Email"); var password = JsonConfig.GetJsonValue("Password"); newEmail = $"nsntestaccount{value}@yahoo.com"; _loginPage.EnterEmail(email); _loginPage.EnterPassword(password); _loginPage.CheckRememberMeRadioButton(); _userAccountPage = _loginPage.ClickOnlogInButton <UserAccountPage>(); }
/// <summary>Static getter for Body Text</summary> public static IHtmlString GetBodyText(IHomePage that) { return(that.GetPropertyValue <IHtmlString>("bodyText")); }
public HomePage(AppiumDriver <AppiumWebElement> driver, IHomePage homePage) { _driver = driver; _homePage = homePage; }
/// <summary>Static getter for Short Description</summary> public static IHtmlString GetShortDescription(IHomePage that) { return(that.GetPropertyValue <IHtmlString>("shortDescription")); }
/// <summary>Static getter for SocialLinks</summary> public static string GetSocialLinks(IHomePage that) { return(that.GetPropertyValue <string>("socialLinks")); }
public void SetUp() { _homePage = UnityWrapper.Resolve <IHomePage>(); }
/// <summary>Static getter for Footer Text</summary> public static string GetFooterText(IHomePage that) { return(that.GetPropertyValue <string>("footerText")); }
/// <summary>Static getter for Parallax Image</summary> public static IPublishedContent GetParallaxImage(IHomePage that) { return(that.GetPropertyValue <IPublishedContent>("parallaxImage")); }
/// <summary>Static getter for Parallax Subscript</summary> public static IHtmlString GetParallaxSubscript(IHomePage that) { return(that.GetPropertyValue <IHtmlString>("parallaxSubscript")); }
/// <summary>Static getter for Parallax Title</summary> public static string GetParallaxTitle(IHomePage that) { return(that.GetPropertyValue <string>("parallaxTitle")); }
public void Setup() { Runner = new RunSelenium(Configuration); HomePage = new HomePage(Runner); }
public WhatYouCanGetCalculationTestsSteps(IHomePage homePage, ScenarioContext scenarioContext) : base(scenarioContext) { _homePage = homePage; }