This is a migrated thread and some comments may be shown as answers.

WPF Window not found once closed and opened again during Debud

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lyudmil
Top achievements
Rank 1
Lyudmil asked on 09 Mar 2015, 10:36 AM
Hello

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

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 12 Mar 2015, 11:43 AM
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.

Regards,
Ivaylo
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Lyudmil
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or