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
WTR-1

remove WIN32OLE patch for Modal Web Dialog Support

Created: 10/Mar/06 03:55 PM   Updated: 24/Nov/08 02:04 PM
Component/s: Modal Web Dialog
Affects Version/s: None
Fix Version/s: Soon

Issue Links:
Dependency
 


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


Sort Order: Ascending order - Click to sort in descending order
Bret Pettichord added a comment - 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 added a comment - 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 added a comment - 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.