Beispiel #1
0
 public void WhenIClickOnTheFilterOption()
 {
     if (!ManageLabsUtilities.ClickOnFilter())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #2
0
 public void WhenIUnselectTheErrorTypeFromTheDropDownForFiltering(string Error, string DropDownList)
 {
     if (!ManageLabsUtilities.Uncheckthecheckbox(Error, DropDownList))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #3
0
 public void WhenISelectTheErrorTypeFromTheDropDownForFiltering(string Error, string DropDownList)
 {
     if (!ManageLabsUtilities.SearchInImportLabDictionaryErrors(Error, DropDownList))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #4
0
 public void WhenIClickOnTheErrorLink()
 {
     if (!ManageLabsUtilities.ClickErrorLink())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #5
0
 public void ThenIShouldSeeErrorMessage(string messageText_Partial)
 {
     if (!ManageLabsUtilities.VerifyImportLabDictErrorMessage(messageText_Partial))
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
Beispiel #6
0
        public void ThenIShouldGetTheBelowMentionedRowsInTheTable(Table table)
        {
            IEnumerable <ImportLabDictErrorData> dictData = table.CreateSet <ImportLabDictErrorData>();

            if (!ManageLabsUtilities.GetTableRowDataForImportLabDictionaryErrors((List <ImportLabDictErrorData>)dictData))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }
Beispiel #7
0
        public void ThenIShouldSeeThePopUpWithTheBelowValues(Table table)
        {
            IEnumerable <ImportLabDictErrorData> dictData = table.CreateSet <ImportLabDictErrorData>();

            if (!ManageLabsUtilities.GetTableRowData((List <ImportLabDictErrorData>)dictData))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }