public void TC14497_SendCompression()
        {
            storeResults = true;
            CreateImportFile.TREMIR_R010_CompressionFile();
            PO_Dashboard.GoToImportTradeManualSource();
            PO_ImportManualTradeSource importCompression = new PO_ImportManualTradeSource();
            importCompression.ImportTREMIRFileR010()
                .Import();
            importCompression.VerifyFileIsUploaded();

            PO_UTISearch.GoTo(Test.UTI, 50);
            PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
            emirTransactionPage.VerifyReadyToSend();

            PO_SendTradesByTargetSetting sendTrades = PO_Dashboard.GoToSendTradesByTargetSetting();
            sendTrades.SelectTargetSEtting("Send RegisTR New Trades (EMIR, REGIS-TR)");
            sendTrades.Send();
            sendTrades.VerifySendingByTargetSetting("Send RegisTR New Trades (EMIR, REGIS-TR)");

            PO_UTISearch.GoTo(Test.UTI, 50);
            emirTransactionPage.VerifyReadyToSend(180);

            PO_Dashboard.GoToSendTradesByTargetSetting();
            sendTrades.SelectTargetSEtting("Send RegisTR Cancel Trades (EMIR, REGIS-TR)");
            sendTrades.Send();
            sendTrades.VerifySendingByTargetSetting("Send RegisTR Cancel Trades (EMIR, REGIS-TR)");

            PO_UTISearch.GoTo(Test.UTI, 50);
            emirTransactionPage.VerifySendSuccessfully(30);
            Test.result = "Passed";
        }
 internal static string TREMIR_R010_Delegated_DTCC()
 {
     CreateImportFile.TREMIR_R010_Delegated_DTCC();
     PO_Dashboard.GoToImportTradeManualSource();
     PO_ImportManualTradeSource importPage = new PO_ImportManualTradeSource();
     importPage.ImportTREMIRFileR010()
         .Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 100);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.VerifyReadyToSend();
     Test.counterParty = "KU2715";
     Test.counterPartyDelegated = "KU2788";
     return Test.tradeID;
 }
 public void TC19959_ImportTrade_Quantity_InvalidInput()
 {
     CreateImportFile.TREMIR_R010_NonDelegated_REGIS();
     PO_Dashboard.GoToImportTradeManualSource();
     PO_ImportManualTradeSource importPage = new PO_ImportManualTradeSource();
     importPage.ImportTREMIRFileR010()
         .FindReplaceElement("PortfolioCodeValue", Test.CollateralPortCode)
         .FindReplaceElement("PortfolioCode", "Yes")
         .FindReplaceElement("11", "0")
         .Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 100);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.VerifyReadyToSend(90);
     Test.result = "Passed";
 }
 internal static void TREMIR_R010_NonDelegated_REGIS()
 {
     CreateImportFile.TREMIR_R010_NonDelegated_REGIS();
     PO_Dashboard.GoToImportTradeManualSource();
     PO_ImportManualTradeSource importPage = new PO_ImportManualTradeSource();
     importPage.ImportTREMIRFileR010()
         .Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 120);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.VerifyReadyToSend();
     Test.counterParty = "Impendium";
 }