06-16-2016 06:37 AM
Hi there,
I am running the test for 32 times using For Loop and it takes nearly 1 hour to finish it.
I am using a message window to see the result after each iteration to make sure if it does not Fail the test limit and after finishing the test it generates the HTML report.
Sometimes it fails the test limit but I have to go through the whole test and repeat the fail one again.
Is it possible that if it fails the test it could repeat just that For Loop iteration only and send the latest data to the HTML report.
Regards,
Faheem
06-16-2016 06:44 AM
If you were using a proper State Machine, this would not be an issue at all. Given your situation, you should have a good look at the JKI State Machine. Here is a video introduction of it: JKI State Machine Basic Introduction
06-16-2016 07:47 AM
Hi,
Thanks for your reply. I have gone through the video on Youtube and it looks easy using JKI state machine method.
I am just finishing my project and this is the last function i need to do.
So, there is no way to do this in my case?
Thanks
Faheem
06-16-2016 08:06 AM
You can use one more for loop inside that for loop with the conditional terminal like following.
06-16-2016 12:41 PM
@Nanthakumar wrote:You can use one more for loop inside that for loop with the conditional terminal like following.
Ugh, no! You'll be trapped inside that for loop until it's done. Best to repeat the state on conditions of error and times repeated. That way you can hope to stop it in between iterations. What if the test takes 1/2 hour to do once???