public void GivenUserDownloadTheAttachmentFromDepartmentInboxMail(string subject, string downloadFileName, int downloadFileNo) { driver = driverFactory.GetDriver(); inboxPage = new InboxPage(driver); inboxPage.NavigateToQADeptInbox(driver); inboxPage.DownloadFile(subject, downloadFileName, downloadFileNo); }