Esempio n. 1
0
        public void Create_New_Enquiry_with_Notes()
        {
            //Login
            Navigate_To_Enquiry();
            EnquiryDetails enquirydetails = new EnquiryDetails();

            enquirydetails.AddButtonClick();

            ////Add Enquirer details
            enquirydetails.AddEnquiryContactButtonClick();
            enquirydetails.AddNewEnquirerContactButtonClick();
            enquirydetails.SetEnquirerForename();
            String Surname = enquirydetails.SetEnquirerSurname();

            enquirydetails = enquirydetails.ClickOkButton();
            String NotesEntered = enquirydetails.SetEnquirerNotes();

            enquirydetails.ClickSaveButton();
            enquirydetails.WaitForStatus();
            enquirydetails.SearchByName(Surname);
            String getNotes = enquirydetails.getEnquirerNotes();

            Assert.AreEqual(NotesEntered, getNotes);
        }