The Alert API will be available in the next version of watir-classic, which 
will be released soonish. You can however add this functionality right now 
with creating a few monkey-patches. I'd strongly recommend that instead of 
using some watir-webdriver-incompatible API.

All the necessary changes can be seen at:
https://github.com/watir/watir-classic/commit/774f2d2384a550459386fabdf714f3b7fcb75712
 

Let me know if you have any questions.

Jarmo Pertman
-----
IT does really matter - http://itreallymatters.net


On Friday, August 17, 2012 7:02:11 PM UTC+3, hillary wrote:
>
> Is there a watir 3.0 equivalent of the webdriver alert class? Looking 
> through the code it seems to be the modal_dialog class, is that correct? 
>
> On Friday, August 17, 2012 1:39:39 AM UTC-7, Jarmo Pertman wrote:
>>
>> You should be able to use watir version 3 for testing with IE nicely 
>> together with watir-webdriver. At least that's the goal. Let us know if you 
>> have any problems.
>>
>> Jarmo Pertman
>> -----
>> IT does really matter - http://itreallymatters.net
>>
>>
>> On Friday, August 17, 2012 2:29:44 AM UTC+3, hillary wrote:
>>>
>>> My previous experience with using watir-webdriver for ie testing 
>>> resulted in it producing wildly inconsistent passes and failures (on a 
>>> codebase that i know works tests would pass that would fail on a second 
>>> run). We need to support firefox, so i'm converting my code to 
>>> watir-webdriver and I'm starting to see that inconsitency again. For those 
>>> in a similar situation, do you use webdriver to test ie? Or do you use a 
>>> mix of watir/watirwebdriver?
>>>
>>> Also does that protected mode error for xp/ie8 still exist. I've been 
>>> tracking the issue on the seleinum webdriver project and it doesn't seem 
>>> like they've fixed it. 
>>>
>>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to