Ejemplo n.º 1
0
 public void CustomerNormineeName()
 {
     NormineeNameElement.SendKeys(_name);
     RelationshipNameElement.SendKeys(_relationship);
     LiveThereElement.SendKeys(_timeAtAddress);
     GenericObjects.GoToNextPage();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Method overloading. This function is for regression test only
 /// </summary>
 /// <param name="sharingRightName"></param>
 /// <param name="relation"></param>
 /// <param name="time"></param>
 public void CustomerNormineeName(string sharingRightName, string relationship, string time)
 {
     NormineeNameElement.SendKeys(sharingRightName);
     RelationshipNameElement.SendKeys(relationship);
     LiveThereElement.SendKeys(time);
     GenericObjects.GoToNextPage();
 }
Ejemplo n.º 3
0
        //public NeighbourhoodsDialogWindowPage AddRequiredInformationmWith(string v)
        //{
        //    return new NeighbourhoodsDialogWindowPage(v);
        //}

        public void MessageDisplayCorrectlyAndDialogWindowIsClosed()
        {
            var proptMessage = TGPLabel.BusinessEmail.ToString();

            GenericObjects.GoToNextPage();

            if (PropmptMessageWithEmail.Text != null)
            {
                var trueMessage = PropmptMessageWithEmail.Text.Contains(proptMessage);
                trueMessage = true;
            }
            else
            {
                string.IsNullOrEmpty(proptMessage);
            }

            LiveThereElement.SendKeys(CustomerInformation.CommentInput);
            Browser.CloseOtherWindows("My Property and Neighbourhood Start Dialog");
        }