Display results as :
Advanced Search

Go down
Posts : 2
Join date : 2011-01-11

run each test website in new tab Empty run each test website in new tab

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 : 387
Join date : 2009-07-30
Location : India

run each test website in new tab Empty Re: run each test website in new tab

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.

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