
| Key: |
SEL-171
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
john wilson
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Selenium
Created: 14/Dec/05 10:47 PM
Updated: 16/Oct/06 02:07 AM
|
|
| Component/s: |
Waiting
|
| Affects Version/s: |
0.5,
0.6
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Win 2K, firefox and IE, tomcat 5.5.9
|
|
Issue Links:
|
Relationship
|
|
This issue Relates to:
|
|
SEL-42
click + wait doesn't wait on meta ref...
|
|
|
|
|
|
|
|
wait will fail on redirected page.
the command I used was clickAndWait.
the link will popuplate a page (PageA) which will be redirected to another page(PageB) using response.sendRedirect(in JSP).
I think the reason why it will fail is that the browser will send onload event when PageA is loaded. But we should wait for PageB's onload event for wait loop to end.
|
|
Description
|
wait will fail on redirected page.
the command I used was clickAndWait.
the link will popuplate a page (PageA) which will be redirected to another page(PageB) using response.sendRedirect(in JSP).
I think the reason why it will fail is that the browser will send onload event when PageA is loaded. But we should wait for PageB's onload event for wait loop to end. |
Show » |
|
testcase will be like this:
home has a link pointing to PageA named linkToA
home.html: <a href="PageA" id="linkToA">link</a>
PageA.jsp: <%response.sendRedirect("PageB.html");%>
PageB.html: <body>some text</body>
open home
clickAndWait linkToA
verifyTextPresent some text