示例#1
0
        public void ExportToPDFThroughtActionsButtonTest()
        {
            var     browserWindow = BrowserWindow.Launch(new Uri("https://qa-projectforms-eus.cloudapp.net/#/d347a315-54ca-46d3-bce7-9d78d3fe4cea"));
            FDMPage fdmPage       = new FDMPage(browserWindow);

            Assert.IsTrue(fdmPage.CloseGetStartedNotification()
                          .ClickOnTheFormInGrid()
                          .ExpandActionsButton()
                          .ClickExportToPDFOnActionsButton()
                          .IsPDFDialogAppeared()
                          , "Failed to export form to PDF");
        }
示例#2
0
        public void ExportToExcellThroughtActionsButtonTest()
        {
            var     browserWindow = BrowserWindow.Launch(new Uri("https://qa-projectforms-eus.cloudapp.net/#/d347a315-54ca-46d3-bce7-9d78d3fe4cea"));
            FDMPage fdmPage       = new FDMPage(browserWindow);

            fdmPage.CloseGetStartedNotification()
            .ExpandActionsButton()
            .ClickExportToExcellOnActionsButton();

            this.UIMap.SaveXLSX();
            this.UIMap.CheckIfXLSXIsDownloaded();
        }
示例#3
0
        public void AssignUserThroughActionsButtonTest()
        {
            var     browserWindow = BrowserWindow.Launch(new Uri("https://qa-projectforms-eus.cloudapp.net/#/d347a315-54ca-46d3-bce7-9d78d3fe4cea"));
            FDMPage fdmPage       = new FDMPage(browserWindow);

            Assert.IsTrue(fdmPage.CloseGetStartedNotification()
                          .ClickOnTheFormInGrid()
                          .ExpandActionsButton()
                          .ClickToAssignUserOnActionsButton()
                          .EnterUserName()
                          .ClickUpdareFormsToAssignUser()
                          .IsUserAssigned()
                          , "Failed to assign user through Actions button");
        }
示例#4
0
        public void SetToCloseThroughtActionsButtonTest()
        {
            var     browserWindow = BrowserWindow.Launch(new Uri("https://qa-projectforms-eus.cloudapp.net/#/d347a315-54ca-46d3-bce7-9d78d3fe4cea"));
            FDMPage fdmPage       = new FDMPage(browserWindow);

            Assert.IsTrue(fdmPage.CloseGetStartedNotification()
                          .ClickOnTheFormInGrid()
                          .GetOpenPillValue()
                          .ExpandActionsButton()
                          .ClickSetToCloseOnActionsButton()
                          .GetOpenPillValue()
                          .IsPillNumberCorrectAfterClosing()
                          , "Failed to set form to Close");
        }
示例#5
0
        public void CreateMeetingMinutesFormThroughActionsButtonTest()
        {
            var     browserWindow = BrowserWindow.Launch(new Uri("https://qa-projectforms-eus.cloudapp.net/#/d347a315-54ca-46d3-bce7-9d78d3fe4cea"));
            FDMPage fdmPage       = new FDMPage(browserWindow);

            Assert.IsTrue(fdmPage.CloseGetStartedNotification()
                          .ExpandActionsButton()
                          .ClickToCreateMeetingMinutesFormOnActionsButton()
                          .ExpandFormsList()
                          .SelectMeetingMinutesFormFromTheList()
                          .ClickToCreateForm()
                          .FillMeetingMinuteForm()
                          .ClickToSaveChanges()
                          .IsFormValuesCorrect(), "Form has wrong fields values");
        }