Managing multiple browser tabs/windows in one TestSuite

Ask general questions here.
Posts: 4
Joined: Mon Mar 02, 2020 9:37 am

Managing multiple browser tabs/windows in one TestSuite

Post by CluelessCoder » Mon Mar 02, 2020 1:24 pm


currently the company I'm working for is using a self written TestSuite using selenium which is managing multiple browser instances without any issue. We achieved that by just using multiple WebDrivers, but I did not find any solution on how to run multiple tabs or chrome instances and how to switch between them using ranorex, which we intend to switch to if it meets our requirements.

The test should do something in tab/instance one, and verify the result in another tab, in this case in Salesforce.
This could be done by logging out of Salesforce and logging in again on the other domain, but that takes much time and has to be done for every single test case. This would increase the execution time by more than double!

This is a lot faster if it were possible to have two sessions at once in different tabs or windows and just switching between them.
How is this done in ranorex?

Thank you in advance and greetings from Germany!

User avatar
Posts: 284
Joined: Wed Jan 25, 2017 11:08 am

Re: Managing multiple browser tabs/windows in one TestSuite

Post by qwertzu » Tue Mar 03, 2020 3:00 pm


With Ranorex it is much more easier to set up a web test for multiple pages or tabs than it is with Selenium.
Ranorex simply differentiates elements of different tabs or windows with their RanoreXPath. You can easily automate multiple windows and also switch between them without problems.
You just need to make sure to use unique paths to your elements, so that Ranorex can find them. In fact, most of the time Ranorex automatically finds paths for you that should work perfectly fine.

regards, qwertzu