Exemplo n.º 1
0
        public void UITheory_LaunchTestApp_FillGetModel(IWindowFixture i)
        {
            var model = i.Data.Generate <IntTextBoxModel>();

            i.Fill().With(model);

            var model2 = i.Get.ValuesAs <IntTextBoxModel>().From();

            CloseEnough.Equals(model, model2);
        }
Exemplo n.º 2
0
        public void UITheory_LaunchTestApp_FillWithString(IWindowFixture i)
        {
            i.Fill("TextBox1").With("Test String");

            i.Get.Text.From("TextBox1").Should().Be("Test String");
        }