Posted: 8 Oct 2019 3:29 EDT Last activity: 15 Oct 2019 5:57 EDT
IE and Tabs - Automation
Hi, We have developed an automation that opens various web based apps using IE. We use 1 adaptor per application as per the Pega Robotics best practice. Once automation completes the launch, users will continue working normally on these apps, bot is closed down. The users want the IE windows as Tabs. My understanding is that there is no way to launch IE windows via Pega Robotics as Tabs. Currently, the bot opens each application as a separate IE window. We thought (as a workaround) that we could drag and drop individual IE windows opened by the robot into a single IE window as tabs - This is working when opened IE windows are manually, but not when opened by a Robot. Any ideas how this end state (of getting all apps as IE tabs) can be achieved ?
There is no "best practice" way of doing this. IE treats each window as a process with each tab as a child process. When a web adapter starts IE, it does so with the command line to allow it to open in a new window (and thus a new process). If you wish to keep separate adapters, then this is not possible. If you re-interrogate all of your controls from each adapter into one adapter, then it is possible. We do not have any controls created for handling the tab control however, so you wouldn't have an easy way of switching between tabs. This would require you to re-interrogate all of your controls from all of your adapters and potentially cause matching issues, so it would require a full regression test on your part.
It is a little complicated. If you are interested, then it would take me some time to get a sample solution.
Thanks, but we simply followed the Pega best practice of 1 adaptor per application, which you are saying will not work here. This solution is practically a rewrite and retest of the bot, which is a call that my client will have to take. But for that we need to know that it will work reliably and worth spending the effort - So yes, I am interested and would appreciate a sample solution. Thank you !