WPF Window not found once closed and opened again during Debud

2 posts, 0 answers
  1. Lyudmil
    Lyudmil avatar
    4 posts
    Member since:
    Nov 2011

    Posted 09 Mar 2015 Link to this post


    I've created very basic WPF application called SampleAppPlus. Its purpose it to demonstrate Telerik Testing Framework. From MainWindow new WPF window gets opened and user can type text in it. First time window is opened and framework is attached to it. The window is closed by tests. Second time window is opened framework cannot attach to it although it is there . Error is that window doesn't exists. The strange thing is this happens ONLY when test is being debugged with VS. When you just run it it works.

    Steps to reproduce:
    1. Download: https://github.com/llatinov/SampleAppPlus
    2. Make SampleAppPlus.Tests start up project.
    3. Go to AddEditTextTests and put breakpoint on line 35.
    4. Go to BaseTest.cs and change "applicationPath" location.
    5. Debug the application. On line 22 in AddEditTextTests Add Text window is found. On line 35 window is not found.

    Regards, Lyudmil
  2. Ivaylo
    Ivaylo avatar
    782 posts

    Posted 12 Mar 2015 Link to this post

    Hello Lyudmil,

    Please excuse me for the delayed reply.

    Thank you for the project provided and detailed repro steps. I was able to reproduce the behavior, however I cannot provide more details on this, it will have to be investigated by our engineers, since this is specific case. For the future you can use our feedback portal and log the issue by yourself. I have now logged this on your behalf and you can use this link.

    Thank you for your understanding and cooperation.

    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top