Technical Articles
How to run a SAP Intelligent Robotic Process Automation web application bot in a preferred browser and with a maximized screen?
Many a time, we often find that when we run our web application bot during debugging or during the actual execution of an operation, the browser (especially Internet Explorer) opens up in a minimized screen.
This sometimes hinders the user/developer to see the actual page on the browser during execution.
If you are also facing the same issue, you have reached the right blog.
The start method has a parameter to get the launch window maximized as shown below.
MyAppli.start(null, null, null, e.launchFlag.ShowMaximized);
More details about this start method could be obtained from the wiki page.
Though IE is by default the preferred browser, there might be some reasons in which a user/developer might want to execute the bot with a different browser.
In that case, SAP Intelligent Robotic Process Automation provides an option to execute the bot with the preferred choice of browser.
At the start of the application, set the required navigator. Include the following piece of code:
MyAppli.navigator = e.navigator.<browser>
More details about this could be obtained from the following wiki page.
Hope this helps. 🙂
Hello Jai,
I have found your advice useful, however changing generated code in iRPA requires setting additional Merge tool (obviously changed code must be merged with generated during the build). Do you have any advice for that?
Is there any other option to maximize web browser window in iRPA? How should I use keyStroke activity with _Win_ + _Up_ parameter?
Thanx, JV