Chrome Multiple Tab Issue
Chrome Multiple Tab Issue
In my application I have links that open new tabs that I would like to test. The Ranorex View Spy is having trouble detecting objects in Chrome when multiple tabs are opened. I do have the Ranorex Extension installed for Chrome. Has anyone else come across this issue before?
Re: Chrome Multiple Tab Issue
You will not be able to test multiple tabs with exactly the same site/page open at the same time. Ranorex finds the first match to whatever it is looking for, which means one page will get tested and the other(s) won't.
Is there a reason you need to test multiple tabs of the same page at the same time?
Is there some way to differentiate the pages? Is there a difference in the URL, or maybe a customer ID on the page, etc., that you could use?
Is there a reason you need to test multiple tabs of the same page at the same time?
Is there some way to differentiate the pages? Is there a difference in the URL, or maybe a customer ID on the page, etc., that you could use?
Shortcuts usually aren't...
Re: Chrome Multiple Tab Issue
Sorry for the confusion. The new tabs that are opened are not of the same page. They are brand new pages with the same domain but different URLs. The issue is that Spy does not see objects in these new tabs at all.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Chrome Multiple Tab Issue
Hi,
This is strange!
Spy shouldn't have any issues to detect the elements on new tabs when it was able to identify the web elements of the first tab.
Do you set the focus on the new tab before you track the elements?
May I ask you to illustrate your issue with some screenshots?
Thanks,
Markus
This is strange!
Spy shouldn't have any issues to detect the elements on new tabs when it was able to identify the web elements of the first tab.
Do you set the focus on the new tab before you track the elements?
May I ask you to illustrate your issue with some screenshots?
Thanks,
Markus
Re: Chrome Multiple Tab Issue
How do I set focus on the new tab?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Chrome Multiple Tab Issue
Hi,
You just need to Invoke EnsureVisible on the root dom repository item of the tab as shown below: Regards,
Markus
You just need to Invoke EnsureVisible on the root dom repository item of the tab as shown below: Regards,
Markus
You do not have the required permissions to view the files attached to this post.
Re: Chrome Multiple Tab Issue
Here is a screenshot of the View Spy Track trying to find objects in the page.
Here is a screenshot of View Spy when I enter the path to an element in the page when both tabs are open.
Here is a screenshot of View Spy when I enter the path to the same element in the page after one tab is closed.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Chrome Multiple Tab Issue
Hi,
This should normally work without any issues.
May therefore ask you which browser and Ranorex version you are using and if you could upload or send (to [email protected]) a Ranorex snapshot file of your Host element when more taps are open?
This will help us in anlayzing the issue!
Thanks,
Markus
This should normally work without any issues.
May therefore ask you which browser and Ranorex version you are using and if you could upload or send (to [email protected]) a Ranorex snapshot file of your Host element when more taps are open?
This will help us in anlayzing the issue!
Thanks,
Markus