Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

ansar313

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.

Bye
avatar
Adviser
------------------------
------------------------

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

http://seleniumforum.forumotion.net

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