Ejemplo n.º 1
0
        public void Go_To_AddAddressPage()
        {
            addAddressPage.AddAddress();
            var addressDetails = new AddressDetailsPage(driver);
            var message        = "Address was successfully created.";

            Assert.AreEqual(message, addressDetails.lblSuccess.Text);
        }
Ejemplo n.º 2
0
        public void Should_Add_Address_Successfully()
        {
            var addAddressBo = new AddAddressBO
            {
                FirstName = "Changed AC George",
                ZipCode   = "Changed Zip Code"
            };
            var addressDetailsPage = addAddressPage.AddAddress(addAddressBo);

            Assert.AreEqual("Address was successfully created.", addressDetailsPage.SuccessfullyCreatedMessage);
        }