RE Framwork: MaxRetryNumber vs MaxConsecutiveSystemExceptions

Hi, I’m trying to understanding what’s basic difference between maxRetryNumber vs MaxConsecutiveSystemExceptions as both retry when system exception occurred.

Can some once please explain me basic difference between maxRetryNumber vs MaxConsecutiveSystemExceptions.

Thanks.

1 Like

Heyy!!

Found the thread below… have a view on this

Regards,
NaNi

I got the basic undersatnding of MaxConsecutiveSystemExceptions.
But the think I’m not understanding what’s the basic difference between maxRetryNumber vs MaxConsecutiveSystemExceptions. Paractical difference between them.

Thanks.

MaxConsecutiveSystemExceptions = how many of the SAME System exception can occur at once

maxRetryNumber = how many system exceptions can occur

Scenario 1:
MaxConsecutiveSystemExceptions = 2
maxRetryNumber = 3

sys Exception 1 = Element A not found
sys Exception 2 = Element A not found
At this point robot will not retry the same transaction anything because the SAME system exception has occured 2 times and MaxConsecutiveSystemExceptions = 2

Scenario 2:
MaxConsecutiveSystemExceptions = 2
maxRetryNumber = 3

sys Exception 1 = Element A not found
sys Exception 2 = Element B not found
At this point robot will still retry the transaction one more time because maxRetryNumber = 3 and there are no consecutive system exceptions

Thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.