コード例 #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();
 }
コード例 #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();
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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();
 }
コード例 #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);
 }
コード例 #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);
 }