Issues Running a set of Test Cases in a Test List

4 posts, 0 answers
  1. Karla
    Karla avatar
    24 posts
    Member since:
    Jun 2011

    Posted 01 Feb 2012 Link to this post


    Hi,

    I have a list that should run 5 test cases. But I see that isn't stable, b/c sometimes it run correctly and sometimes the test fail. Not sure why is the inconsistency on it.

    I split the Test cases in a list ( one test list for each Test case), so I have now 5 test lists, and they run one by one correctly without issues. But when I put all the 5 test cases in the same test list, this not work. I tried to record again the steps that fail, but I have 3 days with the same issue.

    So, not sure why they can run correctly individually and one by one in one list for each Test CAse, but when they are in the same list crash.

    There are some bug reported regarding that?

  2. Karla
    Karla avatar
    24 posts
    Member since:
    Jun 2011

    Posted 01 Feb 2012 Link to this post


    Another thing, is that I have checked the "UseStepWaitOnElement" for the steps that Fail in the diferent Test Cases.

    Sometimes failed a step in one Test case, sometimes failed in other Test case
  3. Karla
    Karla avatar
    24 posts
    Member since:
    Jun 2011

    Posted 01 Feb 2012 Link to this post


    Not sure which is the issue, actually I ran again the Test List ( with the 5 Test cases) and Ran correctly.

    Yesterday I ran same list and ran correctly, but today it failed around 5 times. Now I didn't do nothing, and just run correctly.

    Not sure what could be happening... (see attachment)


    Thanks
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 02 Feb 2012 Link to this post

    Hello Karla,

    There's simply no way to know why certain steps randomly fail without more information. See here on what to provide so we can continue troubleshooting. If you regard that information as sensitive, you can attach it to a support ticket which is confidential, unlike this forum. 

    I noticed that one of your tests relies heavily on fixed Execution Delays. This typically is a bad practice and we recommend using a fixed delay as a last resort. Instead, use Verifications and Waits to ensure the test is in the correct state before continuing.

    If executing via Quick Execute, you can also increase the global Wait on elements timeout setting in Quick Execution Options. The bottom of this page shows where to find that setting. If it's a Test List, you can do the same from the Test List Settings. This will extend the built-in wait for each action step.

    Greetings,
    Anthony
    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