示例#1
0
 /// <summary>
 /// Gets the attendance group name
 /// </summary>
 /// <returns>text</returns>
 public string GetAttendanceGroupName()
 {
     AttendanceGroupNameText.Wait(5);
     if (Driver.WrappedDriver.GetType() == typeof(DummyDriver))
     {
         AttendanceGroupNameText.FakeAttributeValue = FakeAttributeValue;
     }
     return(AttendanceGroupNameText.GetAttribute("value").Trim());
 }
示例#2
0
 /// <summary>
 /// Sets the attendance group name
 /// </summary>
 /// <param name="name">the name</param>
 public void SetAttendanceGroupName(string name)
 {
     AttendanceGroupNameText.Wait(5).Clear();
     AttendanceGroupNameText.Wait(5).SendKeys(name);
 }