public void WhenISelectFromCRFsPage(string ItemToSelectInsideCRFPage) { if (!BP_wf_ActionUtil.SelectFormInCRFPage(ItemToSelectInsideCRFPage)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectFromFolderMenu(string folderToSelectInsideStudyPage) { if (!BP_wf_ActionUtil.SelectFolderInDomainsMainPage(folderToSelectInsideStudyPage)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectFromDataLabsStandardReportsPage(string folderToSelectInsideDLStandardReportPage) { if (!BP_wf_ActionUtil.SelectFolderInDomainsMainPage(folderToSelectInsideDLStandardReportPage)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenISelectTheStudyFromDomainsMainPage(string StudyName) { if (!BP_wf_ActionUtil.SelectFolderInDomainsMainPage(StudyName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public void WhenIExpandPlusIconFromMainMenu(string item) { if (!BP_wf_ActionUtil.SelectModalItemsInMainPage(item)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public static bool VerifyMinutesPerCRFFieldValue(int valueTOChek) { String actValue = BP_wf_ActionUtil.GetPropertyOfAnObject(wf_Page_Frame.mintuesPerCRF, "value"); if (!float.Parse(actValue).Equals(valueTOChek)) { return(false); } return(true); }
static List <String> GetSelectFormatRadioTexts() { List <String> allTexts = new List <String>(); ReadOnlyCollection <IControl> actualText = SyncUtilities.FindElements(By.XPath("//input[@name='outputFmt']")); if (actualText != null) { foreach (IControl item in actualText) { allTexts.Add(BP_wf_ActionUtil.GetPropertyOfAnObject(item, "displaytext")); } } return(allTexts); }
public static List <string> GetColumnHeaderTextFromResultTable(By control) { List <String> allTexts = new List <String>(); ReadOnlyCollection <IControl> tableRw = SyncUtilities.FindElements(control); int iCount = tableRw.Count; if (iCount != 0) { foreach (IControl item in tableRw) { allTexts.Add(BP_wf_ActionUtil.GetPropertyOfAnObject(item, "title")); } } return(allTexts); }