public static void ImportCollateral()
 {
     CreateImportFile.Collateral_GenXML_NonDelegated();
     PO_Dashboard.GoToImportCollateralManualSource();
     PO_ImportManualCollateralSource importPage = new PO_ImportManualCollateralSource();
     importPage.ImportCollateralGenericXML()
         .SaveXML().Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 100);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToCollateralSection();
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }
 internal static void GenXML()
 {
     CreateImportFile.Valuation_GenXML();
     PO_Dashboard.GoToImportValuationManualSource();
     PO_ImportManualValuationSource importPage = new PO_ImportManualValuationSource();
     importPage.ImportValuationGenericXML()
         .SaveXML().Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 120);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToValuationSection();
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }
 internal static void ImportValuation_TREMIR_R002_NonDelegated()
 {
     CreateImportFile.Valuation_TREMIR_R002_NonDelegated_DTCC();
     PO_Dashboard.GoToImportValuationManualSource();
     PO_ImportManualValuationSource importPage = new PO_ImportManualValuationSource();
     importPage.ImportValuationTREMIR_R002()
         .FindReplaceElement("549300346EFUPFCXJT79", Test.counterParty)
         .Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 50);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToValuationSection();
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }
 internal static void ImportNewCollateralGenXMLByUTI()
 {
     CreateImportFile.Collateral_GenXML_ByUTI();
     PO_Dashboard.GoToImportCollateralManualSource();
     PO_ImportManualCollateralSource importColPage = new PO_ImportManualCollateralSource();
     importColPage.ImportCollateralGenericXML()
         .SaveXML().Import();
     importColPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 120);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToCollateralSection();
     Thread.Sleep(3000);
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }
 internal static void ImportValuation_TREMIR_R002()
 {
     CreateImportFile.Valuation_TREMIR_R002();
     PO_Dashboard.GoToImportValuationManualSource();
     PO_ImportManualValuationSource importPage = new PO_ImportManualValuationSource();
     importPage.ImportValuationTREMIR_R002()
         .Import();
     importPage.VerifyFileIsUploaded();
     Thread.Sleep(3000);
     PO_UTISearch.GoTo(Test.UTI, 120);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToValuationSection();
     Thread.Sleep(3000);
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }
 internal static void GenXML_ByPortfolioCode()
 {
     CreateImportFile.Collateral_GenXML_ByPortfolioCode();
     PO_Dashboard.GoToImportCollateralManualSource();
     PO_ImportManualCollateralSource importPage = new PO_ImportManualCollateralSource();
     importPage.ImportCollateralGenericXML()
         .EditCollateralNode("CollateralPortfolioCodeValue", Test.CollateralPortCode)
         .EditCollateralNode("CollateralPortfolioCode", "Yes")
         .SaveXML().Import();
     importPage.VerifyFileIsUploaded();
     PO_UTISearch.GoTo(Test.UTI, 60);
     PO_EditEmirTransactionPage emirTransactionPage = new PO_EditEmirTransactionPage();
     emirTransactionPage.GoToCollateralSection();
     Thread.Sleep(3000);
     emirTransactionPage.VerifyCollateralAndValuationFileIsImported(60);
 }