
|
If you were logged in you would be able to see more operations.
|
|
|
WET
Created: 30/Mar/06 02:40 PM
Updated: 12/Jul/07 07:45 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.2
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Stephanie Mayfield writes:
I have two browser windows that have the same title and
the same URL, but a different user is logged into each
window. Both windows need to be active at the same
time. Whenever I try to switch between windows,
WET/Watir gets confused and only the second window's
processing is successful.
So I have something like this:
Create a browser for user1
Log in User 1
Create a browser for user2
Log in user 2
If I refer to user1 here, nothing really happens. Visually,
the window switches and appears to do what it's told.
But at the end of the processing, only the commands
happening on user2's browser actually occur.
And both browsers display what should only be
displayed for user 2's browser.
I was going to attempt to use attach to be sure I'm using
the window I want to use, however both browsers have
the same title and the same URL. Is there some other
method to indicate which browser window you wish to
attach to?
Currently it is not possible to say:
Browser("title:=xyz", "index:=1")
|
|
Description
|
Stephanie Mayfield writes:
I have two browser windows that have the same title and
the same URL, but a different user is logged into each
window. Both windows need to be active at the same
time. Whenever I try to switch between windows,
WET/Watir gets confused and only the second window's
processing is successful.
So I have something like this:
Create a browser for user1
Log in User 1
Create a browser for user2
Log in user 2
If I refer to user1 here, nothing really happens. Visually,
the window switches and appears to do what it's told.
But at the end of the processing, only the commands
happening on user2's browser actually occur.
And both browsers display what should only be
displayed for user 2's browser.
I was going to attempt to use attach to be sure I'm using
the window I want to use, however both browsers have
the same title and the same URL. Is there some other
method to indicate which browser window you wish to
attach to?
Currently it is not possible to say:
Browser("title:=xyz", "index:=1") |
Show » |
|
(Currently we are supporting only title and the url..)
Browser("title:=xyz", "time_of_creation:=xyz", "index:=1")