<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/watin/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/watin/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/watin/bugs/</id><updated>2018-11-29T11:11:18.799000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Button Click that shows confirm box stops next line of code execution</title><link href="https://sourceforge.net/p/watin/bugs/297/" rel="alternate"/><published>2018-11-29T11:11:18.799000Z</published><updated>2018-11-29T11:11:18.799000Z</updated><author><name>rajesh</name><uri>https://sourceforge.net/u/rajeshjha153/</uri></author><id>https://sourceforge.net591dcd22a67c42436f12639b00be0a6577d38fe0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a button click that works properlly and it shows a confirm box. Confirm box also displayed but just after this button click my code execution stops to go to the next line of code where i wrote code to handle  with confirm box.&lt;/p&gt;
&lt;p&gt;My code sample is as below&lt;br/&gt;
                     browser.Button(Find.ById("cphMaster_btnPublish")).Click(); // This line shows the confirm box but debugging does not go to the next line&lt;br/&gt;
                browser.WaitForComplete();&lt;br/&gt;
                ConfirmDialogHandler ConfirmDialogHandler = new ConfirmDialogHandler();&lt;br/&gt;
                using (new UseDialogOnce(browser.DialogWatcher, ConfirmDialogHandler))&lt;br/&gt;
                {&lt;br/&gt;
                    ConfirmDialogHandler.WaitUntilExists();&lt;br/&gt;
                    ConfirmDialogHandler.OKButton.Click();&lt;br/&gt;
                    browser.WaitForComplete();&lt;br/&gt;
                }&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Watin.Core 2.0 Frame issue (after IE update)</title><link href="https://sourceforge.net/p/watin/bugs/296/" rel="alternate"/><published>2016-11-15T07:17:30.175000Z</published><updated>2016-11-15T07:17:30.175000Z</updated><author><name>Krzysztof Lechowicz</name><uri>https://sourceforge.net/u/leho36/</uri></author><id>https://sourceforge.net7a99dcd7901478435e9bbdd4e208f6a21e5ea6b3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;there was an IE update during the weekend and after that I'm getting an error during a simple operation:&lt;br/&gt;
WatiN.Core.Frame wrkspace = ie.Frame(WatiN.Core.Find.ById("workSpace"));&lt;/p&gt;
&lt;p&gt;The error I'm getting is:&lt;br/&gt;
System.InvalidCastException: Unable to cast COM object of type 'mshtml.HTMLDocumentClass' to interface type 'mshtml.DispHTMLDocument'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3050F55F-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).&lt;br/&gt;
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)&lt;br/&gt;
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)&lt;br/&gt;
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData&amp;amp; msgData)&lt;br/&gt;
   at mshtml.HTMLDocumentClass.get_all()&lt;br/&gt;
   at WatiN.Core.Native.InternetExplorer.AllFramesProcessor..ctor(HTMLDocument htmlDocument)&lt;br/&gt;
   at WatiN.Core.Native.InternetExplorer.IEDocument.get_Frames()&lt;br/&gt;
   at WatiN.Core.FrameCollection..ctor(DomContainer domContainer, INativeDocument htmlDocument)&lt;br/&gt;
   at WatiN.Core.Document.get_Frames()&lt;br/&gt;
   at WatiN.Core.Document.Frame(Constraint findBy)&lt;/p&gt;
