Debug why tests sometimes fail

2 posts, 0 answers
  1. Peter
    Peter avatar
    1 posts
    Member since:
    Nov 2010

    Posted 25 May 2011 Link to this post

    I've run into a problem where my tests can run x number of times in a row, with 0 changes in my code / silverlight application.  Sometimes the tests will pass, sometimes they will fail, and it's never a consistent failure, it's always something different each time.  I'm trying to debug why the tests sometime fails, and I can't really pinpoint a good way to debug it.  Can someone share some pointers on the best way to debug all these tests and why they are so flaky?

  2. Stoich
    Stoich avatar
    1 posts

    Posted 28 May 2011 Link to this post

    Hi Peter,
            it's hard to say anything definitive without looking at your test. One thing you should definitely look at is whether your test is written is such a way as to wait for elements to appear before attempting to perform actions on them. Please go ahead and paste a test that you have trouble getting to work. It would be able if we're able to run it (i.e. the app it tests should be publicly available) - that way we'll be able to easily troubleshoot the issue.

    All the best,
    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
Back to Top