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"); }
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(); }
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"); }
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"); }
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"); }