The browser is currently not supported.

Oct 12, 2012 at 12:41 AM

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 12, 2012 at 12:53 AM

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

 Playback.Initialize(); 
 bWin = CUITe_BrowserWindow.Launch(url);

Coordinator
Oct 12, 2012 at 2: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 2:16 AM

Thanks for your answer