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

Test Studio Recorder problem in Vista

31 Answers 220 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Levent
Top achievements
Rank 1
Levent asked on 16 Jun 2012, 02:10 PM
Hi,

I have problem with launch recorder at Windows Vista. I installed Test Studio on Win7 and there is no problem, but on Vista machine, I have get "Unable to launch recorder" error. I have tried almost every solution recommendation in this forum but none of them solved my problem.

Log file

 [06/16 15:41:18,Telerik.TestStudio.exe(1248:18)] First trace message from process 1248: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.exe" 
[06/16 15:41:18,Telerik.TestStudio.exe(1248:18)] First trace message from pool unnamed thread (managed ID = 18, native ID = 5660).
[06/16 15:41:18,Telerik.TestStudio.exe(1248:18),Framework] Manager.get_ActiveBrowser() : The current ActiveBrowser is either invisible or disconnected.
[06/16 15:41:18,Telerik.TestStudio.exe(1248:18)] First trace message from pool thread "EnsureActiveBrowser worker" (managed ID = 18, native ID = 5660).
[06/16 15:41:18,Telerik.TestStudio.exe(1248:18),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process launched (ID=5708, Path="C:\Program Files (x86)\Internet Explorer\iexplore.exe", Arguments="-nomerge about:blank").
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Attempting to attach on IE frame (HWND=460388)...
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.Start() : Process launched (ID=3536, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments="ArtOfTest.Connector.dll,AttachToWindowEntryPoint 591540").
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.Start() : Process exited (ID=3536, ExitCode=0, Path="C:\Windows\SysWOW64\rundll32.exe", Arguments="ArtOfTest.Connector.dll,AttachToWindowEntryPoint 591540").
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] InternetExplorerActions.LaunchNewBrowserInstance() : Process "Telerik.TestStudio" (ID=1248) is assumed to host the controller.
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.InjectCode() : ------- Function Start -------
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.InjectCode() : Connection string: C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2012.1.411.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?1248
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] InternetExplorerActions.WaitForDocument() : Attempting to get IHTMLDocument2 from Internet Explorer HWND 591540 on another thread...
[06/16 15:41:19,Telerik.TestStudio.exe(1248:14)] First trace message from pool thread "WaitAsync polling wait worker" (managed ID = 14, native ID = 5272).
[06/16 15:41:19,Telerik.TestStudio.exe(1248:14),Framework] <>c__DisplayClassf.<WaitForDocument>b__8() : Attempting to get document from window handle
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] InternetExplorerActions.WaitForDocument() : IHTMLDocument2 successfully retrieved.
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.InjectCode() : Sending WM_COPYDATA to HWND 591540 (lpData = "C:\Windows\assembly\GAC_MSIL\ArtOfTest.InternetExplorer\2012.1.411.0__5339893a7cefe4d6\ArtOfTest.InternetExplorer.dll?ArtOfTest.InternetExplorer.ArtOfTestPluginEntryPoint?1248")...
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.InjectCode() : Returned from sending WM_COPYDATA (LRESULT=0, GetLastError()=ERROR_ALREADY_EXISTS).
[06/16 15:41:19,Telerik.TestStudio.exe(1248:18),Framework] Connector.InjectCode() : ------- Function End -------
[06/16 15:41:49,Telerik.TestStudio.exe(1248:18),Recording] <>c__DisplayClass9.<EnsureActiveBrowser>b__8() : EXCEPTION! (see below)
     Outer 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)
          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.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
          at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
          at Telerik.TestStudio.Web.WebRecorderWindowManager.GetActiveBrowser(Boolean createOneIfNeeded, String arguments)
          at Telerik.TestStudio.Web.WebRecorderWindowManager.<>c__DisplayClass9.<EnsureActiveBrowser>b__8(Object obj)


[06/16 15:41:49,Telerik.TestStudio.exe(1248:18),Recording] RecordViewController.BrowserLaunched() : Error launching the recorder. Error : System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   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.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at Telerik.TestStudio.Web.WebRecorderWindowManager.GetActiveBrowser(Boolean createOneIfNeeded, String arguments)

31 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 18 Jun 2012, 09:15 AM
Hi Levent,

