public void GivenIAmOnTheEditVenueNamePage()
        {
            //Console.WriteLine("debug1");
            //webDriver.Url = Configurator.GetConfiguratorInstance().GetBaseUrlVenues() + "/EditVenueName";
            AddVenueConfirmAddressPage AddVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);

            AddVenueConfirmAddressPage.ChangeName();
        }
        public void GivenIHaveSearchedFor(string strVenueName)
        {
            DeleteVenuePage deleteVenuePage = new DeleteVenuePage(webDriver);

            if (deleteVenuePage.CheckVenuePresent(strVenueName) == false)
            {
                ViewAllLiveVenuesPage viewAllLiveVenuesPage = new ViewAllLiveVenuesPage(webDriver);
                viewAllLiveVenuesPage.ClickAddVenueButton();
                AddVenuePage addVenuePage = new AddVenuePage(webDriver);
                addVenuePage.ClickEnterAddressManuallyLink();
                AddVenueManualAddressPage addVenueManualAddressPage = new AddVenueManualAddressPage(webDriver);
                addVenueManualAddressPage.AddVenueName(strVenueName);
                addVenueManualAddressPage.AddAddressLine1("Line 1 Del Venue");
                addVenueManualAddressPage.AddTownCity("Del Venue City");
                addVenueManualAddressPage.AddPostCode("CV1 2WT");
                addVenueManualAddressPage.ClickContinue();
                AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);
                addVenueConfirmAddressPage.ClickContinue();
            }
            // deleteVenuePage.CheckVenuePresent(strVenueName);
        }
Example #3
0
        public void GivenIHaveAddedANewVenue(string strVenueName)
        {
            // create unique venue name and store in scenrio context to re-use later
            strVenueName = strVenueName + DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss");
            ScenarioContext.Current["venue name"] = strVenueName;

            AddVenuePage addVenuePage = new AddVenuePage(webDriver);

            addVenuePage.ClickEnterAddressManuallyLink();
            AddVenueManualAddressPage addVenueManualAddressPage = new AddVenueManualAddressPage(webDriver);

            addVenueManualAddressPage.AddVenueName(strVenueName);
            addVenueManualAddressPage.AddAddressLine1("Line 1 Del Venue");
            addVenueManualAddressPage.AddTownCity("Del Venue City");
            addVenueManualAddressPage.AddPostCode("CV1 2WT");
            addVenueManualAddressPage.ClickContinue();
            PageInteractionHelper.WaitForPageToLoad();
            AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);

            addVenueConfirmAddressPage.ClickConfirmContinue();
        }
        public void WhenOnTheConfirmationPageIClickContinue()
        {
            AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);

            addVenueConfirmAddressPage.ClickContinue();
        }
 public void AddVenueConfirmPageContent()
 {
     AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);
 }
 public void WhenIAmOnTheAddVenueConfirmDetailsPage()
 {
     AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);
 }
Example #7
0
 public void WhenIAmOnTheAddVenueConfirmDetailsPage()
 {
     PageInteractionHelper.WaitForPageToLoad();
     AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);
 }
        public void GivenIAmOnTheEditVenueNamePage()
        {
            AddVenueConfirmAddressPage AddVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);

            AddVenueConfirmAddressPage.ChangeName();
        }
        public void GivenIAmOnTheEditVenueAddressScreen()
        {
            AddVenueConfirmAddressPage addVenueConfirmAddressPage = new AddVenueConfirmAddressPage(webDriver);

            addVenueConfirmAddressPage.EditAddress();
        }