Beispiel #1
0
        public void BasicExample_MediatorSendMessage_Receive(IWindowFixture i)
        {
            var newWindow = i.Click("SecondWindowButton").NewWindow("SecondWindow");

            var testString = "Some Test Value";

            newWindow.Fill("LeftTextBox").With(testString);

            newWindow.Click("SecondButton");

            i.Get.Text.From("ClickTextBlock").Should().Be(testString);
        }
Beispiel #2
0
        public void BasicExample_ClickButton_CheckText(IWindowFixture i)
        {
            i.Click("ClickButton");

            i.Get.Text.From("ClickTextBlock").Should().Be(MainWindowViewModel.ClickString);
        }