If you haven't done so already, please configure your browser according this instruction. And perform the steps outlined in our troubleshooting guide here. In just about every case, one of those suggestions resolves this issue.

If you are still unable to launch the recorder, try to disable the UAC (User Account Control). Here's an article describing how to do that in Vista.

Regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 19 Jun 2012, 10:31 AM
I tried first solution before but disabling UAC did not solve the problem either.
0
Plamen
Telerik team
answered on 19 Jun 2012, 02:46 PM
Hi Levent,

Did you restart the machine after disabling the UAC. If not, please do that and try to record again.

Also, there may be a toolbar interfering. Try to disable all IE Toolbars(if you have any) and see if this helps.

If you are running AntiVirus software on your machine, you can try to disable it. We have one report that McAfee Antivirus Enterprise edition was blocking our hook into the browser. That customer was finally able to get it resolved by working with McAfee directly to tweak the settings in their anti-virus product to our hook was no longer blocked.

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 19 Jun 2012, 07:06 PM
I restarted the machine after disabling UAC.
In our machines we have not any toolbar or antivirus.
0
Plamen
Telerik team
answered on 20 Jun 2012, 09:16 AM
Hi Levent,

At this point, I think the only option we have left is for us to look at the issue directly on your machine via screensharing. We use GoToMeeting for this purpose. Please go ahead and suggest a time/date and I'll send you a meeting request. Keep in mind that I'm in Sofia, Bulgaria, which is UTC +3:00.

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 20 Jun 2012, 02:48 PM
Hi Plemen,
This is ok for us. GoToMeeting  sometimes does not run in our network because of websense setup, I will fix the issue and then we can arrange the GoToMeeting  meeting.


Regards,

Levent
0
Plamen
Telerik team
answered on 20 Jun 2012, 04:14 PM
Hi Levent,

All right. Just let me know when you are ready and I'll send you a meeting request.

Greetings,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 29 Jun 2012, 08:50 AM
Hi again,

We made some changes on websense setup, could you please send me gotomeeting invitation for today 15:00 GMT+2:00 to lsezer@stm.com.tr, therefore I can try if the changes works? If we can connect, we will do meeting.

Levent
0
Plamen
Telerik team
answered on 29 Jun 2012, 09:54 AM
Hi Levent,

I've went ahead and sent you a meeting request for 3:00 PM, GMT +2. Feel free to update the time if you feel it's necessary.

Greetings,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Plamen
Telerik team
answered on 02 Jul 2012, 09:57 AM
Hi Levent,

To document the outcome of our meeting:
1. You demonstrated that Test Studio is unable to launch the recorder on you Vista VM. We were unable to resolve the issue during the GoToMeeting. In order to resolve this, we'll need a VM image that uses the same version of Vista and reproduces the recording problem.

To provide us with a copy of the VM image, you can file a support ticket(which is confidential unlike this forum thread) and I'll send you the credentials for our FTP server.

2.For the second problem where the browser freezes during playback, you'll ask for permission to provide us with access to your application, so that our software developers can find the cause of problem and fix it. You can provide this information in a new support ticket (which is confidential).

Thanks for providing the information we need to assist you.

All the best,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 02 Jul 2012, 12:49 PM
Hi Plamen,

I have talked with my team leader, but he told that there is no possibility to open our servers or give VM image. However, He told that we can provide access with the same method with meeting (because it should be under my inspection for the NATO rules). As well as we can provide our developers in meeting to work with and understanding the problem.

Is that suitable to you?
0
Plamen
Telerik team
answered on 03 Jul 2012, 01:12 PM
Hello Levent,

I'm afraid another online meeting won't be helpful. What we need is a local repro of the issue happening within our own source code debugging environment. This is not possible to do via an online screen sharing meeting. We are willing to sign an NDA if necessary. Also keep in mind we're automatically under non-disclosure that is written into the Test Studio EULA.

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 03 Jul 2012, 02:46 PM
Hi Plamen
I ll give the information to my leader. After make a decision about this issue, I will inform you again.

Thank you 

Levent
0
Plamen
Telerik team
answered on 04 Jul 2012, 09:16 AM
Hi Levent,

