Exemplo n.º 1
0
 public void SaveExistingDesignNameFromPos()
 {
     try
     {
         test = extent.CreateTest("_6823_SaveDesignFromPos");
         OpenBrowser(Browser.Chrome);
         Navigation.GoToURL("http://ii4.dev.brandmuscle.net/");
         LoginPage.LoginToApplication("*****@*****.**", "go2web");
         HomePage.VerifyHomePage();
         MyProjectsPage.VerifyProjectsPage();
         string designname = MyProjectsPage.GetExistingName();
         MyProjectsPage.ClickOnPosOnDemand();
         POS_On_Demand.SelectTemplate();
         CreateDesignPage.VerifyPreviewChanges();
         CreateDesignPage.ClickOnSave();
         CreateDesignPage.GiveExistingName(designname);
         CreateDesignPage.ClickOnSaveInSaveDesignPopup();
         CreateDesignPage.ClickOnYesInOverWritePopup();
         CreateDesignPage.VerifyConfirmationMsg();
         Driver.Quit();
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         test.Fail("_6823_SaveDesignFromPos" + e);
         Assert.Fail();
     }
 }