This project is read-only.

CUITe_BrowserWindow.GetBrowserWindow is not working

Jun 6, 2014 at 3:21 AM
HI,
I am using Visual Studio 2012 + Cuite .net framework 4.5

Created ObjectRepository(Folder) -> OR.CS(Cuite Code)

In the Below Code BrowserWindow.Launch is working, but Next step is not working throwing error.

Code :

public void CodedUITestMethod1()
    {
        CUITe_BrowserWindow.Launch("http://google.com");

        OR Obrow = CUITe_BrowserWindow.GetBrowserWindow<OR>();

        Obrow.spnGmail.Click();
        Obrow.spnSignIn.Click();
       }
Error :
Test method CodedUITestProject1.CodedUITest2.CodedUITestMethod1 threw exception:

System.IO.FileNotFoundExcepton
Jun 6, 2014 at 4:07 AM
Hi.

Can you paste the entire error message and stacktrace please?

Thank you.
Jun 6, 2014 at 4:16 AM
HI,

Thanks for the Response. I just Started POC using Coded UI.

I Fixed the Issue. I understand UITest.Extension.Silverlight was not present in the References. So after Enable that, issue got resolved.