Example #1
0
        //Raise a request for AscentialTest automation tool information.
        public void ZeenyxWebsite(string sFirstname, string sLastname, string sEmail, string sSubject, string sMessage)
        {
            Lnk_Contact.Click();

            Txt_FirstName.SendKeys(sFirstname);
            //Thread.Sleep(2000);
            //driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
            Txt_LastName.SendKeys(sLastname);
            //driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
            Txt_Email.SendKeys(sEmail);

            Dropdown_Subject.Click();
            SelectElement oSelect = new SelectElement(Dropdown_Subject);

            oSelect.SelectByText(sSubject);

            Txt_Message.SendKeys(sMessage);

            //driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3);
        }
 public void Clear()
 {
     Txt_FirstName.Clear(); Txt_LastName.Clear(); Txt_AddLine1.Clear(); Txt_AddLine2.Clear(); Txt_AddLine3.Clear();
     Txt_LandlineNo.Clear(); Txt_MobNo.Clear();
 }
Example #3
0
 public void Clear()
 {
     Txt_FirstName.Clear(); Txt_LastName.Clear(); Txt_UserName.Clear(); Txt_Password.Clear(); Txt_ConfirmPassword.Clear();
 }