Ok, we'll stand by for your decision.

In the meantime, during the meeting I noticed that you are using an older version of Test Studio. If I remember correctly it was v.2012.1.411. Our current version is 2012.1.528. Please go ahead and upgrade to our latest release, you can download it from your Telerik account here: Public URL. Small chance to fix the issue but you should give it a try.

Hope to hear from you soon.

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Anatoliy
Top achievements
Rank 1
answered on 05 Jul 2012, 09:36 AM
Hi guys,

I have the same issue. I tried to run tests on new environment but they do not work.
1. I installed silverligt SDK
2. Configured internet explorer according to:
   http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/configure-your-browser/internet-explorer.aspx
3. Checked does my user account have administrator permission? Yes, it has.
4. Also tried to run "Test Studio" with "Run as administrator". Result is the same
5. Checked which version of telerick test studion is used? The latest one (2012.1.528)

Details:
------------------------------------------------------------
'5/07/2012 9:48:11' - Using .Net Runtime version: '4.0.30319.1' for tests execution.
'5/07/2012 9:48:11' - Starting execution....
'5/07/2012 9:48:16' - Detected a Silverlight Test. Setting EnableSilverlight=True
'5/07/2012 9:53:19' - Failure detected during execution. Details:
------------------------------------------------------------
'5/07/2012 9:53:19' - System.TimeoutException: Wait for condition has timed out
   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.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'5/07/2012 9:53:19' - Test completed!

Hope it will be solved
0
Anatoliy
Top achievements
Rank 1
answered on 05 Jul 2012, 02:33 PM
Hi,

Here - I found step Install .NET 3.5.1 on Windows Server 2008 R2.
It was the latest step which i made. I supose it can be only step which is required to fix the issue.
So what you can try is displayed on this image
0
Plamen
Telerik team
answered on 10 Jul 2012, 07:31 AM
Hello Anatoliy,

I am very glad to hear you managed to resolve this problem. Unfortunately, this solution only works for Windows Server 2008 machines.

The problem Levent is experiencing is a lot more complicated and a local repro is neccessary. That's why we need a VM image of a machine that has this issue, so we can get our developers involved and fix it ASAP.

Kind regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
0
Levent
Top achievements
Rank 1
answered on 24 Sep 2012, 07:07 AM

Hi Plamen,



Our administration did not give permission to open our code to your developers. I tried our application work with chrome browser and while navigating I was able to go debuging mode with visual studio and got the exception about our freezing problem. I found this is about connecting silverlight but cannot find so much details. We have also another friendly project that uses nearly same UI and telerik objects with our project and test studio works well on that project. However our project still freezing at first navigate to step. The fallowing details are the exceprion that I mention I got from visual studio debuging. May be this will help to understand where the problem is.

System.Runtime.Serialization.SerializationException was unhandled

  Message=Type 'ArtOfTest.WebAii.Silverlight.ApplicationNotReadyException' in Assembly 'ArtOfTest.WebAii, Version=2012.1.528.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c' is not marked as serializable.

  Source=mscorlib

  StackTrace:

       at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder)

       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)

       at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

       at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

       at ArtOfTest.WebAii.Messaging.Process.PipeCommand.ToBinary()

       at ArtOfTest.WebAii.Design.Execution.RemoteRunner.OnTestComplete(ExecutionReturnValues retValues, Boolean displayResults)

       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.TestCompleted(IAsyncResult result)

       at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)

       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

       at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()

       at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)

       at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)

       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

       at System.Threading.ThreadPoolWorkQueue.Dispatch()

       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

  InnerException:

And also while recording, test studio cannot detect some objects in our page, selecting the object and add center click action is causes freezing again for the nondetected objects while run the process.

Levent

0
Plamen
Telerik team
answered on 24 Sep 2012, 03:45 PM
Hello Levent,

I've forwarded the exception details to our developers and I'm waiting to hear their opinion on this. In the meantime, we released Test Studio 2012.R2 last week(version 2012.2.920). It contains hundreds of bug fixes and optimizations since our 2012.1.528 release. I'd appreciate it if you could download it and try this new version. It is available in your Telerik account here: Public URL

