Watin throws exception when Attach to IE -


I am using my automation framework but I keep getting this error: the system Unauthorized exception: The specified cast is not valid. Enter the image details here

  IE newIE = IE.AttachTo & lt; IE & gt; (Find bürl (new reggae ("test.aspx"));   

What's the reason for this? Thanks!

Please make sure that you have added the 'Interop.SHDocVw' reference and create an 'Embedded Interop' property Also try testing with 'False' with admin rights.

Thanks,

Evening _

Comments

Popular posts from this blog

c - Performance of System() -

python - how we can use ajax() in views.py in django? -

python - Sequence Pattern recognition with Pybrain -