Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

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

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
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

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

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.

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