예제 #1
0
 public void WhenIClickOnDeleteButton()
 {
     if (!BP_Mrr_DeleteUtilities.ClickOnDeleteButton())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
예제 #2
0
 public void ThenIUnCheckTheCheckboxViewDeletedReferenceRanges()
 {
     if (!BP_Mrr_DeleteUtilities.UnSelectViewDeletedReferenceRanges())
     {
         ScenarioContext.Current["ActResult"] = "Failed";
     }
 }
예제 #3
0
        public void WhenISelectedTheBelowMentionedRowsInTheMrrTable(Table table)
        {
            List <RowIndex> rowindex = table.CreateSet <RowIndex>().ToList();

            if (!BP_Mrr_DeleteUtilities.SelectTheRecord(rowindex))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }
        public void WhenIClickOnIconForTheThatRecord(string actionIcon)
        {
            string refId = (string)ScenarioContext.Current["RefId"];

            if (!BP_Mrr_DeleteUtilities.DeleteTheRecordUsingDeleteIcon(refId, actionIcon))
            {
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }
예제 #5
0
        public void ThenIShouldnotSeeTheIconForTheDeletedRecords(string actionicon)
        {
            List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"];

            foreach (string refId in refIDs)
            {
                if (!BP_Mrr_DeleteUtilities.VeifyTheIconsForTheDeletedRecords(refId, actionicon))
                {
                    ScenarioContext.Current["ActResult"] = "Failed";
                }
            }
        }
예제 #6
0
        public void ThenIShouldSeeTheRecordsInStrikethroughMode()
        {
            List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"];

            foreach (string s1 in refIDs)
            {
                if (!BP_Mrr_DeleteUtilities.VeifyTheStrikeThroughRecords(s1))
                {
                    ScenarioContext.Current["ActResult"] = "Failed";
                }
            }
        }
예제 #7
0
        public void ThenIShouldStillSeeTheRecordInMRRTable()
        {
            List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"];

            foreach (string s1 in refIDs)
            {
                if (!BP_Mrr_DeleteUtilities.RecordsVerificationForCancel(s1))
                {
                    ScenarioContext.Current["ActResult"] = "Failed";
                }
            }
        }
예제 #8
0
        public void WhenIClickOnIconForTheThatRecord(string actionIcon)
        {
            List <string> refIDs = (List <string>)ScenarioContext.Current["RefIds"];

            foreach (string refId in refIDs)
            {
                if (!BP_Mrr_DeleteUtilities.DeleteTheRecordUsingDeleteIcon(refId, actionIcon))
                {
                    ScenarioContext.Current["ActResult"] = "Failed";
                }
            }
        }
예제 #9
0
        public void WhenIReadTheRefIDForTheBelowRecords(Table table)
        {
            List <RowIndex> rowindex = table.CreateSet <RowIndex>().ToList();

            ScenarioContext.Current["RefIds"] = BP_Mrr_DeleteUtilities.GetTheRefIDS(rowindex);
        }