コード例 #1
0
        public void FFT229_DisableAddonNotificationMessage()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_229DisableAddonNotificationMessage();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.clickonGoToDIary();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            addAddon.AddAddon_Cake_BySearch();
            Thread.Sleep(2000);
            addAddon.VerifyAddAddonButtonIsEnabled();
            Thread.Sleep(2000);
        }
コード例 #2
0
ファイル: DiaryUnitTest.cs プロジェクト: priya203/WebAppTest
        public void FFT47_pre_CreateRecurringBooking10AMto11AM()
        {
            LoginMainPage gg = new LoginMainPage(this.Driver);

            gg.Navigate();
            gg.Login();
            Thread.Sleep(2000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.FFT47_selectDiaryCellForRecurBooking();
            Thread.Sleep(1000);
            diary.SelectRecurBooking_Checkbox();
            Thread.Sleep(2000);
            diary.FFTTest46_EnterFromandToDateSlot_10111();
            diary.SelectDailyRecurringBooking();
            diary.SelectDailyRecurBookingDates();
            diary.ShowTargetDate_ContinueBooking_recur();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011();
            Thread.Sleep(4000);
            diary.EnterTitleForRecurringBooking();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(10000);
            bookingsummary.clickonGoToDIary();
        }
コード例 #3
0
        public void FFT232_AddonStockItem()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_232StockType_WithStockAndCOnfigurations();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(2000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(2000);
            addAddon.add_addon_Bread_VerifyStock();
            Thread.Sleep(3000);
            addAddon.AddonQuantity5();
            addAddon.ClickOnAddAddonButton();
            addAddon.clickOnGoToSummaryFromAddonPage();
            addAddon.SummaryButtonFromAddonPageIsEnabled();
        }
コード例 #4
0
        public void CreateBookingFromDiary_Addons_Vissitors()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            DiaryMainPage dd = new DiaryMainPage(this.Driver);

            dd.selectDiaryCellandContinuwithBooking();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.clickonAddPplTab();
            //Thread.Sleep(3000);
            bookingsummary.AddInternalVisitors();
            Thread.Sleep(3000);
            bookingsummary.PopUPHandling();
            Thread.Sleep(3000);
            bookingsummary.GotoSummaryPagefromVisitors();
            Thread.Sleep(3000);
            bookingsummary.EnterTitle();
            Thread.Sleep(5000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
        }
コード例 #5
0
        public void FFT202()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(3000);
            DiaryMainPage dd = new DiaryMainPage(this.Driver);

            dd.FFTTest202_SelectAndContinueWithBooking();
            Thread.Sleep(3000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTitleFFT_202();
            Thread.Sleep(2000);
            bookingsummary.ENterSetUPtime();
            Thread.Sleep(2000);
            bookingsummary.ENterBreakdowntime();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(7000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest202_DragandDrop();
            Thread.Sleep(6000);
            Driver.SwitchTo().Frame(Driver.FindElement(By.Id("frmPnlMove")));
            dd.ClickOn_confirmMoveBooking();
            Thread.Sleep(6000);
            dd.FFTTest202_ClickOnMovedBooking_Time();
            Thread.Sleep(4000);
            bookingsummary.VerifySetUpBreakdownTime_ForMovedBooking();
        }
コード例 #6
0
        public void CreateBooking_withAddon_andVisitors()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(8000);
            CreateBooking.GotoSummaryPage();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.clickonAddPplTab();
            //Thread.Sleep(3000);
            bookingsummary.AddInternalVisitors();
            Thread.Sleep(3000);
            bookingsummary.PopUPHandling();
            Thread.Sleep(3000);
            bookingsummary.GotoSummaryPagefromVisitors();
            Thread.Sleep(3000);
            bookingsummary.EnterTitle();
            Thread.Sleep(5000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
        }
コード例 #7
0
        public void FFT_266Addon_CutOFF_period()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_265_SetBookingCutOffTime_12PM();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(2000);
            CreateBooking.SelectTime_1PM();
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            addAddon.FFT_263_Add_addon_CheeseTray();
            Thread.Sleep(2000);
            addAddon.ClickOnAddAddonButton();
            Thread.Sleep(2000);
            addAddon.verfiy_AddonCuttOffMessage_Enabled();
            Thread.Sleep(2000);
        }
コード例 #8
0
        public void FFT200()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            DiaryMainPage dd = new DiaryMainPage(this.Driver);

            dd.FFTTest200_SelectAndContinueWithBooking();
            Thread.Sleep(1000);
            BookingSummaryMainPage    bookingsummary = new BookingSummaryMainPage(this.Driver);
            Addons_FromNewBookingPage addAddon       = new Addons_FromNewBookingPage(this.Driver);

            //  addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            Thread.Sleep(2000);
            bookingsummary.clickOnAddAddon();
            Thread.Sleep(3000);
            bookingsummary.EnterTitleFFT_200();
            Thread.Sleep(5000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(7000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(7000);
            dd.FFTTest200_DragandDrop_Chnageroom();
            Thread.Sleep(7000);
            dd.ClickConfirmChangeRoom();
            Thread.Sleep(3000);
            dd.ClickOnMovedBooking_Room();
            Thread.Sleep(3000);
            bookingsummary.FFT200_clickonAddAdon_Button_Verify_AddedAddon();
            Thread.Sleep(3000);
        }
コード例 #9
0
        public void FFT233_AddonStockType()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_232StockType_WithStockAndCOnfigurations();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            //***create Booking with addon quantity 4
            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(2000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(2000);
            addAddon.add_addon_Bread_VerifyStock();
            addAddon.ClickOnAddAddonButton();
            addAddon.clickOnGoToSummaryFromAddonPage();
            Thread.Sleep(3000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTitle();
            Thread.Sleep(2000);
            bookingsummary.clickonsave();

            //****Create Booking with addon quantity 3
            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(2000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(2000);
            addAddon.add_addon_Bread_VerifyStock();
            Thread.Sleep(3000);
            addAddon.AddonQuantity3();
            addAddon.ClickOnAddAddonButton();
            addAddon.clickOnGoToSummaryFromAddonPage();
            Thread.Sleep(2000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
            bookingsummary.FFT233_Is_AddonOutOfStock_PopUPEnabled();
        }
コード例 #10
0
        public void FFT_273Cutoffs()
        {
            //Creating New Booking With Titile FFT273
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.SelectTodaysDate_Time12_30PM();
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            addAddon.FFT_263_Add_addon_CheeseTray();
            Thread.Sleep(2000);
            addAddon.ClickOnAddAddonButton();
            Thread.Sleep(2000);
            addAddon.clickOnGoToSummaryFromAddonPage();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTtileFor_FFT_273();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(3000);
            bookingsummary.clickonGoToDIary();

            //Updating AddonSettings
            AddonMainPage addon = new AddonMainPage(this.Driver);

            addon.FFT_263_SetBookingCutOffPeriod_2Hrs();

            //update ExistingBooking
            bookingsummary.clickonGoToDIary();
            CreateBooking.CreateBookingNavigation();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.FFT_273_BookingSearch();
            Thread.Sleep(2000);
            bookingsummary.FFT256_ClickOnDateAndTimeOptionOnBookingSummaryPage();
            bookingsummary.SelectToDateTime2_30();
            Thread.Sleep(6000);
            bookingsummary.NavigateTosrviceTrackerPage();
        }
コード例 #11
0
ファイル: ExtentReport.cs プロジェクト: priya203/WebAppTest
        public void LoginExtentReport()
        {
            test = extent.StartTest("LoginExtentReport");
            LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver);

            searchEngineMainPage.Navigate();
            searchEngineMainPage.Login();
            TakeScreenshot();
            Thread.Sleep(3000);
            searchEngineMainPage.Validate().CheckforloginSuccessful();
            Assert.IsTrue(true);
            test.Log(LogStatus.Pass, "Login Is Successfull");
        }
コード例 #12
0
        public void dummy()
        {
            LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver);

            searchEngineMainPage.Navigate();
            searchEngineMainPage.Login();
            Thread.Sleep(3000);
            IWebElement ss    = Driver.FindElement(By.Id("ctl00_MainContentPlaceHolder_calDateChange1_dateInput"));
            String      DateT = ss.GetAttribute("value");

            Console.WriteLine(DateT);
            Assert.IsTrue(DateT.Equals("16/02/2018"), "Your Test Failed due to mismatch in assertion Value");
        }
コード例 #13
0
ファイル: ExtentReport.cs プロジェクト: priya203/WebAppTest
        public void DemoReportPass()
        {
            test = extent.StartTest("DemoReportPass");

            LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver);

            searchEngineMainPage.Navigate();
            searchEngineMainPage.Login();
            Thread.Sleep(3000);
            searchEngineMainPage.Validate().CheckforloginSuccessful();
            //Assert.IsTrue(true);
            //test.Log(LogStatus.Pass, "Assert Pass as condition is True");
        }
コード例 #14
0
ファイル: DiaryUnitTest.cs プロジェクト: priya203/WebAppTest
        public void SelectDiaryCell()
        {
            LoginMainPage gg = new LoginMainPage(this.Driver);

            gg.Navigate();
            Thread.Sleep(3000);
            gg.Login();
            Thread.Sleep(3000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.selectDiaryCellandContinuwithBooking();
            Thread.Sleep(4000);
        }
コード例 #15
0
        public void BookingSearchPageNavigation()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.NavigateBookingSearch();
            Thread.Sleep(2000);
        }
コード例 #16
0
        public void MainPageTtitleVarification()
        {
            test = extent.StartTest("MainPageTtitleVarification");
            LoginMainPage searchEngineMainPage = new LoginMainPage(this.Driver);

            searchEngineMainPage.Navigate();
            searchEngineMainPage.Login();
            searchEngineMainPage.Validate().TitleVerification();
            TakeScreenshot();
            Assert.IsTrue(true);
            test.Log(LogStatus.Pass, "Your Login Is Successfull");
            Assert.IsTrue(true);
            test.Log(LogStatus.Pass, "Main Page Title Workspace Has verified successfully");
        }
コード例 #17
0
        public void NavigateToCreateBookingPage()
        {
            //SearchEngineTests test = new SearchEngineTests();
            //test.LoginMainPageSuccess();
            //CreateBookingMainPage cc = new CreateBookingMainPage();
            //cc.CreateBookingNavigation();
            LoginMainPage ll = new LoginMainPage(this.Driver);

            ll.Navigate();
            ll.Login();
            CreateBookingMainPage cc = new CreateBookingMainPage(this.Driver);

            cc.CreateBookingNavigation();
        }
コード例 #18
0
        public void Selecting_The_Resource()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(4000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(7000);
        }
コード例 #19
0
        public void FFT_276Cutoffs()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            PropertySettingMainPage propertyset = new PropertySettingMainPage(this.Driver);

            //propertyset.Clear_AddonNotice_CutOff();
            Thread.Sleep(2000);
            AddonMainPage addon = new AddonMainPage(this.Driver);
            // addon.FFT_276_Set48HoursforWeekend_CutOffTime3PM_2HrPeriod();
            BREMainPage bre = new BREMainPage(this.Driver);
            //bre.FFT_269_48CutOffRuleForFriday();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            Thread.Sleep(2000);
            CreateBooking.SelectTime_3AM();
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(3000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(4000);
            Addons_FromNewBookingPage addAddon = new Addons_FromNewBookingPage(this.Driver);

            addAddon.CliCkOnAddAddon_FromBookingSummary();
            Thread.Sleep(3000);
            addAddon.FFT_263_Add_addon_CheeseTray();
            Thread.Sleep(2000);
            addAddon.ClickOnAddAddonButton();
            Thread.Sleep(2000);
            addAddon.clickOnGoToSummaryFromAddonPage();
            Thread.Sleep(2000);
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.EnterTtileFor_FFT_276();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(3000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);
            bookingsummary.NavigateTosrviceTrackerPage();
        }
コード例 #20
0
        public void CreateBookingSimpleFromDiary()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            DiaryMainPage dd = new DiaryMainPage(this.Driver);

            dd.selectDiaryCellandContinuwithBooking();
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.EnterTitle();
            Thread.Sleep(5000);
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
        }
コード例 #21
0
        public void FFT48_DeleteChildQuestionnaires()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            LookUpMainPage lookup = new LookUpMainPage(this.Driver);

            lookup.NavidateToUDF();
            Thread.Sleep(2000);
            lookup.SelectUDFQuentionnaireDropedown();
            //this will search record for delete operatoion
            lookup.UDFSearchForDeleteQuestionare();
            Thread.Sleep(2000);
            lookup.UDF_ClickOnDeleteRecord();
            Thread.Sleep(2000);
        }
コード例 #22
0
ファイル: DiaryUnitTest.cs プロジェクト: priya203/WebAppTest
        public void FFT203_SetUPBreakdownOverlap()
        {
            //createFirstBookingWithsetUPbreakdownTime12To1
            LoginMainPage gg = new LoginMainPage(this.Driver);

            gg.Navigate();
            Thread.Sleep(3000);
            gg.Login();
            Thread.Sleep(2000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.FFTTest203_SelectAndContinueWithBookingFirst12to1PM();
            diary.EnterFromandToDateSlot_12to1PM();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011(); //JustClickingOnContinuewithBooking
            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            Thread.Sleep(3000);
            bookingsummary.ENterSetUPtime();
            bookingsummary.ENterBreakdowntime();
            bookingsummary.EnterTitle();
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);

            //CreateBooking with setUp Breakdown Time 2to3
            diary.FFTTest203_SelectAndContinueWithBookingFirst2PMto3PM();
            diary.EnterFromandToDateSlot_2PMto3PM();
            diary.FFTTest46_clickOncontinuewithbookingTime_1011();
            Thread.Sleep(3000);
            bookingsummary.ENterSetUPtime();
            bookingsummary.ENterBreakdowntime();
            bookingsummary.EnterTitle();
            bookingsummary.clickonsave();
            Thread.Sleep(2000);
            bookingsummary.clickonGoToDIary();
            Thread.Sleep(3000);
            diary.FFTTest203_DragandDropto_NewTime();
            Thread.Sleep(5000);
            Driver.SwitchTo().Frame(Driver.FindElement(By.Id("frmPnlMove")));
            Thread.Sleep(2000);
            diary.FFTTest203_ChangeDateTime_ForMoveBooking();
            Thread.Sleep(4000);
            diary.ClickOn_confirmMoveBooking();
        }
