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

Issues Running a set of Test Cases in a Test List

3 Answers 107 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karla
Top achievements
Rank 1
Karla asked on 01 Feb 2012, 06:17 PM

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?

3 Answers, 1 is accepted

Sort by
0
Karla
Top achievements
Rank 1
answered on 01 Feb 2012, 06:49 PM

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
0
Karla
Top achievements
Rank 1
answered on 01 Feb 2012, 07:19 PM

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
0
Anthony
Telerik team
answered on 02 Feb 2012, 06:13 PM
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
Tags
General Discussions
Asked by
Karla
Top achievements
Rank 1
Answers by
Karla
Top achievements
Rank 1
Anthony
Telerik team
Share this question
or