History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: WTR-2
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Charley Baker
Reporter: Bret Pettichord
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Watir
Support Modal Web Dialogs (WTR-1)

remove WIN32OLE patch for Modal Web Dialog Support

Created: 10/Mar/06 03:55 PM   Updated: 10/Jun/08 02:12 PM
Component/s: Modal Web Dialog
Affects Version/s: None
Fix Version/s: 1.6.2

Original Estimate: Unknown Remaining Estimate: 24h Time Spent: 72h
Issue Links:
Dependency
 
This issue is depended on by:
WTR-178 Ruby 1.8.6 modal dialog support Critical Open


 Description  « Hide
* Patch WIN32OLE to allow it create OLE reference from a pointer obtained from dl/win32.

 All   Comments   Work Log   Change History      Sort Order:
Bret Pettichord - 14/Dec/06 07:46 AM
Actually another way to the undefined method "connect_unknown" error is to require 'win32ole' before requiring watir.

Thus

Make sure you DONT DO THIS:

require 'win32ole'
require 'watir'

but instead DO THIS:

require 'watir'
require 'win32ole'

Bret Pettichord - 15/Jan/07 11:27 AM
The current modal_dialog code only works with Ruby 1.8.2. Or more specifically, the win32ole changes that we made to support modal dialogs only work with Ruby 1.8.2.

Bret Pettichord - 13/Oct/07 10:41 PM
The patch was made, but now we think this is causing issues. A better solution would be to wrap IEDialog.dll with an Active X control.