Exemplo 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();
 }
Exemplo 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();
 }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo 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();
 }
Exemplo 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);
 }
Exemplo 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);
 }