static void Main(string[] args) { MyDictionary<int,int> dictionary = new MyDictionary<int, int>(); dictionary.Add(4,20); dictionary.Add(5, 22); Console.WriteLine("Введите key в словаре:"); int key = int.Parse(Console.ReadLine()); Console.WriteLine("{0} -> {1}", key, dictionary[key]); }
static void Main(string[] args) { MyDictionary<string, int> ageMap = new MyDictionary<string, int>(); ageMap.Add("Oksana", 21); ageMap.Add("Vasya", 45); ageMap.Add("Katya", 13); Console.WriteLine(String.Format("There are {0} people in data base", ageMap.Count)); Console.WriteLine(String.Format("Oksana is {0}", ageMap["Oksana"])); Console.ReadKey(); }
public void WorkCollectionInheritedClasses() { //throw new NotImplementedException(); Student student1 = new Student("Имя", "Фамилия", 11, new DateTime(1967, 1, 1), 1); Student student2 = new Student("Имя", "Фамилия", 22, new DateTime(1967, 1, 1), 2); Student student3 = new Student("Имя", "Фамилия", 33, new DateTime(1967, 1, 1), 3); Student student4 = new Student("Имя", "Фамилия", 44, new DateTime(1967, 1, 1), 4); MyDictionary groupForDictionary = new MyDictionary(); groupForDictionary.Add(student1); groupForDictionary.Add(student2); groupForDictionary.Add(student3); groupForDictionary.Add(student4); Tuple<string, string, int, DateTime> workKey = Tuple.Create<string, string, int, DateTime>("Имя", "Фамилия", 22, new DateTime(1967, 1, 1)); if (!groupForDictionary.Contains(workKey)) { Console.WriteLine("Нет такого студента"); } MyCollection<Student> groupForCollection = new MyCollection<Student>(); groupForCollection.Add(student1); groupForCollection.Add(student3); Console.WriteLine("Студент 1,3"); foreach (Student workStudent in groupForCollection) { Console.WriteLine("{0} {1} : {2}, {3}, {4} ", workStudent.firstName, workStudent.secondName, workStudent.birthDate, workStudent.rating, workStudent.personalCode); } groupForCollection.Insert(1, student2); groupForCollection.Remove(student1); groupForCollection.Add(student4); Console.WriteLine("+ Студент2, -Студент1,+ Студент4"); foreach (Student workStudent in groupForCollection) { Console.WriteLine("{0} {1} : {2}, {3}, {4} ", workStudent.firstName, workStudent.secondName, workStudent.birthDate, workStudent.rating, workStudent.personalCode); } Console.ReadKey(); }
static void Main(string[] args) { MyDictionary<int,string> myDictionary = new MyDictionary<int,string>(); myDictionary.Add(1, "one"); myDictionary.Add(2, "two"); myDictionary.Add(3, "three"); myDictionary.Add(4, "four"); myDictionary.Add(5, "five"); foreach (var item in myDictionary) { Console.WriteLine(item); // ToString not working? } Console.ReadKey(); }
private static MyDictionary CreateDictionary(int count) { var dictionary = new MyDictionary(); for (int i = 0; i < count; i++) { dictionary.Add(CreateKey(i), CreateValue(i)); } return dictionary; }
static void Main(string[] args) { MyDictionary<string, Auto> auto = new MyDictionary<string, Auto>(); Auto car = new Auto(); auto.Add("Car", car); auto["Car"].Name = "Audi"; Console.WriteLine(auto["Car"].Name); Console.WriteLine(); Console.ReadLine(); }
public static void Add() { var dictBase = new MyDictionary(); for (int i = 0; i < 100; i++) { FooKey key = CreateKey(i); dictBase.Add(key, CreateValue(i)); Assert.True(dictBase.Contains(key)); } Assert.Equal(100, dictBase.Count); for (int i = 0; i < dictBase.Count; i++) { Assert.Equal(CreateValue(i), dictBase[CreateKey(i)]); } FooKey nullKey = CreateKey(101); dictBase.Add(nullKey, null); Assert.Equal(null, dictBase[nullKey]); }
protected virtual MyDictionary GetData(string label) { MyDictionary table = new MyDictionary(); XYECOM.Business.Label le = new XYECOM.Business.Label(); XYECOM.Model.LabelInfo el = null; if (!string.IsNullOrEmpty(label)) { long labelId = XYECOM.Core.MyConvert.GetInt64(label); if (labelId > 0) { el = le.GetItem(labelId); } } if (el != null) { if (el.LabelRange == XYECOM.Model.LabelRange.User) { userid = XYECOM.Core.MyConvert.GetInt32(el.GroupIdOrUserId); } string content = el.LabelContent; content = content.Substring(1, content.Length - 2); string[] strayy = content.Split(new char[] { '┆' }, StringSplitOptions.RemoveEmptyEntries); foreach (string str in strayy) { string[] tmparr = str.Split(new char[] { '$' }, StringSplitOptions.None); if (tmparr.Length == 2) { string s = tmparr[1]; if (s.Contains(@"\")) { s = s.Replace(@"\", @"\\"); } //if(s==@"MM\dd") //{ // s = @"MM\\dd"; //} table.Add(tmparr[0].ToUpper(), s); } } } return table; }
public void WorkCollectionInheritedClasses() { MyDictionary studentsBase = new MyDictionary(); Student st1 = new Student() {firstName = "1", lastName = "2", birthDate = new DateTime(12,12,2012) }; Tuple<string, string, DateTime> st1Key = new Tuple<string, string, DateTime>("1", "2", new DateTime(12, 12, 2012)); if (studentsBase.Contains(st1)) { studentsBase.Add(st1); Student st1Copy = studentsBase[st1Key]; } else { Console.WriteLine("Student is not found"); } }
public void test_US012_DNT() { #region MultiThreads Thread thrd_Conversion = new Thread(() => new US012_DNT().t_CompareRpt_Conversion(sConversion)); Thread thrd_2008Valuatoin_BurnCOB = new Thread(() => new US012_DNT().t_CompareRpt_2008Valuatoin_BurnCOB(s2008Valuatoin_BurnCOB)); //Thread thrd_PlanTerminationSetup_PBGC_Fields = new Thread(() => new US012_DNT().t_CompareRpt_PlanTerminationSetup_PBGC_Fields(sPlanTerminationSetup_PBGC_Fields)); Thread thrd_PlanTerminationSetup_PBGC_4044 = new Thread(() => new US012_DNT().t_CompareRpt_PlanTerminationSetup_PBGC_4044(sPlanTerminationSetup_PBGC_4044)); #endregion this.GenerateReportOuputDir(); #region sConversion pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Conversion"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "SVC"); dic.Add("Pay", "SalPrj"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "N/A"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sConversion, "Liability Summary", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sConversion, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sConversion, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sConversion, "Test Case List", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sConversion, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sConversion, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sConversion, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sConversion, "Payout Projection", "Conversion", false, true); thrd_Conversion.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Conversion"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region s2008Valuatoin_BurnCOB pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "2008 Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("2008 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "SalPriorYear1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); //////dic.Clear(); //////dic.Add("PopVerify", "Pop"); //////dic.Add("IAgreeToUnlock", "True"); //////dic.Add("OK", "Click"); //////pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("2008 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); //////////pMain._SelectTab("2008 Valuation"); //////////dic.Clear(); //////////dic.Add("iMaxRowNum", ""); //////////dic.Add("iMaxColNum", ""); //////////dic.Add("iSelectRowNum", "4"); //////////dic.Add("iSelectColNum", "1"); //////////dic.Add("MenuItem_1", "Run"); //////////dic.Add("MenuItem_2", "Funding Calculations"); //////////pMain._FlowTreeRightSelect(dic); //////////dic.Clear(); //////////dic.Add("PopVerify", "Pop"); //////////dic.Add("OK", "Click"); //////////pMain._PopVerify_RunOptions(dic); //////////dic.Clear(); //////////dic.Add("PopVerify", "Pop"); //////////dic.Add("OK", "Click"); //////////pMain._PopVerify_FundingCalculationRunCompleted(dic); pMain._SelectTab("2008 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Parameter Print", "RollForward", true, true); //pOutputManager._ExportReport_Others_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Liability Scenario by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(s2008Valuatoin_BurnCOB, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Reconciliation to Baseline by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(s2008Valuatoin_BurnCOB, "Liabilities Detailed Results by Plan Def", "RollForward", false, true); thrd_2008Valuatoin_BurnCOB.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("2008 Valuation"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sPlanTerminationSetup_PBGC_4044 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Plan Termination Setup"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Plan Termination Setup"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "7"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "SalPrj"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Plan Termination Setup"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "7"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Plan Termination Setup"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "7"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sPlanTerminationSetup_PBGC_4044, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sPlanTerminationSetup_PBGC_4044, "PBGC 4044 Liabilities by Plan Def", "RollForward", false, true); pOutputManager._Navigate(Config.eCountry, "IOE", "RollForward", true); pOutputManager._SelectTab("Individual Output"); _gLib._SetSyncUDWin("Group - None", pOutputManager.wRetirementStudio.wGroup_None.rdNone, "True", 0); _gLib._SetSyncUDWin("Process", pOutputManager.wRetirementStudio.wProcess.btnProcess, "Click", 0); if (_gLib._Exists("NewIOEParameters1", pOutputManager.wRetirementStudio.tvNaviTree.tviIndividualOutput.tviNewIOEParameters1, Config.iTimeout / 30, false)) { _gLib._SetSyncUDWin("NewIOEParameters1", pOutputManager.wRetirementStudio.tvNaviTree.tviIndividualOutput.tviNewIOEParameters1, "Click", 0); } else { dic.Clear(); dic.Add("Level_1", "Individual Output"); _gLib._TreeViewSelectWin(0, pOutputManager.wRetirementStudio.tvNaviTree, dic); dic.Clear(); dic.Add("Level_1", "Individual Output"); dic.Add("MenuItem", "Add IOE Parameters"); _gLib._TreeViewRightSelectWin(0, pOutputManager.wRetirementStudio.tvNaviTree.tviIndividualOutput, dic, false); } dic.Clear(); dic.Add("Level_1", "PBGC_Plan_Term"); dic.Add("Level_2", "Provision Output Fields"); dic.Add("Level_3", "PBGC Dollar Max"); pOutputManager._TreeViewSelect_IOE(dic, true); _gLib._SetSyncUDWin("Export", pOutputManager.wRetirementStudio.wExport.btnExport, "Click", 0); pOutputManager._SaveAs(sPlanTerminationSetup_PBGC_4044 + "IOE.xls"); _gLib._SetSyncUDWin("OK", pOutputManager.wExtractSuccessfullyCreated_Popup.wOK.btnOK, "Click", Config.iTimeout * 3); _gLib._FileExists(sPlanTerminationSetup_PBGC_4044 + "IOE.xlsx", Config.iTimeout, true); thrd_PlanTerminationSetup_PBGC_4044.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Plan Termination Setup"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sAccountingConversion pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Conversion"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "SVC"); dic.Add("Pay", "SalPrj"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "N/A"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sAccountingConversion, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccountingConversion, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sAccountingConversion, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccountingConversion, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccountingConversion, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccountingConversion, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccountingConversion, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccountingConversion, "FAS Expected Benefit Pmts", "Conversion", false, false); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("US012DNT", sAccountingConversion_Prod, sAccountingConversion); _compareReportsLib._Report(_PassFailStep.Description, "", "sAccountingConversion"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_ActiveMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_DeferredMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_Pensioners.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Conversion"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_US009_DNT() { #region MultiThreads Thread thrd_Funding_2005Funding_Baseline = new Thread(() => new US009_DNT().t_CompareRpt_Funding_2005Funding_Baseline(sOutputFunding_2005Funding_Baseline)); Thread thrd_Funding_2006Funding_Baseline = new Thread(() => new US009_DNT().t_CompareRpt_Funding_2006Funding_Baseline(sOutputFunding_2006Funding_Baseline)); Thread thrd_Accounting_Accounting2005_Baseline = new Thread(() => new US009_DNT().t_CompareRpt_Accounting_Accounting2005_Baseline(sOutputAccounting_Accounting2005_Baseline)); #endregion this.GenerateReportOuputDir(); #region 2005 Funding - reports pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "2005 Funding"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("2005 Funding"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "VestingService"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccdVestingService"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "False"); dic.Add("PPAAtRiskLiabilityForMaximum", "False"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("EntryAgeNormal", "False"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("2005 Funding"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Output Manager"); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Liability Summary", "Conversion", true, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Test Case List", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2005Funding_Baseline, "Payout Projection", "Conversion", true, true); thrd_Funding_2005Funding_Baseline.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("2005 Funding"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region 2006 Funding - reports pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "2006 Funding"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("2006 Funding"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", "True"); dic.Add("GL_PPANAR_Max", "True"); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", "True"); dic.Add("IncludeGainLossAgeGroupReportFields", ""); dic.Add("Service", "VestingService"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "N/A"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "False"); dic.Add("PPAAtRiskLiabilityForMaximum", "False"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("EntryAgeNormal", "False"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("2006 Funding"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Output Manager"); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Reconciliation to Prior Year", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Reconciliation to Prior Year by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Member Statistics", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Individual Checking Template", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Data Matching Summary", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Combined Status Code Summary", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Gain / Loss Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Gain / Loss Summary of Liability Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Active Decrement Gain / Loss Detail", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Decrement Age", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Gain / Loss Participant Listing", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Payout Projection", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputFunding_2006Funding_Baseline, "Liability Set for FSM Export", "RollForward", true, false); thrd_Funding_2006Funding_Baseline.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("2006 Funding"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Accounting 2005 - reports pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting 2005"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting 2005"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccdVestingService"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting 2005"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Output Manager"); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Detailed Results by Plan Def", "Conversion", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "IOE", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Test Cases", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2005_Baseline, "FAS Expected Benefit Pmts", "Conversion", true, false); thrd_Accounting_Accounting2005_Baseline.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting 2005"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Accounting 2006 - reports pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting 2006"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting 2006"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Acc_GL_PBO", "True"); dic.Add("Acc_GL_ABO", "True"); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("IncludeGainLossAgeGroupReportFields", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccdVestingService"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", "True"); dic.Add("PPANotAtRiskLiabilityForMinimum", ""); dic.Add("PPANotAtRiskLiabilityForMaximum", ""); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", ""); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting 2006"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Output Manager"); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Reconciliation to Prior Year", "RollForward", true, false); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Reconciliation to Prior Year by Plan Def", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Detailed Results", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Detailed Results by Plan Def", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Status Reconciliation", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Member Statistics", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Individual Checking Template", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Age Service Matrix", "RollForward", true, false); //////////pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Data Comparison", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Data Matching Summary", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Combined Status Code Summary", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Gain / Loss Status Reconciliation", "RollForward", true, false); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Gain / Loss Summary of Liability Reconciliation", "RollForward", true, false); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Active Decrement Gain / Loss Detail", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Decrement Age", "RollForward", true, false); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Gain / Loss Participant Listing", "RollForward", true, false); //////////pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Liability Comparison", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Valuation Summary", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Individual Output", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "IOE", "RollForward", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Parameter Print", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Test Cases", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Payout Projection", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Age Service Matrix", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "FAS Expected Benefit Pmts", "RollForward", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2006_Baseline, "Liability Set for Globe Export", "RollForward", true, false); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting 2006"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("US009CN", sOutputAccounting_Accounting2006_Baseline_Prod, sOutputAccounting_Accounting2006_Baseline); _compareReportsLib._Report(_PassFailStep.Description, "", "Accounting2006_Baseline"); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("StatusReconciliation.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_MovementAndRollforward.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_OutlierSummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_CheckingGroupStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("AgeServiceMatrix.xlsx", 4, 0, 0, 0, true); //////////_compareReportsLib.CompareExcel_Exact("DataComparison.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DataMatchingSummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("CombinedStatusCodeSummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("GainLossStatusReconciliation.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("GainLossSummaryofLiabilityReconciliation_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("GainLossSummaryofLiabilityReconciliation_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ActiveDecrementGainLossDetail_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ActiveDecrementGainLossDetail_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DecrementAge.xlsx", 4, 0, 0, 0, true); //_compareReportsLib.CompareExcel_Exact("GainLossParticipantListing_PBO.xlsx", 0, 0, 0, 0, true); //_compareReportsLib.CompareExcel_Exact("GainLossParticipantListing_ABO.xlsx", 0, 0, 0, 0, true); //////////_compareReportsLib.CompareExcel_Exact("LiabilityComparison_PBO.xlsx", 0, 0, 0, 0, true); //////////_compareReportsLib.CompareExcel_Exact("LiabilityComparison_ABO.xlsx", 0, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IOE.xlsx", 7, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("AgeServiceMatrix_2.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySetforGlobeExport.xlsx", 4, 0, 0, 0, true); } #endregion // To generate code for this test, select "Generate Code for Coded UI Test" from the shortcut menu and select one of the menu items. }
static void Main(string[] args) { var myDict = new MyDictionary<string, string>(); int cnt = 22; for (int i = 0; i < cnt; i++) { myDict.Add(i.ToString(), Math.Pow(i, 2).ToString()); } string[] keys = myDict.Keys; string[] values = myDict.Values; Console.WriteLine("Keys (numbers as strings): "); for (int i = 0; i < myDict.Count; i++) Console.Write("{0,-5}", keys[i]); Console.WriteLine("\nValues (numbers in second degree as strings): "); for (int i = 0; i < myDict.Count; i++) Console.Write("{0,-5}", values[i]); Console.Write("| Count = {0}", myDict.Count); Console.WriteLine(); for (int i = 15; i < cnt; i++) { myDict.Remove(i.ToString()); } Console.WriteLine("\n\nSome elements were removed\n"); keys = myDict.Keys; values = myDict.Values; Console.WriteLine("Keys (numbers as strings): "); for (int i = 0; i < myDict.Count; i++) Console.Write("{0,-5}", keys[i]); Console.WriteLine("\nValues (numbers in second degree as strings): "); for (int i = 0; i < myDict.Count; i++) Console.Write("{0,-5}", values[i]); Console.ForegroundColor = ConsoleColor.Red; Console.Write("| Count = {0}", myDict.Count); Console.ResetColor(); Console.WriteLine("\n\nChanging the element with index = 4"); myDict["4"] = "999"; keys = myDict.Keys; values = myDict.Values; Console.WriteLine("\nKeys (numbers as strings): "); for (int i = 0; i < myDict.Count; i++) { if (keys[i] == "4") { Console.ForegroundColor = ConsoleColor.Red; Console.Write("{0,-5}", keys[i]); Console.ResetColor(); } else Console.Write("{0,-5}", keys[i]); } Console.WriteLine("\nValues (numbers as strings): "); for (int i = 0; i < myDict.Count; i++) { if (values[i] == myDict["4"]) { Console.ForegroundColor = ConsoleColor.Red; Console.Write("{0,-5}", values[i]); Console.ResetColor(); } else Console.Write("{0,-5}", values[i]); } Console.ReadKey(); }
public void MyTestInitialize() { dicResultIndex.Clear(); dicResultIndex.Add("iTimeStart", "2"); dicResultIndex.Add("iTimeEnd", "3"); dicResultIndex.Add("iLaunchNodeProperty_1", "4"); dicResultIndex.Add("iLaunchNodeProperty_2", "5"); dicResultIndex.Add("iLaunchNodeProperty_3", "6"); dicResultIndex.Add("iLaunchNodeProperty_4", "7"); dicResultIndex.Add("iLaunchNodeProperty_5", "8"); dicResultIndex.Add("iLaunchNodeProperty_6", "9"); dicResultIndex.Add("iLaunchNodeProperty_7", "10"); dicResultIndex.Add("iLaunchNodeProperty_8", "11"); dicResultIndex.Add("iLaunchNodeProperty_9", "12"); dicResultIndex.Add("iLaunchNodeProperty_10", "13"); dicResultIndex.Add("iAddNodeSuccess_1", "14"); dicResultIndex.Add("iAddNodeSuccess_2", "15"); dicResultIndex.Add("iAddNodeSuccess_3", "16"); dicResultIndex.Add("iAddNodeSuccess_4", "17"); dicResultIndex.Add("iAddNodeSuccess_5", "18"); dicResultIndex.Add("iAddNodeSuccess_6", "19"); dicResultIndex.Add("iAddNodeSuccess_7", "20"); dicResultIndex.Add("iAddNodeSuccess_8", "21"); dicResultIndex.Add("iAddNodeSuccess_9", "22"); dicResultIndex.Add("iAddNodeSuccess_10", "23"); dicPosition.Clear(); dicPosition.Add("X_1", "400"); dicPosition.Add("Y_1", "320"); dicPosition.Add("X_2", "400"); dicPosition.Add("Y_2", "378"); dicPosition.Add("X_3", "350"); dicPosition.Add("Y_3", "436"); dicPosition.Add("X_4", "350"); dicPosition.Add("Y_4", "490"); dicPosition.Add("X_5", "350"); dicPosition.Add("Y_5", "530"); dicPosition.Add("X_6", "400"); dicPosition.Add("Y_6", "320"); dicPosition.Add("X_7", "470"); dicPosition.Add("Y_7", "380"); dicPosition.Add("X_8", "435"); dicPosition.Add("Y_8", "435"); dicPosition.Add("X_9", "435"); dicPosition.Add("Y_9", "490"); dicPosition.Add("X_10", "435"); dicPosition.Add("Y_10", "530"); }
public void test_IR001_DNT() { #region MultiThreads Thread thrd_Valuation2009_AttainedAge = new Thread(() => new IR001_DNT().t_CompareRpt_Valuation2009_AttainedAge(sOutputFunding_Valuation2009_AttainedAge)); Thread thrd_2010Valuation_AddDecrements = new Thread(() => new IR001_DNT().t_CompareRpt_2010Valuation_AddDecrements(sOutputFunding_2010Valuation_AddDecrements)); Thread thrd_FASValuation2009 = new Thread(() => new IR001_DNT().t_CompareRpt_FASValuation2009(sOutputAccounting_FASValuation2009)); #endregion this.GenerateReportOuputDir(); #region sOutputFunding_Valuation2009_AttainedAge pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Valuation 2009"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "TotalService"); dic.Add("Pay", "PensionableSalary"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "AdjustedInPayPension"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Test Cases", "Conversion", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(sOutputFunding_Valuation2009_AttainedAge, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Valuation2009_AttainedAge, "Reconciliation to Baseline", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Valuation2009_AttainedAge, "Liabilities Detailed Results", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputFunding_Valuation2009_AttainedAge, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Valuation2009_AttainedAge, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Valuation2009_AttainedAge, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Valuation2009_AttainedAge, "Reconciliation to Baseline by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Valuation2009_AttainedAge, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Valuation2009_AttainedAge, "Liabilities Detailed Results by Plan Def", "Conversion", false, true); } thrd_Valuation2009_AttainedAge.Start(); pMain._SelectTab("Valuation 2009"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputFunding_2010Valuation_AddDecrements pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "2010 Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("2010 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "TotalService"); dic.Add("Pay", "PensionableSalary"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "AdjustedInPayPension"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("2010 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("2010 Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Test Cases", "RollForward", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liability Scenario", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Payout Projection", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Reconciliation to Baseline", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liabilities Detailed Results", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liability Scenario by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Reconciliation to Baseline by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_2010Valuation_AddDecrements, "Liabilities Detailed Results by Plan Def", "RollForward", false, true); } thrd_2010Valuation_AddDecrements.Start(); pMain._SelectTab("2010 Valuation"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_FASValuation2009 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "FAS Valuation 2009"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("FAS Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "TotalService"); dic.Add("Pay", "PensionableSalary"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AdjustedInPayPension"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", ""); dic.Add("SolvencyLiability", ""); dic.Add("WindUpLiability", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("FAS Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("FAS Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Test Cases", "Conversion", true, false); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_FASValuation2009, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_FASValuation2009, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Conversion Diagnostic", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "FAS Expected Benefit Pmts", "Conversion", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_FASValuation2009, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_FASValuation2009, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_FASValuation2009, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_FASValuation2009, "FAS Expected Benefit Pmts", "Conversion", false, false); } thrd_FASValuation2009.Start(); pMain._SelectTab("FAS Valuation 2009"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_FASValuation2010_AddDecrements pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "FAS Valuation 2010"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("FAS Valuation 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Acc_GL_PBO", ""); dic.Add("Acc_GL_ABO", ""); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "TotalService"); dic.Add("Pay", "PensionableSalary"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AdjustedInPayPension"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("FAS Valuation 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("FAS Valuation 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Parameter Print", "RollForward", true, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Test Cases", "RollForward", true, false); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liability Scenario", "RollForward", true, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Valuation Summary", "RollForward", true, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Individual Output", "RollForward", true, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Payout Projection", "RollForward", true, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "FAS Expected Benefit Pmts", "RollForward", true, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liability Set for Globe Export", "RollForward", true, false); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Reconciliation to Baseline", "RollForward", true, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liabilities Detailed Results", "RollForward", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liability Scenario", "RollForward", false, false); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liability Scenario by Plan Def", "RollForward", false, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Valuation Summary", "RollForward", false, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Individual Output", "RollForward", false, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "IOE", "RollForward", false, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Payout Projection", "RollForward", false, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "FAS Expected Benefit Pmts", "RollForward", false, false); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liability Set for Globe Export", "RollForward", false, false); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Reconciliation to Baseline", "RollForward", false, false); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Reconciliation to Baseline by Plan Def", "RollForward", false, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liabilities Detailed Results", "RollForward", false, false); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_FASValuation2010_AddDecrements, "Liabilities Detailed Results by Plan Def", "RollForward", false, false); } if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("IR001DNT", sOutputAccounting_FASValuation2010_AddDecrements_Prod, sOutputAccounting_FASValuation2010_AddDecrements); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputAccounting_FASValuation2010_AddDecrements"); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IOE.xlsx", 7, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilityScenario_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilityScenario_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilityScenariobyPlanDef_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilityScenariobyPlanDef_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_PBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_ABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySetforGlobeExport.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("FAS Valuation 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Parameter Print"); pMain._FlowTreeRightSelect(dic); pOutputManager._ParameterPrint_Standalone(sOutputAccounting_FASValuation2010_AddDecrements); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("", "please manually compare parameter print for the last node, and this client is finished"); }
public override string GetParametersToJosn() { MyDictionary parameters = new MyDictionary(); parameters.Add("department", this.Department); parameters.Add("email", this.Email); parameters.Add("extattr", this.Extattr); parameters.Add("isHide", this.IsHide); parameters.Add("isSenior", this.IsSenior); parameters.Add("jobnumber", this.Jobnumber); parameters.Add("mobile", this.Mobile); parameters.Add("name", this.Name); parameters.Add("orderInDepts", this.OrderInDepts); parameters.Add("orgEmail", this.OrgEmail); parameters.Add("position", this.Position); parameters.Add("remark", this.Remark); parameters.Add("tel", this.Tel); parameters.Add("userid", this.Userid); parameters.Add("workPlace", this.WorkPlace); return(parameters.ToJson()); }
public void test_CA001_DNT() { #region MultiThreads Thread thrd_Funding_WindUpGL2011 = new Thread(() => new CA001_DNT().t_CompareRpt_Funding_WindUpGL2011(sOutputFunding_WindUpGL2011)); Thread thrd_Funding2008_NewDAMP = new Thread(() => new CA001_DNT().t_CompareRpt_Funding_Funding2008_NewDAMP(sOutputFunding_Funding2008_NewDAMP)); Thread thrd_Funding2011_NewValuation = new Thread(() => new CA001_DNT().t_CompareRpt_Funding_Funding2011_NewValuation(sOutputFunding_Funding2011_NewValuation)); #endregion this.GenerateReportOuputDir(); #region Funding - Funding2008 - New DAMP Node pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Funding2008"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Funding2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "ProjectedPay"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "ContribsWInterest1"); dic.Add("Pension", "AccruedBenefit1"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Funding2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Funding2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Common(sOutputFunding_Funding2008_NewDAMP, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2008_NewDAMP, "Parameter Print", "Conversion", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputFunding_Funding2008_NewDAMP, "Individual Output", "Conversion", true, true); //pOutputManager._ExportReport_Others(sOutputFunding_Funding2008_NewDAMP, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Reconciliation to Baseline", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2008_NewDAMP, "Liabilities Detailed Results", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputFunding_Funding2008_NewDAMP, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2008_NewDAMP, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2008_NewDAMP, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Reconciliation to Baseline by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Funding2008_NewDAMP, "Liabilities Detailed Results by Plan Def", "Conversion", false, true); } thrd_Funding2008_NewDAMP.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Funding2008"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Funding - Funding2011_NewValuation pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Funding2011"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Funding2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("CalcIncreCostSolvencyWindup", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "ProjectedPay"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "ContribsWInterest1"); dic.Add("Pension", "AccruedBenefit1"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", "true"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Funding2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete with 1 NP", true); pMain._SelectTab("Funding2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Liability Scenario", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2011_NewValuation, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Payout Projection", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2011_NewValuation, "Age Service Matrix", "Roll Forward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Reconciliation to Baseline", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2011_NewValuation, "LiabilitiesDetailedResults", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Liability Scenario by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2011_NewValuation, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2011_NewValuation, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Funding2011_NewValuation, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2011_NewValuation, "Age Service Matrix", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Reconciliation to Baseline by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Funding2011_NewValuation, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Funding2011_NewValuation, "Liabilities Detailed Results by Plan Def", "RollForward", false, true); } thrd_Funding2011_NewValuation.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Funding2011"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Funding - WindUpGL2011 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "WindUpGL 2011"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("WindUpGL 2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", "True"); dic.Add("GL_WindUp", "True"); dic.Add("PayoutProjection", "false"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("CalcIncreCostSolvencyWindup", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "ProjectedPay"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "ContribsWInterest1"); dic.Add("Pension", "AccruedBenefit1"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "false"); dic.Add("WindUpLiability", "true"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("WindUpGL 2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete with 1 NP", true); pMain._SelectTab("WindUpGL 2011"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Reconciliation to Prior Year", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "Member Statistics", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Data Matching Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Combined Status Code Summary", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Gain / Loss Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Gain / Loss Summary of Liability Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Active Decrement Gain / Loss Detail", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Decrement Age", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "Parameter Print", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Reconciliation to Prior Year", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Reconciliation to Prior Year by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "Member Statistics", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Age Service Matrix", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Data Matching Summary", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Combined Status Code Summary", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Gain / Loss Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Gain / Loss Summary of Liability Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Active Decrement Gain / Loss Detail", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Decrement Age", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_WindUpGL2011, "Gain / Loss Participant Listing", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_WindUpGL2011, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_WindUpGL2011, "IOE", "RollForward", false, true); } thrd_Funding_WindUpGL2011.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("WindUpGL 2011"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_Accounting2008 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting2008"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "Credited"); dic.Add("Pay", "ProjectedPay"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "EEContributions"); dic.Add("Pension", "AccruedBenefit1"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", ""); dic.Add("SolvencyLiability", ""); dic.Add("WindUpLiability", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Test Cases", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "FAS Expected Benefit Pmts", "Conversion", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2008, "FAS Expected Benefit Pmts", "Conversion", false, false); } if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("CA001DNT", sOutputAccounting_Accounting2008_Prod, sOutputAccounting_Accounting2008); _compareReportsLib._Report(_PassFailStep.Description, "", "Accounting_Accounting2008"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_ActiveMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_DeferredMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_Pensioners.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting2008"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_UK005_DNT() { this.GenerateReportOuputDir(); pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "QA UK Benchmark 005"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("QA UK Benchmark 005"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "FinalPayCurrentYear"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "True"); dic.Add("PPFS179", "True"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "AllMembers"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("QA UK Benchmark 005"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("QA UK Benchmark 005"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputFunding_QAUKBenchmark005, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Payout Projection - Benefit Cashflows", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_QAUKBenchmark005, "Payout Projection - Other Info", "Conversion", false, true); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("UK005DNT", sOutputFunding_QAUKBenchmark005_Prod, sOutputFunding_QAUKBenchmark005); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputFunding_QAUKBenchmark005"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultswithBenTypesplits.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection-BenefitCashflows.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection-OtherInfo.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("QA UK Benchmark 005"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_UK006_DNT() { #region MultiThreads Thread thrd_Conversion = new Thread(() => new UK006_DNT().t_CompareRpt_Conversion(sOutputFunding_Conversion)); Thread thrd_Valuation2009_WithAltFunding = new Thread(() => new UK006_DNT().t_CompareRpt_Valuation2009_WithAltFunding(sOutputFunding_Valuation2009_WithAltFunding)); #endregion this.GenerateReportOuputDir(); #region sOutputFunding_Conversion pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Conversion"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "True"); dic.Add("PPFS179", "True"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputFunding_Conversion, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Payout Projection - Benefit Cashflows", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Conversion, "Payout Projection - Other Info", "Conversion", false, true); thrd_Conversion.Start(); pMain._SelectTab("Conversion"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputFunding_Valuation2009_WithAltFunding pMain._SelectTab("Home"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Valuation 2009"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "True"); dic.Add("AltFunding2", "True"); dic.Add("AltFunding3", "True"); dic.Add("Solvency", "False"); dic.Add("PPFS179", "False"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Data Matching Summary", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Combined Status Code Summary", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Payout Projection - Benefit Cashflows", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Payout Projection - Other Info", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liabilities Detailed Results with Ben Type splits", "RollForward", false, true); thrd_Valuation2009_WithAltFunding.Start(); pMain._SelectTab("Valuation 2009"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_Accounting2008 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting2008"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", ""); dic.Add("AltFunding1", ""); dic.Add("AltFunding2", ""); dic.Add("AltFunding3", ""); dic.Add("Solvency", ""); dic.Add("PPFS179", ""); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputAccounting_Accounting2008, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputAccounting_Accounting2008, "Payout Projection", "Conversion", false, true); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("UK006DNT", sOutputAccounting_Accounting2008_Prod, sOutputAccounting_Accounting2008); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputAccounting_Accounting2008"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultswithBenTypesplits.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Parameter Print"); pMain._FlowTreeRightSelect(dic); pOutputManager._ParameterPrint_Standalone(sOutputAccounting_Accounting2008); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("", "please manually compare parameter print for the last node, and this client is finished"); }
public void test_ANZ002_DNT() { this.GenerateReportOuputDir(); #region 2014BMVal pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "2014 Benchmark Val"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("2014 Benchmark Val"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Population Projection"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); pMain._SelectTab("2014 Benchmark Val"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Proj"); pMain._SelectTab("2014 Benchmark Val"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("isANZ", "true"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("2014 Benchmark Val"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Liab"); pMain._SelectTab("2014 Benchmark Val"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Doer", "True"); dic.Add("Checker", ""); dic.Add("Reviewer", ""); dic.Add("Setup", ""); pOutputManager._PopVerify_OutputManager(dic); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Future Valuation Population Projection", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Future Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Future Valuation Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Future Valuation Liabilities by Group", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Future Valuation Liabilities by Year", "Conversion", true, true); pOutputManager._ExportReport_FVPayouts_PDF_EXCEL(Config.eCountry, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV, "Conversion", true, false); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("ANZ002_DNT", sOutputFunding_2014BenchmarkVal_REVISED50YearsFV_Prod, sOutputFunding_2014BenchmarkVal_REVISED50YearsFV); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputFunding_2014BenchmarkVal_REVISED50YearsFV"); _compareReportsLib.CompareExcel_Exact("FutureValuationPopulationProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationSummary.xlsx", 4, new string[1] { "Sheet1" }, true); _compareReportsLib.CompareExcel_Exact("FutureValuationSummary.xlsx", 12, new string[1] { "Sheet2" }, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2014.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2015.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2019.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2024.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2029.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2034.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2039.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2044.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2049.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2054.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2059.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2064.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationLiabilitiesbyGroup.xlsx", 12, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FutureValuationLiabilitiesbyYear.xlsx", 12, new string[1] { "Sheet2" }, true); _compareReportsLib.CompareExcel_Exact("FutureValuationLiabilitiesbyYear.xlsx", 4, new string[1] { "Sheet1" }, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("2014 Benchmark Val"); pMain._Home_ToolbarClick_Top(true); #endregion _gLib._MsgBox("!", "Finished"); }
public void test_US016_RB() { this.GenerateReportOuputDir(); #region sOutputFunding_Val2013 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Val 2013"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Val 2013"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "BenefitService"); dic.Add("Pay", "PensionEarningsPriorYear1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "BenefitInPayment"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "True"); dic.Add("PPAAtRiskLiabilityForMaximum", "True"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Val 2013"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Val 2013"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Val2013, "Liability Summary", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Val2013, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Test Case List", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Payout Projection", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Val2013, "Liability Summary", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Val2013, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Test Case List", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2013, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2013, "Payout Projection", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Val 2013"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputFunding_Val2014_Baseline pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Val 2014"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", "True"); dic.Add("GL_PPANAR_Max", "True"); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "BenefitService"); dic.Add("Pay", "PensionEarningsPriorYear1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "BenefitInPayment"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "True"); dic.Add("PPAAtRiskLiabilityForMaximum", "True"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Reconciliation to Prior Year", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Member Statistics", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Individual Checking Template", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Data Matching Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Combined Status Code Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Gain / Loss Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Gain / Loss Summary of Liability Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Active Decrement Gain / Loss Detail", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Decrement Age", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Payout Projection", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Reconciliation to Prior Year", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Reconciliation to Prior Year by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Member Statistics", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Individual Checking Template", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Age Service Matrix", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Data Matching Summary", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Combined Status Code Summary", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Gain / Loss Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Gain / Loss Summary of Liability Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Active Decrement Gain / Loss Detail", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Decrement Age", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_Baseline, "Gain / Loss Participant Listing", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_Baseline, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_Baseline, "Payout Projection", "RollForward", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Val 2014"); pMain._Home_ToolbarClick_Top(true); #endregion #region sOutputFunding_Val2014_FinalResults pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "BenefitService"); dic.Add("Pay", "PensionEarningsPriorYear1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "BenefitInPayment"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "True"); dic.Add("PPAAtRiskLiabilityForMaximum", "True"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Funding Calculations"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_FundingCalculationRunCompleted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "ASC 960 Reconciliation"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Verify"); dic.Add("Yes", ""); dic.Add("No", ""); dic.Add("Message", "ASC 960 reconciliation run completed."); dic.Add("OK", ""); pMain._PopVerify_Home_Confrim(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Yes", ""); dic.Add("No", ""); dic.Add("Message", ""); dic.Add("OK", "Click"); pMain._PopVerify_Home_Confrim(dic); pMain._SelectTab("Val 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Funding Calculator Scenario", "RollForward", true, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Liability Scenario", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Payout Projection", "RollForward", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Reconciliation to Baseline", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Liabilities Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "ASC 960 Reconciliation", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Funding Calculator Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Liability Scenario by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_SubReports(sOutputFunding_Val2014_FinalResults, "Reconciliation to Baseline by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "Liabilities Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Val2014_FinalResults, "Funding Calculator", "RollForward", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Val2014_FinalResults, "ASC 960 Reconciliation", "RollForward", false, true); } pMain._SelectTab("Val 2014"); pMain._GenerateNewReport(sOutputFunding_Val2014_FinalResults, "PPA Funding Valuation Report", 3); pMain._GenerateNewReport(sOutputFunding_Val2014_FinalResults, "ASC 960 Letter", 3); pMain._SelectTab("Val 2014"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_ANZ001_DNT() { this.GenerateReportOuputDir(); pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting 2014"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "ServiceFromBenAccDate"); dic.Add("Pay", "SalaryCurrentYear"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "TotalEmployeeContributions"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete with 1 NP", true); pMain._SelectTab("Accounting 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Doer", "Click"); dic.Add("Checker", ""); dic.Add("Reviewer", ""); dic.Add("Setup", ""); pOutputManager._PopVerify_OutputManager(dic); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Valuation Summary", "Conversion", true, false); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2014, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2014, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Conversion Diagnostic", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Test Cases", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "FAS Expected Benefit Pmts", "Conversion", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2014, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2014, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2014, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Accounting2014, "FAS Expected Benefit Pmts", "Conversion", false, false); } if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("ANZ001DNT", sOutputAccounting_Accounting2014_Prod, sOutputAccounting_Accounting2014); _compareReportsLib._Report(_PassFailStep.Description, "", "Accounting2014"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_ActiveMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_DeferredMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_Pensioners.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); Config.bThreadFinsihed = true; } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting 2014"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Parameter Print"); pMain._FlowTreeRightSelect(dic); pOutputManager._ParameterPrint_Standalone(sOutputAccounting_Accounting2014); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); _gLib._MsgBox("", "please manually compare parameter print for the last node, and this client is finished"); }
public void test_NL001_RB() { this.GenerateReportOuputDir(); #region sOutputFunding_Fnd2011Cnv pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Fnd2011Cnv"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Fnd2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "PProj2"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", ""); dic.Add("PayoutProjectionCustomGroup", "Gender"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Fnd2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Fnd2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Test Cases", "Conversion", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Fnd2011Cnv, "Liability Summary", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Fnd2011Cnv, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Test Case List", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Payout Projection", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Fnd2011Cnv, "Liability Summary", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Fnd2011Cnv, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Test Case List", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputFunding_Fnd2011Cnv, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputFunding_Fnd2011Cnv, "Payout Projection", "Conversion", false, true); } pMain._SelectTab("Fnd2011Cnv"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputFunding_Fnd2012RF_Baseline pMain._SelectTab("Home"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Fnd2012RF"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "PProj2"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", ""); dic.Add("PayoutProjectionCustomGroup", "Gender"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Test Cases", "RollForward", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year with Breaks", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results with Breaks", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Member Statistics", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Individual Checking Template", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Payout Projection", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year with Breaks", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Reconciliation to Prior Year by Plan Def with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Detailed Results by Plan Def with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Member Statistics", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Individual Checking Template", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Age Service Matrix", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_Baseline, "Payout Projection", "RollForward", false, true); } pMain._SelectTab("Fnd2012RF"); pMain._Home_ToolbarClick_Top(true); #endregion #region sOutputFunding_Fnd2012RF_FndChld1 pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "PProj2"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", "True"); dic.Add("SolvencyLiability", "True"); dic.Add("WindUpLiability", ""); dic.Add("PayoutProjectionCustomGroup", "Gender"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Fnd2012RF"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Test Cases", "RollForward", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario with Breaks", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Individual Output", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Payout Projection", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline", "RollForward", true, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline with Breaks", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results with Breaks", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario with Breaks", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liability Scenario by Plan Def with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline with Breaks", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Reconciliation to Baseline by Plan Def with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results with Breaks", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Fnd2012RF_FndChld1, "Liabilities Detailed Results by Plan Def with Breaks", "RollForward", false, true); } pMain._SelectTab("Fnd2012RF"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_Acct2011Cnv pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Acct2011Cnv"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Acct2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "PProj1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", ""); dic.Add("SolvencyLiability", ""); dic.Add("WindUpLiability", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", "Gender"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Acct2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Acct2011Cnv"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Test Cases", "Conversion", true, false); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Acct2011Cnv, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Acct2011Cnv, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Conversion Diagnostic", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "FAS Expected Benefit Pmts", "Conversion", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Acct2011Cnv, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Acct2011Cnv, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Acct2011Cnv, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Acct2011Cnv, "FAS Expected Benefit Pmts", "Conversion", false, false); } pMain._SelectTab("Acct2011Cnv"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_NL003_DNT() { this.GenerateReportOuputDir(); #region sOutputAccounting_Valuation2009 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Valuation 2009"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_GoingConcern", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "Pay1CurrentYear"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("GoingConcernLiability", ""); dic.Add("SolvencyLiability", ""); dic.Add("WindUpLiability", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Test Cases", "Conversion", true, false); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Liability Summary", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Valuation2009, "Liability Summary", "Conversion", true, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Member Statistics", "Conversion", true, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Valuation2009, "Conversion Diagnostic", "Conversion", true, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Conversion Diagnostic", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Test Case List", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Detailed Results", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Individual Output", "Conversion", true, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Payout Projection", "Conversion", true, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "FAS Expected Benefit Pmts", "Conversion", true, false); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Valuation2009, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Valuation2009, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "Valuation Summary", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others(sOutputAccounting_Valuation2009, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common(sOutputAccounting_Valuation2009, "FAS Expected Benefit Pmts", "Conversion", false, false); } if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("NL003DNT", sOutputAccounting_Valuation2009_Prod, sOutputAccounting_Valuation2009); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputAccounting_Valuation2009"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_ActiveMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_DeferredMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_Pensioners.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("TestCaseList.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IOE.xlsx", 7, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Valuation 2009"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void WorkCollectionInheritedClasses() { Student firstStudent = new Student("Alina", "Kylish", 123456789, new DateTime(1988, 4, 3)); Student secondStudent = new Student("Elena", "Kylish", 987654321, new DateTime(1987, 8, 15)); Student thirdStudent = new Student("Oleg", "Ivanov", 975312468, new DateTime(1992, 11, 20)); MyDictionary students = new MyDictionary(); Tuple<string, string, int> key = new Tuple<string,string,int>("Alina", "Kylish", 123456789); students.Add(firstStudent); if (!students.Contains(key)) { Console.WriteLine("This key is not found"); } else { Console.WriteLine("This key is found"); } MyCollection students1 = new MyCollection(); students1.Add(firstStudent); students1.Add(secondStudent); students1.Insert(0, thirdStudent); students1.Add(firstStudent); students1.Remove(firstStudent); students1.Clear(); Console.ReadKey(); }
private void SubmitButton_Click(object sender, EventArgs e) { if (BorrowBookTimeComboBox.Text.ToString().Trim() == "") { MessageBox.Show("请选择借阅时长!", "警告"); return; } else if (BorrowBookIdTextBox.Text.Trim() == "" || BorrowBookNameTextBox.Text.Trim() == "" || BorrowBookPriceTextBox.Text.Trim() == "") { MessageBox.Show("请选择书籍!", "警告"); } else { // 自动生成借书单号 string sql = "select MAX(borrowNumber)+1 from borrowlist"; string borrowNumber = MySqlHelper.ExecuteScalar(sql).ToString(); StringBuilder sb = new StringBuilder(borrowNumber); while (sb.Length != 6) { sb.Insert(0, "0"); } borrowNumber = sb.ToString(); // 查询书籍库存量 sql = "select amount from books where bookId = @bookId"; MyDictionary dic1 = new MyDictionary(); dic1.Add("@bookId", BorrowBookIdTextBox.Text.Trim()); string n = MySqlHelper.ExecuteScalar(sql, dic1).ToString(); if (n == "0") { MessageBox.Show("该书籍库存量为零!", "警告"); return; } // 插入数据到借书表(borrow) //sql = string.Format("insert into borrowlist values(@borrowNumber, @userId, @bookId, @bookName, convert(varchar(20),GETDATE() ,111),convert(varchar(20),dateadd(day," + BorrowBookTimeComboBox.Text.ToString().Substring(0, 2) + ", CONVERT(varchar(20),GETDATE() ,111)),111), @overDue)"); //sql = string.Format("insert into borrowlist values(@borrowNumber, @userId, @bookId, @bookName, curdate(), date_add(curdate(), interval 30 day), @overDue)"); //TODO: 这里我要将下面这段代码改成调用处理过程,处理过程中使用事务的形式 sql = string.Format("call borrowBooks(@borrowNumber, @userId, @bookId, @bookName, @duration, @overDue)");//利用处理过程+事务+写锁的方式来处理并发 MyDictionary dic = new MyDictionary(); dic.Add("@borrowNumber", borrowNumber); dic.Add("@userId", BorrowBookUserTextBox.Text.Trim()); dic.Add("@bookId", BorrowBookIdTextBox.Text.Trim()); dic.Add("@bookName", BorrowBookNameTextBox.Text.Trim()); dic.Add("@duration", BorrowBookTimeComboBox.Text.ToString().Substring(0, 2)); //借书时长 dic.Add("@overDue", "0"); // overDue = 0 标记该书未超归还期限 dic.Add("@status", "0"); int isSuccessfull = MySqlHelper.ExecuteNonQuery(sql, dic); //ExecuteNonQuery 返回的参数是影响了几行 if (isSuccessfull == 0) { MessageBox.Show("借书成功!", "提示"); } /* sql = string.Format("insert into borrowlist values(@borrowNumber, @userId, @bookId, @bookName, curdate(), date_add(curdate(), interval @duration day), @overDue)"); * MyDictionary dic = new MyDictionary(); * dic.Add("@borrowNumber", borrowNumber); * dic.Add("@userId", BorrowBookUserTextBox.Text.Trim()); * dic.Add("@bookId", BorrowBookIdTextBox.Text.Trim()); * dic.Add("@bookName", BorrowBookNameTextBox.Text.Trim()); * dic.Add("@duration", BorrowBookTimeComboBox.Text.ToString().Substring(0, 2)); //借书时长 * dic.Add("@overDue", "0"); // overDue = 0 标记该书未超归还期限 * int isSuccessfull = MySqlHelper.ExecuteNonQuery(sql, dic); * if (isSuccessfull > 0) * { * n = (Convert.ToInt32(n) - 1).ToString(); // 库存量 -1 * sql = "update books set amount = @amount where bookId = @bookId"; * MyDictionary dic2 = new MyDictionary(); * dic2.Add("@amount", n); * dic2.Add("@bookId", BorrowBookIdTextBox.Text.Trim()); * MySqlHelper.ExecuteScalar(sql, dic2); * MessageBox.Show("借书成功!", "提示"); * }*/ } }
/// <summary> /// 提交借书操作 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ButtonSubmit_Click(object sender, EventArgs e) { // 检查用户存在 if (TextBoxUserID.Text.Trim() == "" || comboBoxBorrowDuration.Text.ToString().Trim() == "") { MessageBox.Show("请填写用户名和借阅时间!", "警告"); return; } else if (TextBoxBookNum.Text.Trim() == "" || TextBoxBookName2.Text.Trim() == "" || TextBoxBookPrice.Text.Trim() == "") { MessageBox.Show("请选择书籍!", "警告"); } else if (!SqlHelper.IsUserExists(TextBoxUserID.Text.Trim())) { MessageBox.Show("不存在该用户!", "警告"); return; } else { // 自动获得图书序列号 string sql = " select MAX(ID) from borrow"; string ID = (int.Parse(SqlHelper.ExecuteScalar(sql).ToString()) + 1).ToString(); StringBuilder sb = new StringBuilder(ID); while (sb.Length != 6) { sb.Insert(0, "0"); } ID = sb.ToString(); // 查询账户是否锁定 sql = "select uBan from users where uId=@uId"; MyDictionary dic1 = new MyDictionary(); dic1.Add("@uId", TextBoxUserID.Text.Trim()); string tag = SqlHelper.ExecuteScalar(sql, dic1).ToString(); if (tag.Equals("1")) { MessageBox.Show("该账户已被锁定!", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } // 查询书籍库存量 sql = "select bTag from books where bNum=@bNum"; MyDictionary dic3 = new MyDictionary(); dic3.Add("@bNum", TextBoxBookNum.Text.Trim()); string n = SqlHelper.ExecuteScalar(sql, dic3).ToString(); if (n.Equals("0")) { MessageBox.Show("该书籍库存量为零!", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } sql = "select uBlance from users where uId=@uId"; MyDictionary dic4 = new MyDictionary(); dic4.Add("@uId", TextBoxUserID.Text.Trim()); double money = Convert.ToDouble(SqlHelper.ExecuteScalar(sql, dic4).ToString()); int len = Convert.ToInt32(comboBoxBorrowDuration.Text.ToString().Substring(0, 2)); if (money < len / 10) { MessageBox.Show("账户余额不足", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } else if (money < 30) { MessageBox.Show("账户余额不足十元,请及时充值", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning); } // 减少余额 sql = "update users set uBlance = uBlance -" + (len / 10) + " where uId=@uId"; MyDictionary dic5 = new MyDictionary(); dic5.Add("@uId", TextBoxUserID.Text.Trim()); SqlHelper.ExecuteScalar(sql, dic5); // 插入数据到借书表(borrow) sql = "insert into borrow values(@ID,@uId,@bName,@bNum,@bPrice,convert(varchar(20),GETDATE() ,111),convert(varchar(20),dateadd(day," + comboBoxBorrowDuration.Text.ToString().Substring(0, 2) + ",CONVERT(varchar(20),GETDATE() ,111)),111),@Tag)"; MyDictionary dic = new MyDictionary(); dic.Add("@ID", ID); dic.Add("@uId", TextBoxUserID.Text.Trim()); dic.Add("@bName", TextBoxBookName2.Text.Trim()); dic.Add("@bNum", TextBoxBookNum.Text.Trim()); dic.Add("@bPrice", TextBoxBookPrice.Text.Trim()); dic.Add("@Tag", "0");// Tag = 0 标记该书未超归还期限 int i = SqlHelper.ExecuteNonQuery(sql, dic); if (i > 0) { n = (Convert.ToInt32(n) - 1).ToString(); // 库存量-1 sql = "update books set bTag=@bTag where bNum=@bNum"; MyDictionary dic2 = new MyDictionary(); dic2.Add("@bTag", n); dic2.Add("@bNum", TextBoxBookNum.Text.Trim()); SqlHelper.ExecuteScalar(sql, dic2); MessageBox.Show("提交成功"); } } }
public void _Test_UK007_DNT() { this.GenerateReportOuputDir(); #region 31.3.2017Valuation - DefsAndPens pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "31.3.2017Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", ""); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("2DPayoutProjection", "True"); dic.Add("GL_FundingLiabilities", ""); dic.Add("Pay", "Actual5050PayPost2014CurrentYear"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); ////////////dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", "BenefitSetShortName"); dic.Add("Intermediate", "Gender"); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "False"); dic.Add("PPFS179", "False"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "AllMembers"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", "$emp.USC<>\"Act\""); dic.Add("Validate", "Click"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Valuation2017_DefsAndPens, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "2D PayoutProjections", "Conversion", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_DefsAndPens, "Liabilities Detailed Results with Ben Type splits", "Conversion", false, true); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("UK007DNT", sOutputFunding_Valuation2017_DefsAndPens_Prod, sOutputFunding_Valuation2017_DefsAndPens); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputFunding_Valuation2017_DefsAndPens"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultswithBenTypesplits.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("2DPayoutProjections.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_Funding.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResultswithBenTypesplits.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region 31.3.2017Valuation - Active Males pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", ""); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("2DPayoutProjection", "True"); dic.Add("GL_FundingLiabilities", ""); dic.Add("Pay", "Actual5050PayPost2014CurrentYear"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); //////////dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", "BenefitSetShortName"); dic.Add("Intermediate", "Gender"); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "False"); dic.Add("PPFS179", "False"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "AllMembers"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", "$emp.USC<>\"Act\"and $emp.Gender=\"M\""); dic.Add("Validate", "Click"); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("31.3.2017Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "2D PayoutProjections", "Conversion", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputFunding_Valuation2017_ActiveMales, "Liabilities Detailed Results with Ben Type splits", "Conversion", false, true); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("UK007DNT", sOutputFunding_Valuation2017_ActiveMales_Prod, sOutputFunding_Valuation2017_ActiveMales); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputFunding_Valuation2017_ActiveMales"); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("2DPayoutProjections.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_Funding.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResultswithBenTypesplits.xlsx", 4, 0, 0, 0, true); } #endregion }
public void test_US001_RB() { this.GenerateReportOuputDir(); #region sOutputBaseline pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "PIA_1"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "CustomDeath"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(sOutputBaseline, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputBaseline, "Liability Summary", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputBaseline, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputBaseline, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(sOutputBaseline, "Test Case List", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputBaseline, "Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputBaseline, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Payout Projection", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(sOutputBaseline, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputBaseline, "Liability Summary", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputBaseline, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputBaseline, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(sOutputBaseline, "Test Case List", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputBaseline, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputBaseline, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputBaseline, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputBaseline, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputBaseline, "Payout Projection", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputUS003 pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "CustomDeath"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(sOutputUS003, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS003, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS003, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS003, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS003, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputUS003, "Liabilities Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_SubReports(sOutputUS003, "Reconciliation to Baseline", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputUS003, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS003, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS003, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS003, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS003, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS003, "Liabilities Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS003, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS003, "Reconciliation to Baseline by Plan Def", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputUS004 pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "CustomDeath"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(sOutputUS004, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS004, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS004, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS004, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS004, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputUS004, "Liabilities Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_SubReports(sOutputUS004, "Reconciliation to Baseline", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputUS004, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS004, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS004, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS004, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS004, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS004, "Liabilities Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS004, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS004, "Reconciliation to Baseline by Plan Def", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputUS002 pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "CustomDeath"); dic.Add("Pension", "#1#"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("PIA_1"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "4"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(sOutputUS002, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS002, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS002, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS002, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputUS002, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_Common(sOutputUS002, "Liabilities Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_SubReports(sOutputUS002, "Reconciliation to Baseline", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(sOutputUS002, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS002, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS002, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputUS002, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS002, "Liabilities Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common(sOutputUS002, "Liabilities Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS002, "Reconciliation to Baseline", "Conversion", false, true); pOutputManager._ExportReport_SubReports(sOutputUS002, "Reconciliation to Baseline by Plan Def", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("PIA_1"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_MDDS() { _gLibWeb._KillAllBrowsers(); _gLibWeb._LaunchURL(this.sURL); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Username", "June-Jia"); dic.Add("Password", ""); dic.Add("Login", "Click"); pLogin._PopVerify_Login(dic); _gLibWeb._Navigate("Administration", true); _gLibWeb._Navigate("User", false); _gLibWeb._Navigate("Internal", true); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddUser", "Click"); dic.Add("RemoveUser", ""); dic.Add("ModifyUser", ""); pInternal._PopVerify_Internal(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("LastName", "Haskins"); dic.Add("FirstName", "Michelle"); dic.Add("Search", "Click"); dic.Add("Submit", ""); pInternal_Step1._PopVerify_Internal_Step1(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("iRow", "2"); dic.Add("iCol", "1"); dic.Add("sData", "Haskins, Michelle"); dic.Add("ClickCell", "Click"); pInternal_Step1._PopVerify_SearchResults(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("LastName", ""); dic.Add("FirstName", ""); dic.Add("Search", ""); dic.Add("Submit", "Click"); pInternal_Step1._PopVerify_Internal_Step1(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("TeamAssignment", "Client Solutions"); dic.Add("Check", "True"); dic.Add("Submit", "Click"); pInternal_Step2._PopVerify_Internal_Step2(dic); _gLibWeb._Navigate("External", true); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddUser", "Click"); dic.Add("RemoveUser", ""); dic.Add("ModifyUser", ""); pExternal._PopVerify_External(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("FirstName", "Haskins"); dic.Add("LastName", "Michelle"); dic.Add("EmailAddress", "*****@*****.**"); dic.Add("CompanyName", "Mercer"); dic.Add("ClientsPlans", "Isuzu North America Corporation > Retirement Trust"); dic.Add("ClientsPlans_Check", "True"); dic.Add("Submit", "Click"); pExternal._PopVerify_External_Step2(dic); _gLibWeb._NavigateByID("Logout", false); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("Username", "shazma-butt"); dic.Add("Password", ""); dic.Add("Login", "Click"); pLogin._PopVerify_Login(dic); _gLibWeb._Navigate("Administration", true); _gLibWeb._Navigate("User", false); _gLibWeb._Navigate("External", true); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("sRow", "Haskins Michelle"); dic.Add("iCol", "1"); dic.Add("sData", "Haskins Michelle"); dic.Add("ClickCell", "Click"); pExternal._PopVerify_ExternalUsersTBL(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddUser", ""); dic.Add("RemoveUser", ""); dic.Add("ModifyUser", "Click"); pExternal._PopVerify_External(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ApproveReject", "Click"); dic.Add("ApproveWindow_Approve", "Click"); dic.Add("ApproveWindow_Reject", ""); dic.Add("ApprovePendingItem_OK", "Click"); pExternal._PopVerify_ModifyExternalUser(dic); _gLibWeb._Navigate("Internal", true); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("sRow", "michelle-haskins"); dic.Add("iCol", "1"); dic.Add("sData", "michelle-haskins"); dic.Add("ClickCell", "Click"); pInternal._PopVerify_InternalUsersTBL(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddUser", ""); dic.Add("RemoveUser", "Click"); dic.Add("ModifyUser", ""); pInternal._PopVerify_Internal(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pInternal._PopVerify_ConfirmUserRemove(dic); _gLibWeb._Navigate("External", true); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("sRow", "Haskins Michelle"); dic.Add("iCol", "1"); dic.Add("sData", "Haskins Michelle"); dic.Add("ClickCell", "Click"); pExternal._PopVerify_ExternalUsersTBL(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddUser", ""); dic.Add("RemoveUser", "Click"); dic.Add("ModifyUser", ""); pExternal._PopVerify_External(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pExternal._PopVerify_ConfirmUserRemove(dic); _gLibWeb._NavigateByID("Logout", false); Environment.Exit(1); }
private void 注册完成button_Click(object sender, EventArgs e) { string uGender = ""; if (uIdTb.Text.Trim().Length < 6) { MessageBox.Show("账号长度应该大于6"); } else if (uPwdTb.Text.Trim().Length < 6) { MessageBox.Show("密码长度应该大于6"); } else if (uNameTb.Text.Trim().Length < 2 || uNameTb.Text.Trim().Length > 15) { MessageBox.Show("姓名长度应该大于1并且小于等于15"); } else if (注册rBtn男.Checked == false && 注册rBtn女.Checked == false) { MessageBox.Show("请选择性别"); } else if (Regex.IsMatch(uPhoNumTb.Text.Trim(), @"^1\d{10}$") != true && Regex.IsMatch(uPhoNumTb.Text.Trim(), @"^(\d{3,4}-)?\d{6,8}$") != true) { MessageBox.Show("请输入合法的手机号码或电话号码"); } else { // 判断判断账号是否存在 if (SqlHelper.IsUserExists(uIdTb.Text.Trim())) { MessageBox.Show("账号已存在", "操作失败"); return; } if (注册rBtn男.Checked == true) { uGender = "男"; } else { uGender = "女"; } // 添加新用户 string sql = "insert into users(uId,uPwd,uName,uGender,uPhoNum,uBan) values(@id,@pwd,@name,@gender,@phonum,'0')"; MyDictionary dic = new MyDictionary(); dic.Add("@id", uIdTb.Text.Trim()); dic.Add("@pwd", uPwdTb.Text.Trim()); dic.Add("@name", uNameTb.Text.Trim()); dic.Add("@gender", uGender); dic.Add("@phonum", uPhoNumTb.Text.Trim()); int i = SqlHelper.ExecuteNonQuery(sql, dic); if (i == 1) { MessageBox.Show("成功注册新用户"); this.Close(); } else { MessageBox.Show("操作失败,请联系管理员"); } } }
public void test_DE005_CN() { this.GenerateReportOuputDir(); ////////// Pension RF Valuation - Stichtag 2010 #region Create Service and Import Data pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "PensionValuations"); pMain._HomeTreeViewSelect(0, dic); _gLib._MsgBox("", "please delete RollForward Service first"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", "Click"); dic.Add("ServiceToOpen", ""); pMain._PopVerify_Home_RightPane(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ConversionService", ""); dic.Add("Name", "Stichtag 2010"); dic.Add("Parent", "Conversion2009"); dic.Add("ParentFinalValuationSet", ""); dic.Add("PlanYearBeginningIn", ""); dic.Add("FiscalYearEndingIn_Accounting", ""); dic.Add("FirstYearPlanUnderPPA", ""); dic.Add("PlanYearEndingIn_DE", "2010"); dic.Add("RSC", ""); dic.Add("LocalMarket", ""); dic.Add("Shared", "True"); dic.Add("SelectAllVO", "Click"); dic.Add("DeselectAll", ""); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pMain._PopVerify_Home_ServicePropeties(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Stichtag 2010"); dic.Add("CheckPopup", "False"); pMain._PopVerify_Home_RightPane(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Roll Forward"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ValNodeName", ""); dic.Add("LiabilityValuationDate", ""); dic.Add("Data_AddNew", "True"); dic.Add("Data_Name", ""); dic.Add("Data_Edit", ""); dic.Add("Assumptions_AddNew", "True"); dic.Add("Assumptions_Name", ""); dic.Add("Assumptions_Edit", ""); dic.Add("MethodsLiabilities_AddNew", "True"); dic.Add("MethodsLiabilities_Name", ""); dic.Add("MethodsLiabilities_Edit", ""); dic.Add("Provisions_AddNew", "True"); dic.Add("Provisions_Name", ""); dic.Add("Provisions_Edit", ""); dic.Add("FundingInformation_AddNew", ""); dic.Add("FundingInformation_Name", ""); dic.Add("FundingInformation_Edit", ""); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pMain._PopVerify_ValuationNodeProperties(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Data"); dic.Add("MenuItem_2", "Edit Parameters"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Participant DataSet"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("DataEffectiveDate", ""); dic.Add("Snapshot", ""); dic.Add("GRSUnload", ""); dic.Add("GotoDataSystem", "Click"); dic.Add("AddField", ""); dic.Add("GRSInformation", ""); dic.Add("ImportDataandApplyMapping", ""); pParticipantDataSet._PopVerify_ParticipantDataSet(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("SnapshotName", "Unload 2010"); dic.Add("OK", "Click"); dic.Add("RetainThePreviousUnload", ""); dic.Add("SpecifyANewSnapshotRetainingPrevious", "True"); dic.Add("SpecifyANewSnapshotRevertingAllFields", ""); dic.Add("SpecifyANewUnload", ""); dic.Add("SelectSnapshotOption_OK", "Click"); pParticipantDataSet._PopVerify_SelectSnapshotDefinition(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("DataEffectiveDate", ""); dic.Add("Snapshot", ""); dic.Add("GRSUnload", ""); dic.Add("GotoDataSystem", ""); dic.Add("AddField", ""); dic.Add("GRSInformation", ""); dic.Add("ImportDataandApplyMapping", "Click"); pParticipantDataSet._PopVerify_ParticipantDataSet(dic); pMain._SelectTab("Participant DataSet"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Assumptions pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Assumptions"); dic.Add("MenuItem_2", "Edit Parameters"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Assumptions"); pMain._SelectTab("Trade"); _gLib._Wait(1); dic.Clear(); dic.Add("Level_1", "Assumptions"); dic.Add("Level_2", "Interest Rate"); dic.Add("Level_3", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PrescribedRates", ""); dic.Add("SameStructureForAllPeriods", ""); dic.Add("TimeBased", ""); dic.Add("PercentIcon", ""); dic.Add("TIcon", ""); dic.Add("txtRate", "5,15"); dic.Add("cboRate", ""); pInterestRate._PopVerify_SameStructureForAllPeriods(dic); pMain._SelectTab("IntAccounting"); _gLib._Wait(1); dic.Clear(); dic.Add("Level_1", "Assumptions"); dic.Add("Level_2", "Interest Rate"); dic.Add("Level_3", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PrescribedRates", ""); dic.Add("SameStructureForAllPeriods", ""); dic.Add("TimeBased", ""); dic.Add("PercentIcon", ""); dic.Add("TIcon", ""); dic.Add("txtRate", "5,1"); dic.Add("cboRate", ""); pInterestRate._PopVerify_SameStructureForAllPeriods(dic); pMain._Home_ToolbarClick_Top(true); #endregion #region Provisions pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Provisions"); dic.Add("MenuItem_2", "Edit Parameters"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Provisions"); dic.Clear(); dic.Add("Level_1", "Pension"); dic.Add("Level_2", "Flex"); dic.Add("Level_3", "Benefit Definition"); dic.Add("Level_4", "Plan Definition"); dic.Add("Level_5", "Pensioners"); dic.Add("Level_6", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ParticipantType", ""); dic.Add("SingleFormulaOrBenefit_cbo", ""); dic.Add("Function", ""); dic.Add("Validate", ""); dic.Add("BenefitCommencementAge_V", "Click"); dic.Add("BenefitCommencementAge_C", ""); dic.Add("BenefitStopAge_V", ""); dic.Add("BenefitStopAge_C", ""); dic.Add("FirstStartAge_V", ""); dic.Add("FirstStartAge_C", ""); dic.Add("LastStartAge_V", ""); dic.Add("LastStartAge_C", ""); dic.Add("NumberOfPayments_V", ""); dic.Add("NumberOfPayments_C", ""); dic.Add("MaximumNumberOfPayments_V", ""); dic.Add("MaximumNumberOfPayments_C", ""); dic.Add("BenefitCommencementAge_cbo", "StartDate1"); dic.Add("BenefitCommencementAge_txt", ""); dic.Add("BenefitStopAge_cbo", ""); dic.Add("BenefitStopAge_txt", ""); dic.Add("FirstStartAge_cbo", ""); dic.Add("FirstStartAge_txt", ""); dic.Add("LastStartAge_cbo", ""); dic.Add("LastStartAge_txt", ""); dic.Add("NumberOfPayments_cbo", ""); dic.Add("NumberOfPayments_txt", ""); dic.Add("MaximumNumberOfPayments_cbo", ""); dic.Add("MaximumNumberOfPayments_txt", ""); dic.Add("Eligibility", ""); dic.Add("VestedRatio", ""); dic.Add("CostOfLivingAdjustment", ""); dic.Add("EarlyRetirement", ""); dic.Add("LateRetirement", ""); dic.Add("Adjustment", ""); dic.Add("Conversion", ""); dic.Add("FormOfPayment", "FOP_StraightLife"); dic.Add("BenefitElectionPercentage", ""); dic.Add("Decrement", ""); dic.Add("ExcludePercentMarried", ""); pPlanDefinition_DE._PopVerify_PlanDefinition_DE_Pension(dic); pMain._Home_ToolbarClick_Top(true); #endregion #region Test Cases pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Test Case"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Test Case Library"); dic.Clear(); dic.Add("SelectionCriteria", "$emp.BirthDate=\"12.11.1960\""); dic.Add("iResultRow", "1"); pTestCaseLibrary._AddTestCase(dic); dic.Clear(); dic.Add("SelectionCriteria", "$emp.BirthDate=\"05.02.1969\""); dic.Add("iResultRow", "1"); pTestCaseLibrary._AddTestCase(dic); dic.Clear(); dic.Add("SelectionCriteria", "$emp.BirthDate=\"12.25.1961\""); dic.Add("iResultRow", "1"); pTestCaseLibrary._AddTestCase(dic); pMain._Home_ToolbarClick_Top(true); #endregion #region ActuarialReport //////////// Neeed be update after FCs create ////pMain._SelectTab("Stichtag 2010"); ////dic.Clear(); ////dic.Add("iMaxRowNum", ""); ////dic.Add("iMaxColNum", ""); ////dic.Add("iSelectRowNum", "2"); ////dic.Add("iSelectColNum", "1"); ////dic.Add("MenuItem_1", "Actuarial Report"); ////dic.Add("MenuItem_2", "Edit Parameters"); ////pMain._FlowTreeRightSelect(dic); ////pActuarialReport._SelectTab("General"); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("ShowLYLiabilitiesInLastYear", ""); ////dic.Add("MecerLocation", "Stuttgart"); ////dic.Add("NameToBePrintedOnReportLeft", "Lars Erpenbach"); ////dic.Add("AcademicTitleOfPersonLeft", "Diplom-Wirtschaftsmathematiker"); ////dic.Add("NameToBePrintedOnReportRight", "Stefan Heinzmann"); ////dic.Add("AcademicTitleOfPersonRight", "Diplom-Wirtschaftsmathematiker"); ////dic.Add("ExtensionOfUndersigningPersonRight", "+49 711 23716 0"); ////dic.Add("LocationOfUndersigningPersonRight", "Stuttgart"); ////dic.Add("IndividualTermsAndConditions", ""); ////dic.Add("DoNotAttachTermsAndConditions", "true"); ////pActuarialReport._General(dic); ////pActuarialReport._SelectTab("Subsidiary Information"); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("ClientLongName", "true"); ////dic.Add("ClientLongName_txt", "Aegis Media Gruppe"); ////dic.Add("ClientShortName", "true"); ////dic.Add("ClientShortName_txt", "Aegis Media Gruppe"); ////dic.Add("ClientCode", "QADE005E"); ////dic.Add("AddressLine1", "true"); ////dic.Add("AddressLine1_txt", "Kreuzberger Ring 19"); ////dic.Add("AddressLine2", ""); ////dic.Add("AddressLine2_txt", ""); ////dic.Add("City", "true"); ////dic.Add("City_txt", "Wiesbaden"); ////dic.Add("PostalCode", ""); ////dic.Add("PostalCode_txt", ""); ////dic.Add("Country", "true"); ////dic.Add("Country_txt", "Deutschland"); ////pActuarialReport._SubsidiaryInformation(dic); ////pActuarialReport._SelectTab("Report Contents"); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("Copy", "click"); ////dic.Add("CopyAStandLayout", "true"); ////dic.Add("Template", "DirectPromise_2013"); ////dic.Add("OK", "click"); ////pActuarialReport._ManageIndividualListingLayouts(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("Copy", "click"); ////dic.Add("CopyAStandLayout", "true"); ////dic.Add("Template", "Benchmark_DirProm"); ////dic.Add("OK", "click"); ////pActuarialReport._ManageIndividualListingLayouts(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("iRow", "1"); ////dic.Add("ReportSetName", "Default"); ////dic.Add("ReportType", "Direct Promise"); ////dic.Add("ReportTemplate", "2018_DEDirectPromise"); //// from 2012 to 2015 ////dic.Add("Listing1", "DirectPromise_2013"); ////dic.Add("Listing2", ""); ////pActuarialReport._ReportContents_DefineReportSets(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("iRow", "2"); ////dic.Add("ReportSetName", "IFRS"); ////dic.Add("ReportType", "IFRS"); ////dic.Add("ReportTemplate", "2018_DEIFRSGerman"); ////dic.Add("Listing1", "Benchmark_DirProm"); ////dic.Add("Listing2", ""); ////pActuarialReport._ReportContents_DefineReportSets(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("VOShortName", "Flex"); ////dic.Add("VOZusammenfassung", @"\\mercer.com\US_Data\Shared\Dfl\Data1\RSS\SQA\RETIRE_STUDIO_BENCHMARK_CLIENTS_2\QTP_MasterExecution\QDrive\AUTs\RetirementStudio\DataFile\DE005\Kurzbeschreibung.doc"); ////dic.Add("VOSummary", @"\\mercer.com\US_Data\Shared\Dfl\Data1\RSS\SQA\RETIRE_STUDIO_BENCHMARK_CLIENTS_2\QTP_MasterExecution\QDrive\AUTs\RetirementStudio\DataFile\DE005\Kurzbeschreibung.doc"); ////pActuarialReport._ReportContents_VOSummaries(dic); ////pActuarialReport._SelectTab("Tax and Trade"); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("DirectPromise", "true"); ////dic.Add("SupportFund", "false"); ////dic.Add("NameOfSupportFund", ""); ////dic.Add("NumberOfReports", "1"); ////pActuarialReport._TaxAndTrade(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Subtitle (first page and header)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "Flexible Benefits"); ////dic.Add("sFieldType", "TEXT"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Direct Promise Report Set 1"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "Default"); ////dic.Add("sFieldType", "list"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Run Date"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "07.01.2011"); ////dic.Add("sFieldType", "date"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Run date of last year's report"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "06.01.2010"); ////dic.Add("sFieldType", "date"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Inventory Date"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "31.12.2010"); ////dic.Add("sFieldType", "date"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////////////dic.Clear(); ////////////dic.Add("PopVerify", "Pop"); ////////////dic.Add("InformationByBreak", "Date when BilMoG is first applied"); ////////////dic.Add("iCol", "1"); ////////////dic.Add("sData", "01.01.2010"); ////////////dic.Add("sFieldType", "date"); ////////////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Trade is part of report"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "false"); ////dic.Add("sFieldType", "chx"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Option for describing chosen assumed retirement age (trade)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "Age 65"); ////dic.Add("sFieldType", "LIST"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Option for describing chosen assumed retirement age (tax)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "Age 65"); ////dic.Add("sFieldType", "LIST"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Do not create PSV Coverage Certificate"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "false"); ////dic.Add("sFieldType", "chx"); ////pActuarialReport._TaxAndTrade_TBL(dic, true); ////pActuarialReport._SelectTab("IntAcc"); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Subtitle (first page and header)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "Flexible Benefits"); ////dic.Add("sFieldType", "TEXT"); ////pActuarialReport._IntAcc_TBL(dic); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "IFRS Report Set 1"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "IFRS"); ////dic.Add("sFieldType", "list"); ////pActuarialReport._IntAcc_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Run date"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "07.01.2011"); ////dic.Add("sFieldType", "date"); ////pActuarialReport._IntAcc_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "Interest Rate (100% for automatic)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "5,10%"); ////dic.Add("sFieldType", "txt"); ////pActuarialReport._IntAcc_TBL(dic, true); ////dic.Clear(); ////dic.Add("PopVerify", "Pop"); ////dic.Add("InformationByBreak", "COLA rate (100% for automatic)"); ////dic.Add("iCol", "1"); ////dic.Add("sData", "2,00%"); ////dic.Add("sFieldType", "TEXT"); ////pActuarialReport._IntAcc_TBL(dic, true); ////pMain._Home_ToolbarClick_Top(true); #endregion #region ER & Output Manager pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", "True"); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("SaveResultsforAuditReport", "True"); dic.Add("ApplyOverrides", "True"); dic.Add("RunLocally", ""); dic.Add("Pay", "PP_PayProjection"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("BreakByFundingVehicle", "True"); dic.Add("UseReportBreaks", "True"); dic.Add("AllLiabilityTypes", ""); dic.Add("Tax", "True"); dic.Add("Trade", "True"); dic.Add("InternationalAccountingABO", "True"); dic.Add("InternationalAccountingPBO", "True"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "Flex"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectVOs_VO5", ""); dic.Add("SelectVOs_VO6", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Actuarial Report"); pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Stichtag 2010"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Parameter Summary", "RollForward", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Reconciliation to Prior Year", "RollForward", false, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Reconciliation to Prior Year by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Detailed Results by Plan Def", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Member Statistics", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Individual Checking Template", "RollForward", false, true, 0, new string[1] { "Flex" }); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Valuation Summary", "RollForward", true, true, 0, new string[1] { "DirectPromise" }); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Valuation Summary for Excel Export", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Test Cases", "RollForward", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Payout Projection", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "FAS Expected Benefit Pmts", "RollForward", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Member Statistics", "RollForward", false, true, 0, new string[1] { "DirectPromise" }); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "FAS Expected Benefit Pmts", "RollForward", false, true, 0, new string[1] { "ALL" }); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Liability Set for Globe Export", "RollForward", false, true, 0, new string[1] { "ALL" }); dic.Clear(); dic.Add("Group_ReportBreak", "True"); pOutputManager._ExportReport_Custom_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Payout Projection", "RollForward", false, true, dic); /** * * no need to run * */ ////////////pOutputManager._ExportReport_SubReports_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Direct Promise", "RollForward", true, true, true); ////////////pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "Direct Promise", "RollForward", true, true); ////////////pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sOutputPension_Stichtag2010, "IFRS", "RollForward", true, true); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("DE005CN", sOutputPension_Stichtag2010_Prod, sOutputPension_Stichtag2010); _compareReportsLib._Report(_PassFailStep.Description, "", "sOutputPension_Stichtag2010"); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_Tax.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_Trade.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_IntlAccountingPBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYear_IntlAccountingABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_Tax.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_Trade.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_IntlAccountingPBO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoPriorYearbyPlanDef_IntlAccountingABO.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics_DirectPromise.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("StatusReconciliation.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_MovementAndRollforward_Flex.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_OutlierSummary_Flex.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualCheckingTemplate_CheckingGroupStatistics_Flex.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummaryforExcelExport.xlsx", 0, new int[0, 0] { }, new string[1] { "Tabellenblatt2" }, true); _compareReportsLib.CompareExcel_Exact("ValuationSummaryforExcelExport.xlsx", 0, new int[0, 0] { }, new string[1] { "Tabellenblatt3" }, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary_DirectPromise.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); ////////_compareReportsLib.CompareExcel_Exact("IOE.xlsx", 7, 0, 0, 0 ,true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection_ReportBreak.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("FASExpectedBenefitPmts_ALL.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySetforGlobeExport_ALL.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Stichtag 2010"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void test_US019_DNT() { #region MultiThreads Thread thrd_Funding2017 = new Thread(() => new US019_DNT().t_CompareRpt_Funding2017(sFunding2017)); Thread thrd_Funding2018_FutureValRun = new Thread(() => new US019_DNT().t_CompareRpt_Funding2018_FutureValRun(sFunding2018_FutureValRun)); Thread thrd_Accounting2017 = new Thread(() => new US019_DNT().t_CompareRpt_Accounting2017(sAccounting2017)); #endregion this.GenerateReportOuputDir(); #region 1.1.2017 Funding Valuation dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "1.1.2017 Funding Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("1.1.2017 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "N/A"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", "DivisionCode"); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("1.1.2017 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Population Projection"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Proj"); pMain._SelectTab("1.1.2017 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "N/A"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", "True"); dic.Add("PPANotAtRiskLiabilityForMinimum", "true"); dic.Add("PPANotAtRiskLiabilityForMaximum", "true"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", ""); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("1.1.2017 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Liab"); pMain._SelectTab("1.1.2017 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sFunding2017, "Liability Summary", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sFunding2017, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Test Case List", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Detailed Results by Plan Def", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2017, "Payout Projection", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Future Valuation Population Projection", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Future Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Future Valuation Liabilities by Group", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2017, "Future Valuation Liabilities by Year", "Conversion", false, true); pOutputManager._ExportReport_FVPayouts_PDF_EXCEL(Config.eCountry, sFunding2017, "Conversion", false, true); thrd_Funding2017.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("1.1.2017 Funding Valuation"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region 1.1.2018 Funding Valuation - Future Val Run node dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "1.1.2018 Funding Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("1.1.2018 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Population Projection"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Proj"); pMain._SelectTab("1.1.2018 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "N/A"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", "True"); dic.Add("PPANotAtRiskLiabilityForMinimum", "true"); dic.Add("PPANotAtRiskLiabilityForMaximum", "true"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", ""); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("1.1.2018 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Liab"); pMain._SelectTab("1.1.2018 Funding Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding2018_FutureValRun, "Future Valuation Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2018_FutureValRun, "Future Valuation Population Projection", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2018_FutureValRun, "Future Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2018_FutureValRun, "Future Valuation Liabilities by Group", "RollForward", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding2018_FutureValRun, "Future Valuation Liabilities by Year", "RollForward", false, true); pOutputManager._ExportReport_FVPayouts_PDF_EXCEL(Config.eCountry, sFunding2018_FutureValRun, "RollForward", false, true); thrd_Funding2018_FutureValRun.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("1.1.2018 Funding Valuation"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region 1.1.2017 Accounting Valuation pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "1.1.2017 Accounting Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("1.1.2017 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Population Projection"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Proj"); pMain._SelectTab("1.1.2017 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "N/A"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", "True"); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PPANotAtRiskLiabilityForMinimum", ""); dic.Add("PPANotAtRiskLiabilityForMaximum", ""); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", ""); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("1.1.2017 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Liab"); pMain._SelectTab("1.1.2017 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting2017, "Future Valuation Parameter Print", "Conversion", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2017, "Future Valuation Population Projection", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2017, "Future Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2017, "Future Valuation Liabilities by Group", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2017, "Future Valuation Liabilities by Year", "Conversion", false, false); pOutputManager._ExportReport_FVPayouts_PDF_EXCEL(Config.eCountry, sAccounting2017, "Conversion", false, false); thrd_Accounting2017.Start(); pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("1.1.2017 Accounting Valuation"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region 1.1.2018 Accounting Valuation pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "1.1.2018 Accounting Valuation"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("1.1.2018 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Population Projection"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("IAgreeToUnlock", "True"); dic.Add("OK", "Click"); pMain._PopVerify_CascadingUnlock(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Proj"); pMain._SelectTab("1.1.2018 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Future Valuation Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", ""); dic.Add("IncludeIOE", ""); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", ""); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "N/A"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "AccruedBenefit1"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("PPANotAtRiskLiabilityForMinimum", ""); dic.Add("PPANotAtRiskLiabilityForMaximum", ""); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", ""); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", ""); dic.Add("FAS35PresentValueOfAccumulatedBenefits", ""); dic.Add("FAS35PresentValueOfVestedBenefits", ""); dic.Add("PPAAtRiskLiabilityForMinimum", ""); dic.Add("PPAAtRiskLiabilityForMaximum", ""); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", ""); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", ""); dic.Add("EntryAgeNormal", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("1.1.2018 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true, "FV Liab"); pMain._SelectTab("1.1.2018 Accounting Valuation"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting2018_FutureValRun, "Future Valuation Parameter Print", "RollForward", true, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2018_FutureValRun, "Future Valuation Population Projection", "RollForward", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2018_FutureValRun, "Future Valuation Summary", "RollForward", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2018_FutureValRun, "Future Valuation Liabilities by Group", "RollForward", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting2018_FutureValRun, "Future Valuation Liabilities by Year", "RollForward", false, false); pOutputManager._ExportReport_FVPayouts_PDF_EXCEL(Config.eCountry, sAccounting2018_FutureValRun, "RollForward", false, false); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("US019DNT", sAccounting2018_FutureValRun_Prod, sAccounting2018_FutureValRun); _compareReportsLib._Report(_PassFailStep.Description, "", "sAccounting2018_FutureValRun"); _compareReportsLib.CompareExcel_Exact("FutureValuationPopulationProjection.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationSummary.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2018.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2019.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2020.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2021.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2022.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2023.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2024.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2025.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2026.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2027.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2028.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2033.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationPayouts_2038.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationLiabilitiesbyGroup.xlsx", 4, 0, 0, 0); _compareReportsLib.CompareExcel_Exact("FutureValuationLiabilitiesbyYear.xlsx", 4, 0, 0, 0); } #endregion _gLib._MsgBox("Congratulations!", "Finnally, you are done with US019!"); }
public void Test_BR001_DNT() { #region MultiThreads Thread thrd_Accounting2015 = new Thread(() => new _BR001_DNT().t_CompareRpt_Accounting2015(sAccounting_Accounting2015)); #endregion this.GenerateReportOuputDir(); #region Accounting - 31.12.2015 Accounting pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "31.12.2015 Accounting"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("31.12.2015 Accounting"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "ServiceFromHire"); dic.Add("Pay", "SalaryProjection"); dic.Add("CurrentYear", "True"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "AdditionalAccountBalance"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("Acc_ProjectedBenefitObligation", "True"); dic.Add("Acc_AccumulatedBenefitObligation", "True"); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("31.12.2015 Accounting"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sAccounting_Accounting2015, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Common(sAccounting_Accounting2015, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting_Accounting2015, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sAccounting_Accounting2015, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting_Accounting2015, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sAccounting_Accounting2015, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting_Accounting2015, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting_Accounting2015, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting_Accounting2015, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting_Accounting2015, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting_Accounting2015, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting_Accounting2015, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sAccounting_Accounting2015, "Payout Projection", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sAccounting_Accounting2015, "FAS Expected Benefit Pmts", "Conversion", false, false); thrd_Accounting2015.Start(); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region Funding - Funding 31.12.2015 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Funding 31.12.2015"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Funding 31.12.2015"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "ServiceFromHire"); dic.Add("Pay", "SalaryProjection"); dic.Add("CurrentYear", "Click"); dic.Add("PriorYear", ""); dic.Add("CashBanlance", "AdditionalAccountBalance"); dic.Add("Pension", "Benefit1DB"); dic.Add("AllLiabilityTypes", ""); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); dic.Add("OK", ""); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Funding 31.12.2015"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Funding 31.12.2015"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others_PDF_EXCEL(Config.eCountry, sFunding_Funding2015, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding_Funding2015, "Valuation Summary", "Conversion", true, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding_Funding2015, "Liability Summary", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sFunding_Funding2015, "Liability Summary", "Conversion", false, false, 0); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding_Funding2015, "Member Statistics", "Conversion", false, false); pOutputManager._ExportReport_DrillDown_PDF_EXCEL(sFunding_Funding2015, "Conversion Diagnostic", "Conversion", false, false, 0); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding_Funding2015, "Conversion Diagnostic", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding_Funding2015, "Test Case List", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding_Funding2015, "Detailed Results", "Conversion", false, false); pOutputManager._ExportReport_Common_PDF_EXCEL(sFunding_Funding2015, "Detailed Results by Plan Def", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding_Funding2015, "Individual Output", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding_Funding2015, "IOE", "Conversion", false, false); pOutputManager._ExportReport_Others_PDF_EXCEL(sFunding_Funding2015, "Payout Projection", "Conversion", false, false); if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("BR001DNT", sFunding_Funding2015_Prod, sFunding_Funding2015); _compareReportsLib._Report(_PassFailStep.Description, "", "sFunding_Funding2015"); _compareReportsLib.CompareExcel_Exact("LiabilitySummary.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_ActiveMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_DeferredMembers.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitySummary_Pensioners.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("MemberStatistics.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByNone.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByStatusCodes.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ConversionDiagnostic_GroupByCustom_Gender.xlsx", 4, 0, 0, 0, true); //// _compareReportsLib.CompareExcel_Exact("TestCaseList.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("DetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); ////_compareReportsLib.CompareExcel_Exact("IOE.xlsx", 7, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Funding 31.12.2015"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Parameter Print"); pMain._FlowTreeRightSelect(dic); pOutputManager._ParameterPrint_Standalone(sFunding_Funding2015); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("", "Finished!"); }
public void test_UK_Timing_AddValuationNode() { #region Initialize Codes _gLib._StudioClearCache(); pMain._SetLanguageAndRegional(); /////////////// Below are necessary testing codes to make sure memory/time info can be successfully get/set into right cell. mLog.LogInfo(Convert.ToInt32(dicResultIndex["iTimeStart"]), MyPerformanceCounter.Memory_Private); mLog.LogInfo(Convert.ToInt32(dicResultIndex["iTimeStart"]), DateTime.Now.ToString()); ////////_gLib._MsgBox("Reminder!", "Please go to the timing log file to check if the results logged into expected cell!"); //////////////////_gLib._MsgBox("Warning!", "Please manually select the Client in Studio-> Home -> All Services -> " ////////////////// + Config.sClientName + Environment.NewLine + Environment.NewLine + "Click OK to keep testing!"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); pMain._SelectTab("Home"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Valuation2012"); pMain._PopVerify_Home_RightPane(dic); #endregion for (int i = 1; i <= 10; i++) { mTime.StartTimer(); pMain._SelectTab("Valuation2012"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", ""); dic.Add("iSelectColNum", ""); dic.Add("iPosX", dicPosition["X_" + i.ToString()]); dic.Add("iPosY", dicPosition["Y_" + i.ToString()]); dic.Add("MenuItem_1", "Add Valuation Node"); dic.Add("MenuItem_2", ""); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("Object", "Main.ValNodeProperties"); dic.Add("optiTimeout", ""); pMain._ObjectExist(dic); mTime.StopTimer(Convert.ToInt32(dicResultIndex["iLaunchNodeProperty_" + i.ToString()])); mLog.LogInfo(Convert.ToInt32(dicResultIndex["iLaunchNodeProperty_" + i.ToString()]), MyPerformanceCounter.Memory_Private); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ValNodeName", "Node00" + i.ToString()); dic.Add("LiabilityValuationDate", ""); dic.Add("Data_AddNew", "True"); dic.Add("Data_Name", ""); dic.Add("Data_Edit", ""); dic.Add("Assumptions_AddNew", "True"); dic.Add("Assumptions_Name", ""); dic.Add("Assumptions_Edit", ""); dic.Add("MethodsLiabilities_AddNew", "True"); dic.Add("MethodsLiabilities_Name", ""); dic.Add("MethodsLiabilities_Edit", ""); dic.Add("Provisions_AddNew", "True"); dic.Add("Provisions_Name", ""); dic.Add("Provisions_Edit", ""); dic.Add("FundingInformation_AddNew", ""); dic.Add("FundingInformation_Name", ""); dic.Add("FundingInformation_Edit", ""); dic.Add("OK", ""); dic.Add("Cancel", ""); pMain._PopVerify_ValuationNodeProperties(dic); mTime.StartTimer(); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pMain._PopVerify_ValuationNodeProperties(dic); pMain._SelectTab("Valuation2012"); mTime.StopTimer(Convert.ToInt32(dicResultIndex["iAddNodeSuccess_" + i.ToString()])); mLog.LogInfo(Convert.ToInt32(dicResultIndex["iAddNodeSuccess_" + i.ToString()]), MyPerformanceCounter.Memory_Private); } pMain._SelectTab("Valuation2012"); pMain._Home_ToolbarClick_Top(false); mLog.LogInfo(Convert.ToInt32(dicResultIndex["iTimeEnd"]), DateTime.Now.ToString()); _gLib._MsgBox("Congratulations!", "Finished!"); Environment.Exit(0); }
public void test_UK006_RB() { this.GenerateReportOuputDir(); #region sOutputFunding_Conversion pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Conversion"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "True"); dic.Add("PPFS179", "True"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Conversion"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Test Cases", "Conversion", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Conversion, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Conversion, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Conversion, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Individual Output", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Conversion, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputFunding_Conversion, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Conversion, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Conversion, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Payout Projection - Benefit Cashflows", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Conversion, "Payout Projection - Other Info", "Conversion", false, true); } pMain._SelectTab("Conversion"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputFunding_Valuation2009_Baseline pMain._SelectTab("Home"); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Valuation 2009"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "False"); dic.Add("AltFunding2", "False"); dic.Add("AltFunding3", "False"); dic.Add("Solvency", "True"); dic.Add("PPFS179", "True"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "2"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Test Cases", "RollForward", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Data Matching Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Combined Status Code Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Status Reconciliation", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Member Statistics", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Individual Checking Template", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Age Service Matrix", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Individual Output", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Data Matching Summary", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Combined Status Code Summary", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Reconciliation to Prior Year", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Detailed Results with Ben Type splits", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Status Reconciliation", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Member Statistics", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Individual Checking Template", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Age Service Matrix", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Payout Projection - Benefit Cashflows", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_Baseline, "Payout Projection - Other Info", "RollForward", false, true); } pMain._SelectTab("Valuation 2009"); pMain._Home_ToolbarClick_Top(true); #endregion #region sOutputFunding_Valuation2009_WithAltFunding pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", "True"); dic.Add("AltFunding1", "True"); dic.Add("AltFunding2", "True"); dic.Add("AltFunding3", "True"); dic.Add("Solvency", "False"); dic.Add("PPFS179", "False"); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Valuation 2009"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Parameter Print", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Test Cases", "RollForward", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Data Matching Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Combined Status Code Summary", "RollForward", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Valuation Summary", "RollForward", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Individual Output", "RollForward", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Data Matching Summary", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Combined Status Code Summary", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liability Scenario", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Valuation Summary", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Individual Output", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "IOE", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Payout Projection - Benefit Cashflows", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Payout Projection - Other Info", "RollForward", false, true); pOutputManager._ExportReport_SubReports(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Reconciliation to Baseline", "RollForward", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liabilities Detailed Results", "RollForward", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputFunding_Valuation2009_WithAltFunding, "Liabilities Detailed Results with Ben Type splits", "RollForward", false, true); } pMain._SelectTab("Valuation 2009"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion #region sOutputAccounting_Accounting2008 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Country", Config.eCountry.ToString()); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "AccountingValuations"); pMain._HomeTreeViewSelect_Favorites(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "Accounting2008"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Run"); dic.Add("MenuItem_2", "Liabilities"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("PayoutProjection", "True"); dic.Add("ApplyWithdrawalAdjustment", ""); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("Pay", "Actual_Capped_PayProjection"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("PayoutProjectionCustomGroup", "#1#"); dic.Add("Major", ""); dic.Add("Intermediate", ""); dic.Add("Minor", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("Funding", ""); dic.Add("AltFunding1", ""); dic.Add("AltFunding2", ""); dic.Add("AltFunding3", ""); dic.Add("Solvency", ""); dic.Add("PPFS179", ""); dic.Add("SelectVOs_AllVOs", ""); dic.Add("SelectVOs_VO1", "All Benefit Sets"); dic.Add("SelectVOs_VO2", ""); dic.Add("SelectVOs_VO3", ""); dic.Add("SelectVOs_VO4", ""); dic.Add("SelectRecords", ""); dic.Add("Validate", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Run Status"); pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "View Output"); pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Parameter Print", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Test Cases", "Conversion", true, true); if (Config.bDownloadReports_PDF) { pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Member Statistics", "Conversion", true, true); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", true, true, 0); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Payout Projection", "Conversion", true, true); } if (Config.bDownloadReports_EXCEL) { pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Liability Summary", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Member Statistics", "Conversion", false, true); pOutputManager._ExportReport_DrillDown(sOutputAccounting_Accounting2008, "Conversion Diagnostic", "Conversion", false, true, 0); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Detailed Results", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Detailed Results with Ben Type splits", "Conversion", false, true); pOutputManager._ExportReport_Common(Config.eCountry, sOutputAccounting_Accounting2008, "Valuation Summary", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "Individual Output", "Conversion", false, true); pOutputManager._ExportReport_Others(Config.eCountry, sOutputAccounting_Accounting2008, "IOE", "Conversion", false, true); pOutputManager._ExportReport_Others(sOutputAccounting_Accounting2008, "Payout Projection", "Conversion", false, true); } pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); pMain._SelectTab("Accounting2008"); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "1"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Parameter Print"); pMain._FlowTreeRightSelect(dic); pOutputManager._ParameterPrint_Standalone(sOutputAccounting_Accounting2008); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); #endregion _gLib._MsgBox("Congratulations!", "Finished!"); }
public void _test_US001_CN() { sOutputUS002 = @"\\mercer.com\US_Data\Shared\Dfl\Data1\RSS\SQA\RETIRE_STUDIO_BENCHMARK REPORTS\QA_BM_001_Saks_PIA_1_ReduceBen\Create New\PIA_1\US002\"; string sNewNode_US002 = "US 002-" + _gLib._ReturnDateStampYYYYMMDD(); //this.GenerateReportOuputDir(); #region Add PIA_1 US 002 pMain._SelectTab("Home"); dic.Clear(); dic.Add("Level_1", Config.sClientName); dic.Add("Level_2", Config.sPlanName); dic.Add("Level_3", "FundingValuations"); pMain._HomeTreeViewSelect(0, dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("AddServiceInstance", ""); dic.Add("ServiceToOpen", "PIA_1"); dic.Add("CheckPopup", "False"); pMain._PopVerify_Home_RightPane(dic); pMain._SelectTab("PIA_1"); ////////////////////_gLib._MsgBoxYesNo("", "Right select \"Add Valuation Node\" on Node \"US 004\""); dic.Clear(); dic.Add("iMaxRowNum", ""); dic.Add("iMaxColNum", ""); dic.Add("iSelectRowNum", "3"); dic.Add("iSelectColNum", "1"); dic.Add("MenuItem_1", "Add Valuation Node"); pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("ValNodeName", sNewNode_US002); dic.Add("LiabilityValuationDate", ""); dic.Add("Data_AddNew", ""); dic.Add("Data_Name", ""); dic.Add("Data_Edit", ""); dic.Add("Assumptions_AddNew", ""); dic.Add("Assumptions_Name", ""); dic.Add("Assumptions_Edit", ""); dic.Add("MethodsLiabilities_AddNew", ""); dic.Add("MethodsLiabilities_Name", ""); dic.Add("MethodsLiabilities_Edit", ""); dic.Add("Provisions_AddNew", "True"); dic.Add("Provisions_Name", "US 002 Provisions-" + _gLib._ReturnDateStampYYYYMMDD()); dic.Add("Provisions_Edit", ""); dic.Add("FundingInformation_AddNew", ""); dic.Add("FundingInformation_Name", ""); dic.Add("FundingInformation_Edit", ""); dic.Add("OK", "Click"); dic.Add("Cancel", ""); pMain._PopVerify_ValuationNodeProperties(dic); _gLib._MsgBoxYesNo("", "Right select \"Provisions - Edit Parameters\" on Node " + sNewNode_US002); ////////////////////dic.Clear(); ////////////////////dic.Add("iMaxRowNum", ""); ////////////////////dic.Add("iMaxColNum", ""); ////////////////////dic.Add("iSelectRowNum", "4"); ////////////////////dic.Add("iSelectColNum", "2"); ////////////////////dic.Add("MenuItem_1", "Provisions"); ////////////////////dic.Add("MenuItem_2", "Edit Parameters"); ////////////////////pMain._FlowTreeRightSelect(dic); pMain._SelectTab("Provisions"); dic.Clear(); dic.Add("Level_1", "Provisions"); dic.Add("Level_2", "Formulae"); dic.Add("Level_3", "Social Security PIA Formula"); dic.Add("Level_4", "PIARetLevel"); dic.Add("Level_5", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("BenefitType", ""); dic.Add("FixedAge", ""); dic.Add("SSNRA", "true"); dic.Add("ProjectedPay", ""); dic.Add("UseZeroEarningsBefore", ""); pSocialSecurityPIAFormula._PopVerify_Main(dic); dic.Clear(); dic.Add("Level_1", "Provisions"); dic.Add("Level_2", "Formulae"); dic.Add("Level_3", "Social Security PIA Formula"); dic.Add("Level_4", "PIARetZero"); dic.Add("Level_5", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("BenefitType", ""); dic.Add("FixedAge", ""); dic.Add("SSNRA", "true"); dic.Add("ProjectedPay", ""); dic.Add("UseZeroEarningsBefore", ""); pSocialSecurityPIAFormula._PopVerify_Main(dic); dic.Clear(); dic.Add("Level_1", "Provisions"); dic.Add("Level_2", "Formulae"); dic.Add("Level_3", "Social Security PIA Formula"); dic.Add("Level_4", "PIARetLeveLY"); dic.Add("Level_5", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("BenefitType", ""); dic.Add("FixedAge", ""); dic.Add("SSNRA", "true"); dic.Add("ProjectedPay", ""); dic.Add("UseZeroEarningsBefore", ""); pSocialSecurityPIAFormula._PopVerify_Main(dic); dic.Clear(); dic.Add("Level_1", "Provisions"); dic.Add("Level_2", "Formulae"); dic.Add("Level_3", "Social Security PIA Formula"); dic.Add("Level_4", "PIADisability"); dic.Add("Level_5", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("BenefitType", ""); dic.Add("FixedAge", ""); dic.Add("SSNRA", "true"); dic.Add("ProjectedPay", ""); dic.Add("UseZeroEarningsBefore", ""); pSocialSecurityPIAFormula._PopVerify_Main(dic); dic.Clear(); dic.Add("Level_1", "Provisions"); dic.Add("Level_2", "Formulae"); dic.Add("Level_3", "Social Security PIA Formula"); dic.Add("Level_4", "PIADeath"); dic.Add("Level_5", "Default"); pAssumptions._TreeViewSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("BenefitType", ""); dic.Add("FixedAge", ""); dic.Add("SSNRA", "true"); dic.Add("ProjectedPay", ""); dic.Add("UseZeroEarningsBefore", ""); pSocialSecurityPIAFormula._PopVerify_Main(dic); pMain._Home_ToolbarClick_Top(true); #endregion #region PIA_1 US 002 Report pMain._SelectTab("PIA_1"); _gLib._MsgBoxYesNo("", "Right select \"Run - Liabilities\" on Node " + sNewNode_US002); ////////////////////dic.Clear(); ////////////////////dic.Add("iMaxRowNum", ""); ////////////////////dic.Add("iMaxColNum", ""); ////////////////////dic.Add("iSelectRowNum", "4"); ////////////////////dic.Add("iSelectColNum", "2"); ////////////////////dic.Add("MenuItem_1", "Run"); ////////////////////dic.Add("MenuItem_2", "Liabilities"); ////////////////////pMain._FlowTreeRightSelect(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("GL_PPANAR_Min", ""); dic.Add("GL_PPANAR_Max", ""); dic.Add("GL_EAN", ""); dic.Add("EstimateNextYearLiabilityForAFTAP", ""); dic.Add("PayoutProjection", "True"); dic.Add("IncludeIOE", "True"); dic.Add("GenerateParameterPrint", "True"); dic.Add("GenerateTestCaseOutput", "True"); dic.Add("IncludeGainLossResult", ""); dic.Add("Service", "$Service"); dic.Add("Pay", "NewPayProjection1"); dic.Add("CurrentYear", ""); dic.Add("PriorYear", "True"); dic.Add("CashBanlance", "CustomDeath"); dic.Add("Pension", ""); dic.Add("AllLiabilityTypes", ""); dic.Add("PPANotAtRiskLiabilityForMinimum", "True"); dic.Add("PPANotAtRiskLiabilityForMaximum", "True"); dic.Add("PPANotAtRishPresentValueOfVestedBenefits", "True"); dic.Add("PBGCNotAtRiskPresentValueOfVestedBenefits", "True"); dic.Add("FAS35PresentValueOfAccumulatedBenefits", "True"); dic.Add("FAS35PresentValueOfVestedBenefits", "True"); dic.Add("PPAAtRiskLiabilityForMinimum", "False"); dic.Add("PPAAtRiskLiabilityForMaximum", "False"); dic.Add("PPAAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("PBGCAtRiskPresentValueOfVestedBenefits", "False"); dic.Add("EntryAgeNormal", "False"); dic.Add("PayoutProjectionCustomGroup", ""); dic.Add("RunValuation", "Click"); pMain._PopVerify_RunOptions(dic); dic.Clear(); dic.Add("PopVerify", "Pop"); dic.Add("OK", "Click"); pMain._PopVerify_EnterpriseRunSubmitted(dic); _gLib._MsgBoxYesNo("", "Right select \"View Run Status\" on Node " + sNewNode_US002); //////////////////////dic.Clear(); //////////////////////dic.Add("iMaxRowNum", ""); //////////////////////dic.Add("iMaxColNum", ""); //////////////////////dic.Add("iSelectRowNum", "4"); //////////////////////dic.Add("iSelectColNum", "2"); //////////////////////dic.Add("MenuItem_1", "View Run Status"); //////////////////////pMain._FlowTreeRightSelect(dic); pMain._EnterpriseRun("Group Job Successfully Complete", true); pMain._SelectTab("PIA_1"); _gLib._MsgBoxYesNo("", "Right select \"View Output\" on Node " + sNewNode_US002); //////////////////////dic.Clear(); //////////////////////dic.Add("iMaxRowNum", ""); //////////////////////dic.Add("iMaxColNum", ""); //////////////////////dic.Add("iSelectRowNum", "4"); //////////////////////dic.Add("iSelectColNum", "2"); //////////////////////dic.Add("MenuItem_1", "View Output"); //////////////////////pMain._FlowTreeRightSelect(dic); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputUS002, "Valuation Summary", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputUS002, "Individual Output", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputUS002, "IOE", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputUS002, "Parameter Print", "Conversion", true, true); //////////////////////pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputUS002, "Test Cases", "Conversion", true, true); pOutputManager._ExportReport_Others_PDF_EXCEL(sOutputUS002, "Payout Projection", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputUS002, "Liabilities Detailed Results", "Conversion", true, true); pOutputManager._ExportReport_Common_PDF_EXCEL(sOutputUS002, "Liabilities Detailed Results by Plan Def", "Conversion", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputUS002, "Reconciliation to Baseline", "Conversion", true, true); pOutputManager._ExportReport_SubReports_PDF_EXCEL(sOutputUS002, "Reconciliation to Baseline by Plan Def", "Conversion", true, true); #endregion #region PIA_1 US 002 Compare if (Config.bCompareReports) { CompareReportsLib _compareReportsLib = new CompareReportsLib("US001CN", sOutputUS002_Prod, sOutputUS002); _compareReportsLib._Report(_PassFailStep.Description, "", "US002"); _compareReportsLib.CompareExcel_Exact("ValuationSummary.xlsx", 11, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("IndividualOutput.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("PayoutProjection.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_FAS35PVAB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_FAS35PVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_PBGCNARPVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_PPANARMax.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_PPANARMin.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaseline_PPANARPVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_FAS35PVAB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_FAS35PVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_PBGCNARPVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_PPANARMax.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_PPANARMin.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("ReconciliationtoBaselinebyPlanDef_PPANARPVVB.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResults.xlsx", 4, 0, 0, 0, true); _compareReportsLib.CompareExcel_Exact("LiabilitiesDetailedResultsbyPlanDef.xlsx", 4, 0, 0, 0, true); } #endregion pMain._SelectTab("Output Manager"); pMain._Home_ToolbarClick_Top(true); pMain._Home_ToolbarClick_Top(false); _gLib._MsgBoxYesNo("", "Finished"); // To generate code for this test, select "Generate Code for Coded UI Test" from the shortcut menu and select one of the menu items. }
static void Main(string[] args) { MyDictionary<string, Auto> auto = new MyDictionary<string, Auto>(); Auto car = new Auto(); auto.Add("Audi", car); auto.Add("BMW", car); foreach (var s in auto) { Console.WriteLine(s.Key); } Console.WriteLine(); Console.ReadLine(); }