Esempio n. 1
0
 public override void Click(bool rightButton = false, int relativeX = 0, int relativeY = 0)
 {
     _logger.Info(string.Format("trying to click button:{0}", ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     throw new NotImplementedException();
 }
Esempio n. 2
0
 public virtual void Close(string menuOption)
 {
     _logger.Info(string.Format("selecting value:{0} for {1}", menuOption, ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     this.SelectItem(menuOption);
     LastElement.GetExpandCollapsePattern().Collapse();
 }
Esempio n. 3
0
 public virtual void Select(string item)
 {
     _logger.Info(string.Format("setting dropdown value:{0} for {1}", item, ActiveControlLocatorDef == null?string.Empty:ActiveControlLocatorDef.ToString()));
     this.SelectItem(item);
 }
Esempio n. 4
0
 public void UnSelect()
 {
     _logger.Info(string.Format("unchecking radio box value:{0} for {1}", "false", ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     this.SetSelected(false);
 }
Esempio n. 5
0
 public override void Click(bool rightButton = false, int relativeX = 0, int relativeY = 0)
 {
     _logger.Info(string.Format("trying to click button:{0}", ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     SystemUnderTestInstance.Click();
 }
Esempio n. 6
0
 public void Select()
 {
     _logger.Info(string.Format("checking check box value:{0} for {1}", "true", ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     this.SetChecked(true);
 }
Esempio n. 7
0
 public virtual void SelectNext(string item)
 {
     _logger.Info(string.Format("continue selecting from previous: value:{0} for {1}", item, ActiveControlLocatorDef == null ? string.Empty : ActiveControlLocatorDef.ToString()));
     this.SelectContinueWith(item);
 }