public void WhenSplitThePledgeDesignations(Table designations) { try { PledgeDialog.SplitDesignationsEvenly(designations); //evenly divide the pledges into the various designatinos } catch (Exception ex) { throw new Exception("Error: could not split pledge designations evenly. " + ex.Message); } }
public void WhenIStartToAddAPledge(Table pledgeValues) { BBCRMHomePage.OpenRevenueFA(); RevenueFunctionalArea.AddAPledge(); foreach (var pledgeValueRow in pledgeValues.Rows) { if (pledgeValueRow.ContainsKey("Constituent") && pledgeValueRow["Constituent"] != string.Empty) { pledgeValueRow["Constituent"] += uniqueStamp; } PledgeDialog.SetFields(pledgeValueRow); } }
public void WhenIStartToAddAPledge(Table pledgeValues) { try { BBCRMHomePage.OpenRevenueFA(); //Open revenue functional area RevenueFunctionalArea.AddAPledge(); //create a new pledge foreach (var pledgeValueRow in pledgeValues.Rows) { if (pledgeValueRow.ContainsKey("Constituent") && pledgeValueRow["Constituent"] != string.Empty) { pledgeValueRow["Constituent"] += uniqueStamp; //The unique stamp is a series of numbers to keep constituents different from each other } PledgeDialog.SetFields(pledgeValueRow); } } catch (Exception ex) { throw new Exception("Error: could not start to add a pledge. " + ex.Message); } }
public void WhenSplitThePledgeDesignations(Table designations) { PledgeDialog.SplitDesignationsEvenly(designations); }