コード例 #23
0
        public void VerifyFor_SummaryPageRecord()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            Thread.Sleep(3000);
            CreateBooking.searchButtonclick();
            Thread.Sleep(5000);
            CreateBooking.CreateBookingValidate().TestResourceCheckbox();
            CreateBooking.selectingtheresource();
            Thread.Sleep(2000);
            CreateBooking.GotoSummaryPage();
            Thread.Sleep(7000);
        }
コード例 #24
0
        public void FFT48_CreateParentQueastionare()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            LookUpMainPage lookup = new LookUpMainPage(this.Driver);

            lookup.NavidateToUDF();
            Thread.Sleep(2000);
            lookup.SelectUDFQuentionnaireDropedown();
            lookup.EnterFieldNameForParentQuentionare();
            lookup.SelectDataTypeFromDropedown_Boolean();
            lookup.SelectUDFGroupDropedown();
            //Thread.Sleep(2000);
            lookup.ClickOnSave_AddMoreButton();
        }
コード例 #25
0
        public void FFT48_UpdateParentQuestionnaires()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            LookUpMainPage lookup = new LookUpMainPage(this.Driver);

            lookup.NavidateToUDF();
            Thread.Sleep(3000);
            lookup.SelectUDFQuentionnaireDropedown();
            lookup.UDfSearchForEditQuestionare_Parent();
            Thread.Sleep(2000);
            lookup.UDF_ClickOnEditRsecordFirst1();
            Thread.Sleep(2000);
            lookup.ENterUpdatedFieldNameForChildQuestionare();
            lookup.ClickOnSave_AddMoreButton();
        }
