Hi, I just started playing with the Telerik Testing Framework and I have been able to do a lot of cool things, but I have also discovered a lot of stumbling blocks along the way. My first problem is that I cannot create a chrome browser window that starts minimized. I can do this with internet explorer just fine, but it seems to be ignored by chrome. Why is that? Here's a quick sample VB code:
To be honest I would actually prefer the ProcessWindowStyle.Hidden option but I read somewhere that it doesn't work. Is Minimized the same thing? Why are these offered as options if they do not work? I am able to use pinvoke to minimize and hide the window *AFTER* the telerik framework has been enabled for automation, but this takes a few seconds and I would really prefer not to see that screen popup everytime I am running a new test. Is there any way to get this to work with chrome?
Dim oSettings As Settings = New Settings()
oSettings.Web.DefaultBrowser = BrowserType.Chrome
Dim oManager As Manager = New Manager(oSettings)
oManager.Start()
oManager.LaunchNewBrowser(oSettings.Web.DefaultBrowser, True, ProcessWindowStyle.Minimized)
To be honest I would actually prefer the ProcessWindowStyle.Hidden option but I read somewhere that it doesn't work. Is Minimized the same thing? Why are these offered as options if they do not work? I am able to use pinvoke to minimize and hide the window *AFTER* the telerik framework has been enabled for automation, but this takes a few seconds and I would really prefer not to see that screen popup everytime I am running a new test. Is there any way to get this to work with chrome?