コード例 #1
0
ファイル: Cell.cs プロジェクト: KaplinSergey/Auction
        public void SetValue(string value)
        {
            RootElement.Click();

            var input = RootElement.FindElement(By.TagName("input"));

            input.SendKeys(Keys.Control + "a");
            input.SendKeys(value);
            input.SendKeys(Keys.Enter);
        }
コード例 #2
0
 public void Click()
 {
     RootElement.Click();
 }
コード例 #3
0
 /// <summary>Send a click (or Tap) event to the root element of the control.
 /// <para/><para/>
 /// Implementors may override to route click event to the appropriate element in the control. If not overridden,
 /// click event is targeted to the controls root element.
 /// </summary>
 public virtual void Click()
 {
     Logger.WriteLine(Logger.LogLevels.TestDebug, "Clicking element [{0}]", RootElement?.MappingDetails?.FriendlyName ?? RootElement?.MappingDetails?.FindLogic ?? "Dunno!");
     RootElement.Click();
 }
コード例 #4
0
        public void Choose()
        {
            this.Scroll();

            RootElement.Click();
        }
コード例 #5
0
 public void InsertText(string text)
 {
     RootElement.Click();
     RootElement.SendKeys(text);
 }