This is a migrated thread and some comments may be shown as answers.

Getting an Unable to launch recorder message in Test Studio

1 Answer 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 22 Feb 2017, 09:15 PM

Trying to launch a desktop web recording in IE 11 and I'm getting an "Unable to launch recorder" message.  Test Studio launches the website just fine but doesn't start the recording.  I'm currently VPNed into a network with a proxy server connection set for it in IE 11.  Test Studio is installed on Windows 10 running on a VM.  I've posted the log file below:

 

[02/22 12:39:45,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:39:57,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=1824, Path="C:\Program Files\Internet Explorer\iexplore.exe", Arguments="-nomerge http://192.168.177.22/").
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:03,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=852048)...
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.Start() : Process launched (ID=5812, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments=""C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Connector.dll",AttachToWindowEntryPoint 1508484").
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.Start() : Process exited (ID=5812, ExitCode=0, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments=""C:\Program Files (x86)\Telerik\Test Studio\Bin\ArtOfTest.Connector.dll",AttachToWindowEntryPoint 1508484").
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process "Telerik.TestStudio.Desktop" (ID=4984) is assumed to host the controller.
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.InjectCode() : ------- Function Start -------
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] Connector.InjectCode() : Connection string: C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\v4.0_2017.1.207.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?4984
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:14),Framework] InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 1508484 on another thread...
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16)] First trace message from pool thread "WaitAsync polling wait worker" (managed ID = 16, native ID = 2792).

(Repeats Several Times)
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16),Framework] <>c__DisplayClass25_3.<WaitForDocument>b__1() : Attempting to get document from window handle
[02/22 12:40:04,Telerik.TestStudio.Desktop.exe(4984:16),Error] <>c__DisplayClass25_3.<WaitForDocument>b__1() : EXCEPTION! (see below)
     Situation: Internet Explorer Window handle (1508484) has not initialized its document
     Outer Exception Type: System.ArgumentNullException
     Message: Value cannot be null.
          Parameter name: Unable to find the 'Internet Explorer Server' window under the provided hwnd '1508484'
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.GetDocumentFromHwnd(IntPtr hwnd)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.<>c__DisplayClass25_3.<WaitForDocument>b__1(Object o)

(Repeats Several Times)

[02/22 12:41:04,Telerik.TestStudio.Desktop.exe(4984:14),Recording] IERecorderManager.LaunchNewRecorder() : EXCEPTION! (see below)
     Outer Exception Type: System.ApplicationException
     Message: Exception thrown attempting to launch Internet Explorer. Please make sure Internet Explorer is properly installed and you are able to launch it.
     HRESULT: 0x80131600 (Official ID (if app.) = COR_E_APPLICATION, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5632)
     Call Stack:
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)
          at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
          at Telerik.TestStudio.Web.IERecorder.IERecorderManager.LaunchNewRecorder(Action`2 asyncCallback, FloatingUIMode mode, BrowserType browserType, String arguments)
     Inner Exception Type: System.TimeoutException
     Message: Wait for condition has timed out
     HRESULT: 0x80131505 (Official ID (if app.) = COR_E_TIMEOUT, Error Bit = FAILED, Facility = FACILITY_URT, Code = 5381)
     Call Stack:
          at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
          at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Int32 timeout)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.WaitForDocument(IntPtr hwnd, Int32 waitTimeout)
          at ArtOfTest.Common.Win32.Connector.InjectCode(IntPtr handle, String assemblyAndClass, String pipename, String pid, Boolean waitForDocument, Int32 waitForDocumentTimeout, String navigateUrl)
          at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.LaunchNewBrowserInstance(Int32 timeout, ProcessWindowStyle windowStyle, String pipename, String url)
[02/22 12:41:18,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:42:56,Telerik.TestStudio.Desktop.exe(4984:1),Error] FireFoxInstallation.EnumFireFoxInstallations() : No Firefox installation registry keys were found in HKEY_LOCAL_MACHINE.
[02/22 12:43:15,Telerik.TestStudio.Desktop.exe(4984:1),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.


1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 24 Feb 2017, 05:05 PM
Hello Chris,

Here is an article about the issue you are facing along with solutions proposed. Please have a look on it and find out which will work for you. 

Thanks! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or