Display results as :

Rechercher Advanced Search

Latest topics

run each test website in new tab

View previous topic View next topic Go down

run each test website in new tab

Post by ansar313 on Wed Jan 12, 2011 12:19 am

hi to all
excuse me
i can't write English very well.
i place web test code in while loop and i want each test code inside while loop run in a new tab
please help me


Posts : 2
Join date : 2011-01-11

Back to top Go down

Re: run each test website in new tab

Post by Adviser on Fri Jan 28, 2011 7:46 pm

If you want just open all you link present in your site in a tab window then it's certainly possibly by just make your browser setting to "open each link in new tab"

but if you want to open a separate URL in a same browser through selenium then it's really difficult because every time selenium start browser it assign session id to that browser and all operation is performed on that session id but you cant work on same browser with different url with same session id.

The possible option you can try:

1. try to use reuse session id command while invoking selenium server. for help refer selenium server manual.
2. open each URL into different browser to perform operation on each browser separately.
3. try to user selectWindow command if you are able to pen all your link into tabs

hope this will give you little bit help. Best of luck.


Posts : 379
Join date : 2009-07-30
Location : India

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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