public static void BonificationCalc() { BonificationManager bm = new BonificationManager(); Designers Diego = new Designers("833.222.048-39"); Diego.Name = "Diego arruda"; bm.Registry(Diego); Directors maria = new Directors("159.753.398-04"); maria.Name = "Maria Ana Soares"; bm.Registry(maria); AccountManagers michael = new AccountManagers("326.985.628-89"); michael.Name = "Michael Hoffman"; bm.Registry(michael); Auxiliar mirta = new Auxiliar("325.541.654-99"); mirta.Name = "Mirta Roberta silva"; bm.Registry(mirta); Console.WriteLine("Total bonifications " + bm.GetBonifications()); }
public void ClickOnAccountManagersLink() { if (AccountManagers.Displayed) { AccountManagers.Click(); } else { throw new Exception("Element is not found or not clickable"); } }