Esempio n. 1
0
 public void ThenIShouldSeeTheTabsMentionedBelow(Table table)
 {
     if (!(DS_BP_StudyProperties.SelecttheTab(table.CreateSet <Tabs>())))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 2
0
 public void WhenIClickOnIconForField(string field)
 {
     if (!(DS_BP_StudyProperties.ClickEditButtonOnLabMappingsPage(field)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 3
0
 public void ThenIShouldSeeThePage(string header)
 {
     if (!(DS_BP_StudyProperties.UserShouldSeeThePage(header)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 4
0
 public void ThenIShouldSeeStudyPropertiesPage()
 {
     if (!(DS_BP_StudyProperties.StudyPropertiesPage()))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 5
0
 public void ThenIShouldSeeTheCodelist(string Codelist)
 {
     if (!(DS_BP_StudyProperties.UserShouldSeeTheCodelist(Codelist)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 6
0
 public void WhenIClickOnTheCodelist(string CodeListName)
 {
     if (!(DS_BP_StudyProperties.ClickOnTheCodeList(CodeListName)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 7
0
 public void WhenIClickOnButton(string FilterIcon)
 {
     if (!(DS_BP_StudyProperties.ClickOnTheFilterButton(FilterIcon)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 8
0
 public void WhenIEnterTheCodelistInCodelistName(string Codelist)
 {
     if (!(DS_BP_StudyProperties.EnterTheCodeLIst(Codelist)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 9
0
 public void WhenIClickOnTheFilterButton()
 {
     if (!(DS_BP_StudyProperties.ClickOnTheFilterButtoninCodeListsPage()))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 10
0
 public void WhenIClickOnTheTab(string tabName)
 {
     if (!(DS_BP_StudyProperties.ClickOnTheTab(tabName)))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 11
0
 public void ThenIShouldSeeTheLink(string linkName)
 {
     if (!DS_BP_StudyProperties.VerifyDisplayLMSLink(linkName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 12
0
 public void WhenIClickCodelistMappingButtonForField(string field)
 {
     if (!DS_BP_StudyProperties.ClickEditCodelistMapping(field))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 13
0
 public void ThenISeeButtonColor()
 {
     if (!DS_BP_StudyProperties.VerifyColorOfButton())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIShouldSeeTheMessageBelowTheLabsDropdown(string message)
 {
     if (!DS_BP_StudyProperties.MessageDisplayedUponLabsDropDownSelectionToNo(message))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void WhenIClickOnTheSettingsDropIcon()
 {
     if (!DS_BP_StudyProperties.expandSettings())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 16
0
 public void ThenISeeTheTab(string TabName)
 {
     if (!DS_BP_StudyProperties.Verifytab(TabName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIShouldSeeTheLabsDropDownStateAsInOtherSection(string status)
 {
     if (!DS_BP_StudyProperties.LabsDropDownStatus(status))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void WhenISelectFromTheDropDown(string valueToBeSelectedFromDropDown, string labsDropDown)
 {
     if (!DS_BP_StudyProperties.selectValueFromDropDown(valueToBeSelectedFromDropDown, labsDropDown))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIShouldSeeTheSelectedLabsValueAsInTheDropDownOfOtherSection(string Value)
 {
     if (!DS_BP_StudyProperties.LabsDropDownDefaultValue(Value))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIShouldSeeTheMessageYes(string p0, string p1)
 {
     if (!DS_BP_StudyProperties.ClickOnButtonInStudyPropertiesPage())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void WhenISelectValueFromTheDropDownOfStudyPage(string dropdownValue, string dropdownName)
 {
     if (!DS_BP_StudyProperties.SetDropdownValue(dropdownName, dropdownValue))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void WhenIMouseHoverOnLabsQuestion()
 {
     if (!DS_BP_StudyProperties.MouseHoveronLabsQuestionMark())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIShouldSeeTheMessageonMouseover(string p0, string p1)
 {
     if (!DS_BP_StudyProperties.MessageDisplayedOnMouseHover(p0, p1))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenISeeTheLabTestInTableOfLabDictionaryPage(int columnno)
 {
     if (!DS_BP_StudyProperties.ClickOnButtonInStudyPropertiesPage())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
 public void ThenIClickOnTheCancelButtonInStudyPropertiesPage()
 {
     if (!DS_BP_StudyProperties.ClickOnButtonInStudyPropertiesPage())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 26
0
 public void ThenIShouldnotSeeTheLabsIconInNextToLabsTab()
 {
     if (!(DS_BP_StudyProperties.VerifyLabsIcon()))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 27
0
 public void WhenIClickOnButtonOnPopup()
 {
     if (!DS_BP_StudyProperties.ClickCancelButtonOnPopup())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Esempio n. 28
0
 public void ThenIDoNotSeeTheTab(string TabName)
 {
     BrowserUtilities.RefreshPage();
     if (!DS_BP_StudyProperties.VerifytabNotPresent(TabName))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
        public void ThenIShouldSeeTheBelowDropDownOptionsOnceOnClickOnDropDown(String fieldName, Table table)
        {
            IEnumerable <DropDownInfo> dropdown = table.CreateSet <DropDownInfo>();

            if (!DS_BP_StudyProperties.VerifylabsDropDownValues((List <DropDownInfo>)dropdown, fieldName))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }