public void Dashboard_ExpandTradesMenuItem()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     dash.DailyTrades().CollapseSection();
     dash.DailyTrades().ExpandSection();
     Test.result = "Passed";
 }
 public void WorkQ_SearchResultNavigation_ClickNext()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue allTrades = dash.DailyTrades().Invalid().RepairRequiredQueue();
     allTrades.ClickNext();
     Test.result = "Passed";
 }
 public void Dashboard_WorkQ_VerifyReadyQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue readyQueue = dash.DailyTrades().Valid().ReadyQueue();
     readyQueue.CheckResultTableAppears();
     result = "Passed";
 }
 public void WorkQ_SortColumnDesc()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue allTrades = dash.DailyTrades().Invalid().RepairRequiredQueue();
     allTrades.SortColumnsDesc("Created Date");
     Test.result = "Passed";
 }
 public void Dashboard_WorkQ_VerifyOtherQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue other = dash.DailyTrades().Invalid().OtherQueue();
     other.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_VerifyEmirConfirmedQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue confirmed = dash.DailyTrades().Valid().ConfirmedQueue();
     confirmed.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_VerifyConfirmationRequiredQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue confirmation = dash.DailyTrades().InProgress().ConfirmationRequiredQueue();
     confirmation.CheckResultTableAppears();
     result = "Passed";
 }
 public void Dashboard_WorkQ_VerifyAwaitingAutoReValidationQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue awaiting = dash.DailyTrades().InProgress().AwaitingAutoRevalidationQueue();
     awaiting.CheckResultTableAppears();
     result = "Passed";
 }
        public void Dashboard_VerifyInvalidCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();
            int rejected = dash.DailyTrades()
                .Invalid()
                .GetRejectedCount();
            int repair = dash.DailyTrades()
                .Invalid().GetRepairRequiredCount();
            int other = dash.DailyTrades().Invalid().GetOtherCount();

            Assert.IsTrue(rejected + repair + other == dash.DailyTrades().Invalid().GetTotal());

            Test.result = "Passed";
        }
        public void TC14623_Dashboard_VerifyInProgressCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int revalidation = dash.DailyTrades()
                .InProgress()
                .GetAwaitingAutoRevalidationCount();
            int cleaningRequired = dash.DailyTrades()
                .InProgress().GetClearingRequiredCount();
            int confirmationRequired = dash.DailyTrades().InProgress().GetConfirmationRequiredCount();

            Assert.IsTrue(revalidation + cleaningRequired + confirmationRequired == dash.DailyTrades().InProgress().GetTotal());

            Test.result = "Passed";
        }
        public void Dashboard_VerifyValidCountsSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int ready = dash.DailyTrades()
                .Valid()
                .GetReadyCount();
            int reported = dash.DailyTrades()
                .Valid().GetReported();
            int confirmed = dash.DailyTrades().Valid().GetConfirmed();

            Assert.IsTrue(ready + reported + confirmed == dash.DailyTrades().Valid().GetTotal());

            Test.result = "Passed";
        }
        public void Dashboard_VerifyTradesSum()
        {
            storeResults = true;
            PO_Dashboard dash = new PO_Dashboard();

            int valid = dash.DailyTrades().Valid().GetTotal();

            int inProgress = dash.DailyTrades().InProgress().GetTotal();

            int invalid = dash.DailyTrades().Invalid().GetTotal();

            Assert.IsTrue(valid + inProgress + invalid == dash.DailyTrades().GetTotal());

            Test.result = "Passed";
        }
 public void Dashboard_WorkQ_VerifyRepairRequiredQ()
 {
     storeResults = true;
     PO_Dashboard dash = new PO_Dashboard();
     PO_EMIRQueue repair = dash.DailyTrades().Invalid().RepairRequiredQueue();
     repair.CheckResultTableAppears();
     result = "Passed";
 }