All the best,
Plamen
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Levent
Top achievements
Rank 1
answered on 25 Sep 2012, 07:42 AM
Hi  Plamen,

I am going to try new version of test studio. If it works well, I'll  inform.

Regards

0
Plamen
Telerik team
answered on 28 Sep 2012, 09:35 AM
Hello Levent,

Unfortunately this error is not giving us enough information on what is causing the problem. It seems that something is preventing us to inject our hooks into your Silverlight application. Please let us know if the issue persists with the new release. If you are still experiencing the issue, I'll talk with my managers to discuss and decide how to proceed further.

Kind Regards,
Plamen
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Levent
Top achievements
Rank 1
answered on 28 Sep 2012, 12:05 PM
Hi Plamen,

Unfortunately we have same problem with the new release. 

Regards

Levent
0
Levent
Top achievements
Rank 1
answered on 01 Oct 2012, 10:57 AM
Hi Plamen,

Is there any new information about how to solve our issue?
Regards

Levent
0
Cody
Telerik team
answered on 01 Oct 2012, 07:02 PM
Hello Levent,

It seems this is an unusually difficult problem to solve. I'd like to look at this problem on your computer via GoToMeeting. Let me know what time zone you are in and your availability and I'll setup the meeting. I'm in Austin, TX which is Central Time (GMT -6).

All the best,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Levent
Top achievements
Rank 1
answered on 02 Oct 2012, 07:56 AM
Hi Cody,

I am at Turkey and Current Timezone is GMT+3. I am available at weekdays 9:30-12:30 and 13:30-18:00 GMT+3.

We can arrange a meeting for tomorrow. Send me a GoToMeeting request if tomorrow is suitable for you and I will set our websense adjustment until tomorrow to connect GoToMeeting. If tomorrow is not suitable, we can arrange meeting for other weekdays that  you are available.

Regards

Levent
0
Cody
Telerik team
answered on 02 Oct 2012, 03:03 PM
Hello Levent,

I am sorry there is no conference calling number in Turkey for GoToMeeting. I chose the closest country I could find available for you. Instead you can use a mic and speakers for audio during our online meeting.

1.  Please join my meeting, Wednesday, October 03, 2012 at 8:30 AM Central Daylight Time.
https://www2.gotomeeting.com/join/699067434

2.  Use your microphone and speakers (VoIP) - a headset is recommended.  Or, call in using your telephone.

Italy: +39 0 693 38 75 50
United States: +1 (213) 493-0619

Access Code: 699-067-434
Audio PIN: Shown after joining the meeting

Meeting ID: 699-067-434

GoToMeeting®
Online Meetings Made Easyâ„¢

Not at your computer? Click the link to join this meeting from your iPhone®, iPad® or Android® device via the GoToMeeting app.


Regards,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Levent
Top achievements
Rank 1
answered on 03 Oct 2012, 09:16 AM
Hi Cody,

I am working on our websence setup for GoToMeeting. When it is done I will be ready.

Regards
Levent
0
Levent
Top achievements
Rank 1
answered on 03 Oct 2012, 10:53 AM
Hi Cody,
I handle our security firewall issue, see you at GoToMeeting.

Regards
Levent
0
Cody
Telerik team
answered on 09 Oct 2012, 02:18 PM
Hi Levent,

I am trying to remember the outcome of our meeting last week. Do you need more from me?

Greetings,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
0
Levent
Top achievements
Rank 1
answered on 10 Oct 2012, 02:08 PM
Hi Cody,

At the end of the meeting, we got the fiddler source and opened a support ticket. Support ticked not solved yet. Ticket ID is 613848.
0
Cody
Telerik team
answered on 10 Oct 2012, 03:31 PM
Hi Levent,

Thank you for the refresher! Yes we'll continue pursuing this problem through your new support ticket.

All the best,
Cody
the Telerik team
Are you enjoying Test Studio? We’d appreciate your vote in the ATI automation awards.
Vote now
Tags
General Discussions
Asked by
Levent
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Levent
Top achievements
Rank 1
Anatoliy
Top achievements
Rank 1
Cody
Telerik team
Share this question
or