Share
Go down
sathiyarengarajan
Active particpant
Active particpant
Posts : 20
Join date : 2013-08-08

How to make IDE to focus on a newly opened tab?

on Thu Aug 08, 2013 3:45 pm
In application, clicking a click will open in a new tab. I want IDE to focus on the newly opened tab and perform operations.
Can someone please help on how to do this.
Thanks in advance.
sathiyarengarajan
Active particpant
Active particpant
Posts : 20
Join date : 2013-08-08

Re: How to make IDE to focus on a newly opened tab?

on Thu Aug 08, 2013 8:43 pm
Try with option
selectWindow()
Just provide the window title name withing ().
For Ex:
Window Title is Testing, then
command : selectWindow
title : TestingĀ 

To know the title of the newly opened window follow the steps:
Go to the new window
Right click->view page source
Press ctrl+F.
Type title and serch.
You will get the title of the new window
sathiyarengarajan
Active particpant
Active particpant
Posts : 20
Join date : 2013-08-08

Re: How to make IDE to focus on a newly opened tab?

on Thu Aug 29, 2013 11:40 pm
Selenium IDE is a firefox plugin.
Firefox blocks the newly opening windows/tabs when you replay the scripts recorded in selenium IDE.
You should change the firefox settings to allow opening of new windows/tabs.
Hope this helps.

Thanks.
Sponsored content

Re: How to make IDE to focus on a newly opened tab?

Back to top
Permissions in this forum:
You cannot reply to topics in this forum