iFrame flakiness

I’m having a problem but I’m not sure what is the cause.
When I run a test case that includes an iframe object, on the first run Katalon is finding the iframe but unable to click an object inside of the frame. After leaving everything as is (I’m not changing anything in the script) and just re-running the test, the object in question is found and the test passes. There are no dynamic locators or anything similar involved.
Did anyone had similar problems?
Or, is there a way to run the same test twice, under condition that the first one fails?

===

Sorry for the spoiler, here’s the question:

I’m having a problem but I’m not sure what is the cause.
When I run a test case that includes an iframe object, on the first run Katalon is finding the iframe but unable to click an object inside of the frame. After leaving everything as is (I’m not changing anything in the script) and just re-running the test, the object in question is found and the test passes. There are no dynamic locators or anything similar involved.
Did anyone had similar problems?
Or, is there a way to run the same test twice, under condition that the first one fails?

p.s. How to remove text formatting? :slight_smile: