View previous topic :: View next topic |
Author |
Message |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Thu Aug 19, 2021 5:39 am Post subject: Count disabled and/or paused tests |
|
|
Hi all,
From time to time, we find that tests have been disabled or paused indefinately during troubleshooting or configuring target systems.
And then forgotten to enable/unpause again.
So I was thinking, it would be handy to have a test that counts disabled and/or paused tests...
Anyone tried something like that?
Thanks!
Kris |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12656 Location: USA
|
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Fri Aug 20, 2021 12:54 am Post subject: |
|
|
Hi Alex,
We already have views for disabled and paused tests.
Event though these are very informative, they don't have a 'signaling' function.
So maybe some variables like %DisabledTestsCount% and %PausedTestsCount%, maybe even filterable with a 'where' clause to select specific folders or test names, you name it hehehehe  |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12656 Location: USA
|
Posted: Fri Aug 20, 2021 5:00 am Post subject: |
|
|
Ok, if you are using version 12.90, please contact support by e-mail. We will provide update with new variables
Regards
Alex |
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Tue Aug 24, 2021 6:54 am Post subject: |
|
|
email sent  |
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Tue Aug 24, 2021 9:01 am Post subject: |
|
|
Just applied the update, works like a charm (as per usual )
Awesome. Thanks! |
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Wed Aug 25, 2021 1:36 am Post subject: |
|
|
Hi Alex,
While testing, I found that the variable %HM_PAUSEDITEMS% reports 1, when there aren't any paused tests  |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12656 Location: USA
|
Posted: Wed Aug 25, 2021 3:50 am Post subject: |
|
|
We cannot reproduce the problem.
Check for Paused and OutOfSchedule items
Regards
Alex |
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Wed Aug 25, 2021 6:04 am Post subject: |
|
|
OK, here's what happened next:
- The %HM_PAUSEDITEMS% variable reported 1, while no test were paused.
- I paused 1 test en checked on %HM_PAUSEDITEMS% again, still reported 1
- I resumed the paused test and checked on %HM_PAUSEDITEMS% again, now showing 0
So I can't reproduce it either... |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12656 Location: USA
|
Posted: Wed Aug 25, 2021 6:16 am Post subject: |
|
|
Have you seen OutOfSchedule item?
Regards
Alex |
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Wed Aug 25, 2021 6:32 am Post subject: |
|
|
Not sure if there were any OutofSchedule tests at that very moment, there aren't any now.
Not sure how to force a test to get OutofSchedule status though  |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12656 Location: USA
|
|
Back to top |
|
 |
Kris
Joined: 12 May 2010 Posts: 356
|
Posted: Wed Aug 25, 2021 9:19 am Post subject: |
|
|
Good point
So I tested stuff.
1) Paused tests count for %HM_PAUSEDITEMS% AND show up in the Paused tests view (%StatusID%=='13') AND show up in the OutofSchedule tests view (checkbox 'Out of Schedule')
2) Out of Schedule tests also count for %HM_PAUSEDITEMS% AND show up in the OutofSchedule tests view (checkbox 'Out of Schedule') but DON'T show up in the Paused tests view (%StatusID%=='13')
Good enough for me
 |
|
Back to top |
|
 |
|