&lt;p&gt;I tired to do something about this but with no success. I hope you can help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#271 IE9 FileDialogHandler Not handled</title><link href="https://sourceforge.net/p/watin/bugs/271/?limit=25#d807" rel="alternate"/><published>2013-12-10T16:02:42.876000Z</published><updated>2013-12-10T16:02:42.876000Z</updated><author><name>JoeBilly</name><uri>https://sourceforge.net/u/joebilly/</uri></author><id>https://sourceforge.neta5937ac86ea2b41923e67904eba5c6cbd960373c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;+1 for a full support in Watin for this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>W3wp.exe crashes on AlertDialog.</title><link href="https://sourceforge.net/p/watin/bugs/295/" rel="alternate"/><published>2013-12-02T22:32:46.793000Z</published><updated>2013-12-02T22:32:46.793000Z</updated><author><name>rajan bhayana</name><uri>https://sourceforge.net/u/rajanbhayana/</uri></author><id>https://sourceforge.netc590544053740af241843fc7f698342d99e446d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;W3wp.exe crashes on AlertDialog.&lt;/p&gt;
&lt;p&gt;We have a scenario. On the test cases, we handle 2 back to back dialog. One is for confirmation and then next is alert. We handle it the following way.&lt;/p&gt;
&lt;p&gt;ConfirmDialogHandler handler = new ConfirmDialogHandler();&lt;br /&gt;
            using (new UseDialogOnce(myBrowser.DialogWatcher, handler))&lt;br /&gt;
            {&lt;br /&gt;
                myBrowser.Link(Find.ByText(Button)).ClickNoWait();&lt;br /&gt;
                handler.WaitUntilExists();&lt;br /&gt;
                handler.OKButton.Click();&lt;br /&gt;
            }&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;        &lt;span class="n"&gt;AlertDialogHandler&lt;/span&gt; &lt;span class="n"&gt;alertDialogHandler&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;new&lt;/span&gt; &lt;span class="n"&gt;AlertDialogHandler&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="n"&gt;using&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;new&lt;/span&gt; &lt;span class="n"&gt;UseDialogOnce&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;myBrowser&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;DialogWatcher&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;alertDialogHandler&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;System&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Threading&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Thread&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Sleep&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
            &lt;span class="n"&gt;alertDialogHandler&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;WaitUntilExists&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
            &lt;span class="n"&gt;alertDialogHandler&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;OKButton&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Click&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="n"&gt;myBrowser&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;WaitForComplete&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;this part is working fine.&lt;br /&gt;
but on the next page, we again have to handle a alert box which is done by following.&lt;br /&gt;
using (new UseDialogOnce(myBrowser.DialogWatcher, handler3))&lt;br /&gt;
            {&lt;br /&gt;
                myBrowser.Links&lt;span&gt;[13]&lt;/span&gt;.Click();&lt;br /&gt;
                handler3.WaitUntilExists();&lt;br /&gt;
                handler3.OKButton.Click();&lt;br /&gt;
            }&lt;br /&gt;
            myBrowser.WaitForComplete();&lt;/p&gt;
