Hi,
In my automation process I need to work with two web applications.
One application, I need to open, search and get data, loop through data and process.
Then I need to work with the processed data in the second application.
So my question is do I open the two web applications in the init part of the REFramework? Thank you,
Commonly in Initallapplication xaml we will launch the application and login process only. The process in that application will do it in the Process state.
Because the login will happen only once for application the Initialization will execute the bot for first transaction only, for every transaction if we login to application it drains time, that’s why we will give the login process in Initallapplication xaml.
Initialization: The “Init” state is primarily used for initialization tasks at the start of your automation process. This is where you set up your environment, configure settings, and prepare everything needed for the actual processing.
Application Launch: If an application needs to be opened at the very beginning of the automation and should remain open throughout the process, you can launch it in the “Init” state. This ensures the application is ready for use during the entire automation run.
Examples: Opening a web browser to access a login page or launching an application that needs to run continuously in the background.
Process State:
Processing Tasks: The “Process” state is where the core processing tasks of your automation take place. This is where you perform data extraction, manipulation, and any actions specific to your business logic.
On-Demand Application Launch: If an application is only needed at a certain point within your automation workflow or is opened and closed multiple times during the process, you should launch it within the “Process” state when it’s required.
Examples: Opening a second web application after extracting data from the first one, interacting with applications based on conditional logic, or launching applications for specific data processing steps.
.
If both web applications need to be open throughout the entire automation process and they don’t consume excessive resources or require complex exception handling, you can open them in the Init state. Just make sure to handle any exceptions that might occur during this phase.