cancel
Showing results for 
Search instead for 
Did you mean: 

Sleep Feature

Super Contributor

Sleep Feature

Hello,
In a lot of my testing scenarios, I encounter situations where I need to do a certain steps, then sleep/delay, and then continue with the test. The problem with this is that the delay hold up the execution of the remainder of the tests.

Would it be possible to have a modified delay step, such that when this 'modified delay' is encounter, it puts the test case to sleep for the specified time, goes to the next test cases, and returns back when the delay time has been satisfied.

Thanks

Ali
5 REPLIES 5
Super Contributor

Re: Sleep Feature

Hi Ali,

hmm.. if I understand you correctly this is when you are running a TestSuite in sequential mode?

/Ole
eviware.com
Super Contributor

Re: Sleep Feature

yes.
Super Contributor

Re: Sleep Feature

ok..

this would probably be a setting on the TestSuite level, ie "Move to next testcase on delay".. would that be sufficient? Or would you need to specify it on a TestCase (or even TestStep) level?

regards,

/Ole
eviware.com
Super Contributor

Re: Sleep Feature

for me it makes more sense to have it at the delay teststep level. People might have different reasons for delay and might not want to skip to next testcase.
Super Contributor

Re: Sleep Feature

Hi,

ok.. let us ponder a bit.. it might make sense to have this on all teststep types, ie a "Do not block TestSuite", which would basically be a signal to the TestSuite runner to start the Next TestCase.. hm..

regards!

/Ole
eviware.com
New Here?
Join us and watch the welcome video:
Watch the New Interview
APITestingMistake#2
Top Kudoed Authors