REFramework : why is IniAllApplications out of FirstRun?

Hi,

I don’t understand something in REFramework. Why is InitAllApplications out of FirstRun sequence ?

In case of SystemException, process will back to Initialization, and so, InitAllApplications many times. That is potentially a problem (open apps, log in and more…).

Is it a bad idea to move it in FirstRun ?

This is for the reason that it should run whenever there is System Exception. System exception occurs when there is something wrong with the systems involved in the automation. To start a new transaction we will have to bring all the system to the starting point. This also resolves the issue of some applications gets stuck which will require a restart of it.

Yes that will be a problem but, it is a good practice to fix all the system exception whenever occurs which will be reducing this redundancy.

By default it’s given outside of the first run for the reasons I explained earlier but if your use case demands this logic to be in first run then only move it to first run.

Ok, Thanks. I just must adjust a little my process. In exemple check if app is open before open it, check if log in before log in…

Thanks for you answer.

1 Like

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