Quality Testing

Quality is delighting customers

Hi All,

How to handle multiple window using Selenium scripts?

While running the script, Selenium always focusing on parent window. Not focusing to new window

 have tried with 'WindowsFocus' command also.

But still not working.

 

Please help me with a solution.

Thanks in advance.

Regards,

Saritha S.P.

Views: 911

Reply to This

Replies to This Discussion

Hi Saritha,
can you provide the link of webpage and your script?
thank u

Hi Harish,

Sorry I was out of station..

I have attached the script

http://www.monsterindia.com/index.html

This is the link.If you select each category, Jobs in respective areas will be displayed.

On selecting each job heading, it will open in new tab. After you you want to apply for a job or select any link in new ttab, its not possible.

At that time Selenium is focusing on parent tab.

Please check and let me know a solution for it.

Thanks in Advance.

Regards,

Saritha S.P.

 

Attachments:
Hi,

can you try with selectwindow("title=");

Thanks.

Hi Sitaram,

I have tried with Select window also.

But its not recognizing the window :(

Regards,

Saritha S.P.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service