Exemplo n.º 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");
        }
Exemplo n.º 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();
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }
Exemplo n.º 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");
        }