I have created a .Net C# application in which I have embedded the WatiN inside the webbrowser control.Following is my code
Settings.AutoStartDialogWatcher = false; IE ie = new IE(WebBrowser1.ActiveXInstance);
This works fine for all controls except for FileDialog. When automating the FileDialog control, the code is as below
ie.FileUpload(Find.ByName("Fileupload_1")).Set("c:\test.pdf");
When this code runs, since the dialogwatcher is not available, it shows an error.
Please help me on this. Thanks in Advance.