コード例 #26
0
        public void CreateParentBookingUDF()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();

            LookUpMainPage lookup = new LookUpMainPage(this.Driver);

            lookup.NavidateToUDF();
            Thread.Sleep(1000);
            lookup.SelectUDF_BookingDropedown();
            lookup.EnterFieldName_ParentBookingUDF();
            lookup.SelectDataTypeFromDropedown_Boolean();
            lookup.SelectUDFGroupDropedown();
            //.Sleep(2000);
            lookup.ClickOnSave_AddMoreButton();
        }
コード例 #27
0
        public void CreateChildtBookingUDF()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            LookUpMainPage lookup = new LookUpMainPage(this.Driver);

            lookup.NavidateToUDF();
            Thread.Sleep(1000);
            lookup.SelectUDF_BookingDropedown();
            lookup.ENterFieldName_ChildBookingUDF();
            Thread.Sleep(2000);
            lookup.IsDependentYes();
            Thread.Sleep(2000);
            lookup.ParentUDFDropedown_Booking();
            lookup.ClickOnSave_AddMoreButton();
            Thread.Sleep(2000);
        }
コード例 #28
0
        public void BookingSearch()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            CreateBookingMainPage CreateBooking = new CreateBookingMainPage(this.Driver);

            CreateBooking.CreateBookingNavigation();
            BookingSearchMainPage booksearch = new BookingSearchMainPage(this.Driver);

            booksearch.NavigateBookingSearch();
            Thread.Sleep(2000);
            booksearch.EnterSearcCriteria();
            booksearch.selectBookingTypedrop();
            booksearch.selectpropertyDroperdown();
            booksearch.SelectStatusDroperdown();
            booksearch.CLickOnBookingSearchandSelectTheRecord();
        }
コード例 #29
0
        public void FFT50()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.FFTTest49_SelectAndContinueWithBooking_UDF();

            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.FFT_50_ClearChildUDFSelection();
            Thread.Sleep(2000);
            bookingsummary.clickonsave();
            Thread.Sleep(3000);
            bookingsummary.FFT_50InvalidUDFContent();
        }
コード例 #30
0
        public void FFT49_And_FFT86()
        {
            LoginMainPage logint = new LoginMainPage(this.Driver);

            logint.Navigate();
            logint.Login();
            Thread.Sleep(2000);
            DiaryMainPage diary = new DiaryMainPage(this.Driver);

            diary.FFTTest49_SelectAndContinueWithBooking_UDF();

            BookingSummaryMainPage bookingsummary = new BookingSummaryMainPage(this.Driver);

            bookingsummary.FFT_50_ClearParentUDFSelection();
            Thread.Sleep(5000);
            bookingsummary.FFT49and86_PopUPCLearValueFromDependentField();
            Thread.Sleep(2000);
            bookingsummary.clickonsaveAndExit();
            Thread.Sleep(3000);
        }