I'm trying to automate the inital logging in for our application tests which is a popup.
I've tried registering the ChildWindow both in its contructor and after it's show method using the new Track() method in both the official and latest build. When debugging the Silverlight application, I can verify that the popup count is one and that it is indeed being tracked.
But in my test (nunit) it always shows the popup count as zero regardless of when I register it or if I call RefreshVisualTrees() in the test. We are using Prism and SL4 so it might be Prism related, but in this case we are explicitly newing up the item rather than using Unity.
Any suggestions?
Much thanks!
Edit - I should mention we are using the Telerik silverlight controls which has its own popup tracking method and calling that method rather than adding the popup DLL. Is this the issue? If I add the popup dll VS2010 complains that the same code is declared in both DLLs.
I've tried registering the ChildWindow both in its contructor and after it's show method using the new Track() method in both the official and latest build. When debugging the Silverlight application, I can verify that the popup count is one and that it is indeed being tracked.
But in my test (nunit) it always shows the popup count as zero regardless of when I register it or if I call RefreshVisualTrees() in the test. We are using Prism and SL4 so it might be Prism related, but in this case we are explicitly newing up the item rather than using Unity.
Any suggestions?
Much thanks!
Edit - I should mention we are using the Telerik silverlight controls which has its own popup tracking method and calling that method rather than adding the popup DLL. Is this the issue? If I add the popup dll VS2010 complains that the same code is declared in both DLLs.