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 - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -