private static bool IsWindowTitleTicketNumberVisible(string ticketNum) { bool isTicketNumberVisible = GeneralPage.GetWindowTitle().Contains(ticketNum); if (!(isTicketNumberVisible)) { log.Info("Incident form window title ticket number was not found."); } else { log.Info("Incident form window title ticket number was found."); } return(isTicketNumberVisible); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool changeFormTitleFound = GeneralPage.GetWindowTitle().Contains("RFC"); if (!(changeFormTitleFound)) { log.Info("Change form window title was not found."); } else { log.Info("Change form window title was found."); } return(changeFormTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool incidentFormTitleFound = GeneralPage.GetWindowTitle().Contains("Incident"); if (!(incidentFormTitleFound)) { log.Info("Incident form window title was not found."); } else { log.Info("Incident form window title was found."); } return(incidentFormTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool templateManagerTitleFound = GeneralPage.GetWindowTitle().Contains("Templates"); if (!(templateManagerTitleFound)) { log.Error("Template Manager window title was not found."); } else { log.Info("Template Manager window title was found."); } return(templateManagerTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool announcementManagerTitleFound = GeneralPage.GetWindowTitle().Contains("Announcement"); if (!(announcementManagerTitleFound)) { log.Info("Announcement Manager window title was not found."); } else { log.Info("Announcement Manager window title was found."); } return(announcementManagerTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool userCenterWindowTitleFound = GeneralPage.GetWindowTitle().Contains("User Center"); if (!(userCenterWindowTitleFound)) { log.Info("User Center window title was not found."); } else { log.Info("User Center window title was found."); } return(userCenterWindowTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool problemFormTitleFound = GeneralPage.GetWindowTitle().Contains("Problem"); if (!(problemFormTitleFound)) { log.Info("Problem form window title was not found."); } else { log.Info("Problem form window title was found."); } return(problemFormTitleFound); }
private static bool IsWindowTitleVisible(string flexType) { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool flexFormTitleFound = GeneralPage.GetWindowTitle().Contains(flexType); if (!(flexFormTitleFound)) { log.Info(flexType + " form window title was not found."); } else { log.Info(flexType + " form window title was found."); } return(flexFormTitleFound); }
private static bool IsWindowTitleVisible() { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); bool changeTaskFormTitleFound = GeneralPage.GetWindowTitle().Contains("TSK"); changeTaskFormTitleFound &= !(GeneralPage.GetWindowTitle().Contains("Incident Task")); if (!(changeTaskFormTitleFound)) { log.Info("Change task form window title was not found."); } else { log.Info("Change task form window title was found."); } return(changeTaskFormTitleFound); }
private static bool IsWindowTitleVisible(string page) { log.Info("Window Title is: " + GeneralPage.GetWindowTitle()); string title = ""; switch (page) { case "Incident Task Manager": { title = "Incident Tasks"; break; } case "Change Task Manager": { title = "Change Tasks"; break; } default: { log.Error("Task Manager Page: Task module not found"); break; } } bool taskManagerTitleFound = GeneralPage.GetWindowTitle().Contains(title); if (!(taskManagerTitleFound)) { log.Error(page + " window title was not found."); } else { log.Info(page + " window title was found."); } return(taskManagerTitleFound); }