예제 #1
0
        public override FinishedPage StepThrough()
        {
            // Enter name
            Start.FirstName = "Some first name";
            Start.Surname   = "Some surname";

            // Click next
            AddressPage addressPage = Start.ClickNext();

            // Enter address
            addressPage.Address    = "Some address";
            addressPage.City       = "Some city";
            addressPage.PostalCode = "Some postal code";
            addressPage.State      = "Some state";

            // Click next
            return(addressPage.ClickNext());
        }