selenium-google-code-issue-archive icon indicating copy to clipboard operation
selenium-google-code-issue-archive copied to clipboard

WebDriver control is not returned to webdriver after performing operations with File Download dialog

Open lukeis opened this issue 9 years ago • 2 comments

Originally reported on Google Code with ID 8219

Selenium version: 2.43.0
OS: Windows 7 enterprise
Browser:IE
Browser version:11

Steps to replicate:
1. Login to http://www.toolsqa.com/automation-practice-form/
2. Perform  click () on Selenium Automation Hybrid Framework
3. Perform some operation on the pop up using awt robot 
4. Again try to perform operation on the browser, Null pointer exception is thrown
and  WindowHandler is identified as NULL




Reported by vnarenprasath on 2014-11-26 13:13:42

lukeis avatar Mar 04 '16 09:03 lukeis

Reproduced in IE11, IEDriverServer is waiting in a loop for ReadyState to be 'complete':

T 2015-04-02 22:31:28:429 Browser.cpp(679) Entering Browser::GetActiveDialogWindowHandle
T 2015-04-02 22:31:28:429 Browser.cpp(192) Entering Browser::GetContentWindowHandle
D 2015-04-02 22:31:28:430 Browser.cpp(459) Browser ReadyState is not '4', indicating
'Complete'; it was 3
T 2015-04-02 22:31:28:431 IECommandExecutor.cpp(393) Entering IECommandExecutor::WaitThreadProc
T 2015-04-02 22:31:28:631 IECommandExecutor.cpp(208) Entering IECommandExecutor::OnWait
T 2015-04-02 22:31:28:631 IECommandExecutor.cpp(586) Entering IECommandExecutor::GetCurrentBrowser
T 2015-04-02 22:31:28:631 IECommandExecutor.cpp(592) Entering IECommandExecutor::GetManagedBrowser
T 2015-04-02 22:31:28:631 Browser.cpp(424) Entering Browser::Wait
D 2015-04-02 22:31:28:631 Browser.cpp(428) Navigate Events Completed.
T 2015-04-02 22:31:28:631 Browser.cpp(679) Entering Browser::GetActiveDialogWindowHandle
T 2015-04-02 22:31:28:631 Browser.cpp(192) Entering Browser::GetContentWindowHandle
D 2015-04-02 22:31:28:632 Browser.cpp(459) Browser ReadyState is not '4', indicating
'Complete'; it was 3
T 2015-04-02 22:31:28:632 IECommandExecutor.cpp(393) Entering IECommandExecutor::WaitThreadProc
T 2015-04-02 22:31:28:832 IECommandExecutor.cpp(208) Entering IECommandExecutor::OnWait
T 2015-04-02 22:31:28:832 IECommandExecutor.cpp(586) Entering IECommandExecutor::GetCurrentBrowser
T 2015-04-02 22:31:28:832 IECommandExecutor.cpp(592) Entering IECommandExecutor::GetManagedBrowser
T 2015-04-02 22:31:28:832 Browser.cpp(424) Entering Browser::Wait

Reported by barancev on 2015-04-02 19:59:43

  • Labels added: Browser-IE
  • Labels removed: Status-Untriaged

lukeis avatar Mar 04 '16 09:03 lukeis

Reported by luke.semerau on 2015-09-17 17:47:30

  • Labels added: Restrict-AddIssueComment-Commit

lukeis avatar Mar 04 '16 09:03 lukeis