Beispiel #1
0
 public void SetEmail(string strEmail)
 {
     SiteDriver.FindElement(_demoPage.email, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.email, How.CssSelector, strEmail);
 }
Beispiel #2
0
 public void SetHobbies(string strHobbies)
 {
     SiteDriver.FindElement(_demoPage.hobbies, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.hobbies, How.CssSelector, strHobbies);
 }
Beispiel #3
0
 public void SetFullName(string strFullName)
 {
     SiteDriver.FindElement(_demoPage.fullName, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.fullName, How.CssSelector, strFullName);
 }
Beispiel #4
0
 public void SetContactNo(string strContactNo)
 {
     SiteDriver.FindElement(_demoPage.contactNo, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.contactNo, How.CssSelector, strContactNo);
 }
Beispiel #5
0
 public void SetIntroduction(string strIntro)
 {
     SiteDriver.FindElement(_demoPage.introduction, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.introduction, How.CssSelector, strIntro);
 }
Beispiel #6
0
 public void SetZipCode(string strZipCode)
 {
     SiteDriver.FindElement(_demoPage.zipCode, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.zipCode, How.CssSelector, strZipCode);
 }
Beispiel #7
0
 public void SetState(string strState)
 {
     SiteDriver.FindElement(_demoPage.state, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.state, How.CssSelector, strState);
 }
Beispiel #8
0
 public void SetCity(string strCity)
 {
     SiteDriver.FindElement(_demoPage.city, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.city, How.CssSelector, strCity);
 }
Beispiel #9
0
 public void SetPassword(string strPassword)
 {
     SiteDriver.FindElement(_demoPage.password, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.password, How.CssSelector, strPassword);
 }
Beispiel #10
0
 public void SetUserName(string strUName)
 {
     SiteDriver.FindElement(_demoPage.username, How.CssSelector)
     .Clear();
     SiteDriver.SendKeys(_demoPage.username, How.CssSelector, strUName);
 }