public void AdminOnboardSubscriptionTest(CreatePlanData planData, string subscriptionName) { Log.Information("---Open Add-ons List Page...---"); TestInitialize(); var smpPage = new SmpPage(this.driver); Log.Information("---Open Add-ons List Page...---"); Log.Information("Find main menu ..."); smpPage.GetMainMenu_AdminPortal(); smpPage.OpenMenuPlans(); var page = new AddonListPage(this.driver); Log.Information("---Select Add-ons tab...---"); page.SelectPlansTab(); Log.Information("---Click Add-on " + planData.planName + " and check details...---"); page.SelectPlanInTableAndCheckDatails(planData.planName); var configPage = new AddonConfigPage(this.driver); string name = "Cmp Wap Extension"; Log.Information("---Click Add-on service " + name + " and check details...---"); configPage.SelectAddonServiceInTableAndCheckDatails(name); var subscptPage = new SubscriptionPage(this.driver); Log.Information("---Onboarding subscripton...---"); subscptPage.OnboardSubscription(planData, subscriptionName); Log.Information("Added subscription to plan"); }
public void AdminCreatePlanTest(CreatePlanData data) { Log.Information("---Start AdminCreatePlanTest---"); TestInitialize(); var smpPage = new SmpPage(this.driver); smpPage.CreatePlanFromNewButton(data); }
public void AdminCreateUserTest(TenantData data, string planName) { Log.Information("---Open Service Management Portal Page...---"); TestInitialize(); var smpPage = new SmpPage(this.driver); smpPage.CreateUserFromNewButton(data, planName); }
public void AdminChangePlanAccess(CreatePlanData planData) { Log.Information("---Open Add-ons List Page...---"); TestInitialize(); var smpPage = new SmpPage(this.driver); Log.Information("---Open Add-ons List Page...---"); Log.Information("Find main menu ..."); smpPage.GetMainMenu_AdminPortal(); smpPage.OpenMenuPlans(); var page = new AddonListPage(this.driver); Log.Information("---Select Add-ons tab...---"); page.SelectPlansTab(); Log.Information("---Click Add-on " + planData.planName + " and check details...---"); page.SelectPlanInTable(planData.planName); page.ChangePlanAccess(); }
public override void TestInitialize() { base.TestInitialize(); driver.Url = "https://" + serverName + ":30081"; this.driver.Wait(ExpectedConditions.TitleContains("Authentication")); this.driver.WaitForAjax(); this.loginPage = new LoginPage(driver); LoginTenantProtal(this.userName, this.password); var welcomeWiz = new WelcomePage(driver); try { welcomeWiz.HandleWelcomeWizard(); } catch (System.Exception ex) {} this.smpPage = new SmpPage(driver); }