The browser is currently not supported.

Oct 11, 2012 at 11:41 PM

I want to create a CUITe_BrowserWindow bWin to use in many test methods, so I create it in the constructor method:

bWin = CUITe_BrowserWindow.Launch(url);
But it displays that error when I run the program. Where can I declare the bWin?

Oct 11, 2012 at 11:53 PM

I found the solution how to solve this, I added one line of code before declaring the bWin and it works

 bWin = CUITe_BrowserWindow.Launch(url);

Oct 12, 2012 at 1:14 AM

Instead of the constructor, you can launch the browser in a method defined with either one of the ClassInitialize or TestInitialize attributes, depending on your expected behavior.  I'm thinking TestInitialize would be best because it is run before each test.

Oct 12, 2012 at 1:16 AM

Thanks for your answer