Error getting started with testing a Silverlight app.

3 posts, 0 answers
  1. Ralph
    Ralph avatar
    6 posts
    Member since:
    Aug 2007

    Posted 19 Jul 2010 Link to this post

    Hi to all

    I have a Silverlight 4 application that does some tasks on loading of the app including setting today's date in a calendar control and figuring out with a request to an .svc the number of time periods until a date in the future.

    The first step in my test seems to run correctly being the initial loading of the application 'content' but it would seem that as soon as the asynchronous requests to the .svc are completed and the UI (textblock) is to be updated I get a Visual Studio Just-In-Time Debugger starting up (twice due to two separate tasks completing I think).

    Has anyone else experienced what seems like a common scenario? Arguably something as simple as a date calculation does not need to come from a .svc however there is also an auto-complete box that starts making requests to a .svc once  a number of characters have been added

    I have replicated this using a simple app with two calendars, setting the selected dates via code. This was testable without problems as per the attached image.

    When I added in a third calendar that had the date getting set via a request to an .asmx it worked fine manually running the application but as soon as I tried to use the WebUI Test Studio I once again started getting the Visual Studio Just-In-Time Debugger rearing it's ugly head.

    This is using the Q2 release of WebUI Test Studio Developer Edition. Just Code is not installed on this machine at this point due to issues that need to be sorted with compatibility between them.

    Thanks

    Ralph Price


  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 20 Jul 2010 Link to this post

    Hello Ralph,

    By your description it sounds like you've taken the right steps to make things work right. Do I understand you have a small test application that reproduces this JIT problem? Would it be possible for you to send it to us so (place the entire project folder into a .zip file first) we can see the problem first hand ourselves? Once we do that we'll be able to determine where/how it is going wrong. You'll need to open a new support ticket before you can attach a file to send to us.

    Kind regards,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Ralph
    Ralph avatar
    6 posts
    Member since:
    Aug 2007

    Posted 20 Jul 2010 Link to this post

    Hi Cody

    I have logged a support ticket now and it is #330142. (and attached a sample app.)

    Thanks

    Ralph
Back to Top