Example #1
0
        public void AddDetailPropertyToClosingFile()
        {
            //HelperSet.DisplayWidget("Property Maps");

            var workFlownav = new WorkFlowPageNavigation(Driver);
            var property    = new PropertyPage(Driver);
            var summaryPage = new SummaryPage(Driver);

            workFlownav
            .GoToWorkFlowPage()
            .GoToAppropriateClosingFile()
            .ClickDetailsMenuItem();
            property
            .ClickPropertySideMenuItem()
            .TypeAddress1Field("500 Southeast 8th Avenue, Hillsboro")
            .ClickLookupButton();
            //    .ChooseState("500 Southeast 8th Avenue")
            //    .ClickConfirmButton();
            //workFlownav
            //    .ClickSummaryMenuItem();
            Driver.Navigate().Refresh();

            var addresslocation = summaryPage.GetLocation();

            Assert.IsTrue(addresslocation.Contains("Hillsboro"));
        }