Example #1
0
        public void ControlName()
        {
            // Act
            By configuration = By.ControlName("SomeControlName");

            // Assert
            Assert.AreEqual(1, configuration.Configuration.Count);
            Assert.AreEqual(PropertyExpressionOperator.EqualTo, configuration.Configuration.First().PropertyOperator);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="RebasedLowerRightScreenObject"/> class.
 /// </summary>
 public RebasedLowerRightScreenObject()
     : base(By.ControlName("groupBoxLowerRight"))
 {
 }
Example #3
0
 public RebasedUpperLeftScreenObject()
     : base(By.ControlName("groupBoxUpperLeft"))
 {
 }
Example #4
0
 public FinishedWizardPage ClickNext()
 {
     Find <WinWindow>(By.ControlName("buttonNext")).Find <WinButton>(By.Name("Next")).Click();
     return(GetScreenObject <FinishedWizardPage>());
 }
Example #5
0
 /// <summary>
 /// Gets the children of tab control.
 /// </summary>
 /// <returns>The children</returns>
 public List <ControlBase> GetChildrenOfTabControl()
 {
     return(Find <WinWindow>(By.ControlName("tabControl")).Find <WinTabList>().GetChildren().ToList());
 }
Example #6
0
 public DialogScreen NavigateToModalDialogScreen()
 {
     Find <WinButton>(By.ControlName("buttonOpenModalDialog")).Click();
     return(NavigateTo <DialogScreen>());
 }