&lt;p&gt;we have tried many other ways to find link and click (using ID, text,name etc), but everytime click event is raised. w3wp.exe crashes giving an unhandled exception. wehave tried ie 9, 10, 11. tried going through dumps, many work arounds but nothing. Anyone aware of this?&lt;/p&gt;
&lt;p&gt;Fault bucket , type 0&lt;br /&gt;
Event Name: APPCRASH&lt;br /&gt;
Response: Not available&lt;br /&gt;
Cab Id: 0&lt;/p&gt;
&lt;p&gt;Problem signature:&lt;br /&gt;
P1: w3wp.exe&lt;br /&gt;
P2: 7.5.7601.17514&lt;br /&gt;
P3: 4ce7a5f8&lt;br /&gt;
P4: KERNELBASE.dll&lt;br /&gt;
P5: 6.1.7601.18229&lt;br /&gt;
P6: 51fb1116&lt;br /&gt;
P7: c06d007e&lt;br /&gt;
P8: 0000c41f&lt;br /&gt;
P9: &lt;br /&gt;
P10: &lt;/p&gt;
&lt;p&gt;Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8&lt;br /&gt;
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1116&lt;br /&gt;
Exception code: 0xc06d007e&lt;br /&gt;
Fault offset: 0x0000c41f&lt;br /&gt;
Faulting process id: 0x540&lt;br /&gt;
Faulting application start time: 0x01ceef1094f08923&lt;br /&gt;
Faulting application path: C:\windows\SysWOW64\inetsrv\w3wp.exe&lt;br /&gt;
Faulting module path: C:\windows\syswow64\KERNELBASE.dll&lt;br /&gt;
Report Id: a40edc53-5b04-11e3-ae36-681729c76d3d&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#293 Div click does not work</title><link href="https://sourceforge.net/p/watin/bugs/293/?limit=50#3c8d" rel="alternate"/><published>2013-10-19T01:09:17.546000Z</published><updated>2013-10-19T01:09:17.546000Z</updated><author><name>WillCat</name><uri>https://sourceforge.net/u/wbk2/</uri></author><id>https://sourceforge.netc158ae7790871b761abe81570bd72e1ffe8825af</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not sure what you are trying to accomplish, but to put text in the source field and have it translated you would do something like &lt;/p&gt;
&lt;p&gt;IE myIE = new IE("http://translate.google.com/");&lt;br /&gt;
myIE.TextField(Find.ById("source")).TypeText("this is a test");&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Watin.org site has a broken documentation link</title><link href="https://sourceforge.net/p/watin/bugs/294/" rel="alternate"/><published>2013-03-14T15:48:50.707000Z</published><updated>2013-03-14T15:48:50.707000Z</updated><author><name>Don Beckman</name><uri>https://sourceforge.net/u/donwa99/</uri></author><id>https://sourceforge.net1d713958f0501745afa544febc746df3e7af677e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The link for "MSDN style online documentation" doesn't work on this page:&lt;br /&gt;
&lt;a href="http://watin.org/documentation/"&gt;http://watin.org/documentation/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I click on it using IE8, I'm taken to this page:&lt;br /&gt;
&lt;a href="http://watin.org/doc/index.html"&gt;http://watin.org/doc/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The message says:  NOT FOUND&lt;br /&gt;
Sorry, but you are looking for something that isn't here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Div click does not work</title><link href="https://sourceforge.net/p/watin/bugs/293/" rel="alternate"/><published>2012-11-30T18:24:18.313000Z</published><updated>2012-11-30T18:24:18.313000Z</updated><author><name>zxpwolf</name><uri>https://sourceforge.net/u/zxpwolf/</uri></author><id>https://sourceforge.net45b7f953e1d43c93d5e5050f8eecbd64fbdcf773</id><summary type="html">I am trying to use Watin to test the google translalte page, but that the source language and target language div could not be open by calling the following functions:
 browser.Div(Find.ById("gt-sl-gms")).FireEvent("onclick");
or
 browser.Div(Find.ById("gt-sl-gms")).click();

 browser.Div(Find.ById("gt-tl-gms")).FireEvent("onclick");
or
 browser.Div(Find.ById("gt-tl-gms")).click(); 


Please advice. Thanks a lot!</summary></entry><entry><title>#292 Documentation page is out.</title><link href="https://sourceforge.net/p/watin/bugs/_discuss/thread/145fe077/" rel="alternate"/><published>2012-11-10T20:27:27.094000Z</published><updated>2012-11-10T20:27:27.094000Z</updated><author><name>Piotr Owsiak</name><uri>https://sourceforge.net/u/piotrowsiak/</uri></author><id>https://sourceforge.netf398570541479aebc5bec97143697286d2fb474e</id><summary type="html">Yeah, I think it's been this way for a long time now.
These kind of things basically tell me to keep away from a project a go find an alternative that is maintained.
Actually I had more troubles with WatiN and with my next project I think I'll use either Watir or Selenium.</summary></entry><entry><title/><link href="https://sourceforge.net/p/watin/bugs/292/" rel="alternate"/><published>2012-10-16T14:43:20.744000Z</published><updated>2012-10-16T14:43:20.744000Z</updated><author><name>André Juliano</name><uri>https://sourceforge.net/u/andre-juliano/</uri></author><id>https://sourceforge.net1db8e734fc38f8395286bde5b6b18662c41736fd</id><summary type="html"/></entry><entry><title/><link href="https://sourceforge.net/p/watin/bugs/291/" rel="alternate"/><published>2012-09-15T17:55:06.638000Z</published><updated>2012-09-15T17:55:06.638000Z</updated><author><name>Jeroen van Menen</name><uri>https://sourceforge.net/u/jvmenen/</uri></author><id>https://sourceforge.net60828af042b94b97a544a3dc4b60bbd387f13788</id><summary type="html"/></entry></feed>