Exemplo n.º 1
0
        public void InitializeApplication()
        {
            testHelper = new FunctionalTestHelper();
            testHelper.ReInitializeGlobalBank();

            authen = new AuthenAdapter();
        }
Exemplo n.º 2
0
        public void InitializeApplication()
        {
            testHelper = new FunctionalTestHelper();
            testHelper.ReInitializeGlobalBank();

            authentication = new AuthenAdapter();
            authentication.SetUserNameAndPassword("Jerry", "Password1");
            shell = authentication.OkClick();
            addCustomerToQueue = shell.AddNewCustomerToQueue();
        }
        public void InitializeApplication()
        {
            testHelper = new FunctionalTestHelper();
            testHelper.ReInitializeGlobalBank();

            authentication = new AuthenAdapter();
            authentication.SetUserNameAndPassword("Tom", "Password2");
            shell        = authentication.OkClick();
            findCustomer = shell.FindCustomer();
        }
Exemplo n.º 4
0
 public void CheckCDNotListedOnRejectionOfManager()
 {
     purchaseCD.DurationTextBox = "150";
     purchaseCD.AmountTextBox   = "10500";
     purchaseCD.SetAccountComboBoxValue("Savings[34522603] $ 15000");
     purchaseCD.Purchase();
     authentication = purchaseCD.ManagerApprovalLinkClick();
     authentication.Cancel();
     customerSummary.SummaryTabClick();
     IsCDNotListedInCustomerProduct();
 }
Exemplo n.º 5
0
 public void CheckCDNotListedOnOfficerApproval()
 {
     purchaseCD.DurationTextBox = "150";
     purchaseCD.AmountTextBox   = "10500";
     purchaseCD.SetAccountComboBoxValue("Savings[34522603] $ 15000");
     purchaseCD.Purchase();
     authentication = purchaseCD.ManagerApprovalLinkClick();
     authentication.SetUserNameAndPassword("Tom", "Password2");
     authentication.OkClick();
     customerSummary.SummaryTabClick();
     IsCDNotListedInCustomerProduct();
 }
Exemplo n.º 6
0
        public void CheckCDGetListedOnApprovalOfManager()
        {
            purchaseCD.DurationTextBox = "150";
            purchaseCD.AmountTextBox   = "10500";
            purchaseCD.SetAccountComboBoxValue("Savings[34522603] $ 15000");
            purchaseCD.Purchase();
            authentication = purchaseCD.ManagerApprovalLinkClick();
            authentication.SetUserNameAndPassword("Spike", "Password3");
            authentication.OkClick();

            IsCDListedInCustomerProduct(10500);
        }
Exemplo n.º 7
0
        public void InitializeApplication()
        {
            testHelper = new FunctionalTestHelper();
            testHelper.ReInitializeGlobalBank();

            authentication = new AuthenAdapter();
            authentication.SetUserNameAndPassword("Tom", "Password2");
            shell = authentication.OkClick();

            findCustomer           = shell.FindCustomer();
            findCustomer.FirstName = "kari";
            findCustomerResults    = findCustomer.Find();
            addReason = findCustomerResults.QueueForService();
            addReason.ReasonForVisit = "Checking Account - Opening request";
            addReason.Description    = "Test Visit";
            addReason.OkClick();
            rightPane       = shell.ServiceCustomer();
            customerSummary = rightPane.CustomerSummary();
        }
Exemplo n.º 8
0
        public void CheckCustomerSummaryDisplaysAllDetailsOfVisitor()
        {
            addCustomerToQueue.FirstName      = "Sandesh";
            addCustomerToQueue.MiddleInitial  = "P";
            addCustomerToQueue.LastName       = "Ambekar";
            addCustomerToQueue.Street         = "123, Test St.";
            addCustomerToQueue.City           = "Test City";
            addCustomerToQueue.State          = "Test State";
            addCustomerToQueue.Zip            = "123456";
            addCustomerToQueue.HomeNumber     = "1234567890";
            addCustomerToQueue.WorkNumber     = "1234567890";
            addCustomerToQueue.CellNumber     = "1234567890";
            addCustomerToQueue.SSN            = "123456789";
            addCustomerToQueue.EMail          = "SA@testmail";
            addCustomerToQueue.ReasonForVisit = "Checking Account - Opening request";
            addCustomerToQueue.Description    = "Test Visit";
            addCustomerToQueue.OkClick();

            shell.Close();
            authentication = new AuthenAdapter();
            authentication.SetUserNameAndPassword("Tom", "Password2");
            shell = authentication.OkClick();
            shell.CustomerQueue();
            rightPane       = shell.ServiceCustomer();
            customerSummary = rightPane.CustomerSummary();
            Assert.AreEqual <string>("Sandesh P Ambekar", customerSummary.Name,
                                     "Full Name does not have the correct value");
            Assert.AreEqual <string>("Checking Account - Opening request", customerSummary.ReasonCode,
                                     "Full Name does not have the correct value");
            Assert.AreEqual <string>("Test Visit", customerSummary.ReasonDescription,
                                     "Full Name does not have the correct value");
            Assert.AreEqual <string>("123 Test St., Test City, Test State 12345",
                                     customerSummary.Address, "Address does not have the correct value");
            Assert.AreEqual <string>("123456789", customerSummary.SSN,
                                     "SSN does not have the correct number");
            Assert.AreEqual <string>("1234567890", customerSummary.HomeNumber,
                                     "Home Phone does not have the correct number");
            Assert.AreEqual <string>("SA@testmail", customerSummary.Email,
                                     "Email does not have the correct value");
        }
 public void InitializeApplication()
 {
     authen = new AuthenAdapter();
 }