Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExpanderPage"/> class.
 /// </summary>
 public ExpanderPage()
 {
     this.verticalExpanderQuery   = ByExtensions.AutomationId("Expander1");
     this.horizontalExpanderQuery = ByExtensions.AutomationId("Expander2");
 }
        public void WhenIClickTheButton(string buttonText)
        {
            var button = UIEnvironment.WebDriver.FindElement(ByExtensions.ButtonText(buttonText));

            button.Click();
        }
        public void WhenIEnterIntoTheTextbox(string text, string textBoxName)
        {
            var textBox = UIEnvironment.WebDriver.FindElement(ByExtensions.LabelText(textBoxName));

            textBox.SendKeys(text);
        }
 public RadialGaugePage()
 {
     this.radialGauge = ByExtensions.AutomationId("RadialGauge");
 }