Hi, good morning,
please, I need your help.
We have a test case whose design has a delay of at least one day. Does Ranorex tool some feature to be able to automate this kind of test?
Thank you so much!
How to automate a test case with a delay of one day
Re: How to automate a test case with a delay of one day
You could use a static delay of 24+ hours but may not be the best approach.
Perhaps you can break the test into two sections, one to the initial part, then another to run once 24 hours has passed. Are you able to provide more information on this test case? It is hard to recommend anything specific without more details.
Hope this helps!
Perhaps you can break the test into two sections, one to the initial part, then another to run once 24 hours has passed. Are you able to provide more information on this test case? It is hard to recommend anything specific without more details.
Hope this helps!
Re: How to automate a test case with a delay of one day
Hi N612,
thank you for your answer!
Yes, more information, sure.
It is a test of an application, and the project works with continuous integration, and the tests run in a virtual machine.
Waiting 24 h is not a good approach, and divide the test in two parts... I don't know if fits ok with the continuous integration...
Do you know any other feature of Ranorex to manage the delays of a test case?
Thanks!
thank you for your answer!
Yes, more information, sure.
It is a test of an application, and the project works with continuous integration, and the tests run in a virtual machine.
Waiting 24 h is not a good approach, and divide the test in two parts... I don't know if fits ok with the continuous integration...
Do you know any other feature of Ranorex to manage the delays of a test case?
Thanks!
Re: How to automate a test case with a delay of one day
Just a thought:
My company also has some tests for time sensitive things that normally (like you) would need to wait X amount of minutes/hour(s) but instead we decided that we would instead have the test reach into the database with SQL and manipulate the required time values to "speed things along". so now, our tests take just a couple minutes...not hours/days.
Just something you might want to consider exploring if its possible.
My company also has some tests for time sensitive things that normally (like you) would need to wait X amount of minutes/hour(s) but instead we decided that we would instead have the test reach into the database with SQL and manipulate the required time values to "speed things along". so now, our tests take just a couple minutes...not hours/days.
Just something you might want to consider exploring if its possible.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: How to automate a test case with a delay of one day
As dhale has said, in an ideal world, being able to bypass this time delay for your AUT in your testing environment would be the best solution. If it is not possible to bypass it and a static delay is not viable, the next best option is likely to split your test into two parts. You can do timed triggers in most CI tools (example with Jenkins).
I hope this helps!
Cheers,
Ned
I hope this helps!
Cheers,
Ned
Re: How to automate a test case with a delay of one day
Thank you for your help! We here with the team will study all the possibilities. Greetings!