I am creating a wpf test for my wpf application in test studio. The behavior of test studio is different at different times. I am able to record the same scenario by chance only. Most of the times when i try to record the same scenario it crashes.
Can anyone please let me know whats happening here?
System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.TestStudio.Wpf.RecordingSurface.WpfRecordingSurfaceManager.UnBind(IntPtr hwnd)
at ArtOfTest.WebAii.Design.RemoteRecorder.WpfRemoteRecorder._watcher_WindowDestroyed(Object sender, WindowEventArgs e)
at Telerik.TestingFramework.XamlExtension.TechSpecific.OnWindowClosed(Window win)
at Telerik.TestingFramework.XamlExtension.TechSpecific._watcher_WindowDestroyed(Object sender, WindowEventArgs e)
at ArtOfTest.Common.Win32.WindowWatcher.OnWindowDestroyed(Window window)
at ArtOfTest.Common.Win32.WindowWatcher._windowsWatcherHook_HookInvoked(Object sender, HookEventArgs e)
at ArtOfTest.Common.Win32.LocalWindowsHook.OnHookInvoked(HookEventArgs e)
at ArtOfTest.Common.Win32.LocalWindowsHook.CoreHookProc(Int32 code, IntPtr wParam, IntPtr lParam)
Hello,
Presently am running 2016.2.630.0 version of the telerik test studio.An Unexpected Error occured in Test Studio" and after save test studio crashes .can you please help on resolving this error.
please fine the attachment image.
Thanks &Regards,
Pranavi


Chrome Version: 68.0.3440.106
Telerik Test Studio Version: 2018.2.606.0
On our website, first I click an options menu which displays 3 options to interact with each post. I click on the first option to delete the post, and a dialog box pops up, asking if it is okay to delete the post. I'm assuming this is a "Confirm" Dialog because it has an "Ok" and a "Cancel" button. If I run this test and watch the test studio runner, it seems to get stuck in invoking the OnClick event and the dialog box is never interacted with, because it never gets to the handle step. Eventually the runner just closes itself and the test fails. I checked the tests we use for IE 11 and Firefox and the handle confirm dialog steps work with those - though I do notice that they are both more a traditional dialog box then the type the appears in Google Chrome.
Is there a different step in the builder that can accommodate this, or will this end up being a coded solution?
The only error that I get is that the "handle" step for chrome times out.
Any assistance is appreciated, thank you!

Hi,
I am facing issue while running my Login script. I have 2 different test cases. For testcase1, i want to login using data driven which i am able to do it successfully but for next testcase2 i want to login using default user mentioned in "Enter text ..." step.
So while try to run testcase2, i am unable to execute due to it is always looking for Data driven.
Let me know how to execute same test using 2 different data approach in 2 different test cases.
See attached screenshot.
Hi Supporter,
I have problem about Test Studio execution. TS cannot run Kendomenuoption (please see error on attach file).
My system need to run on chrome browser only.
Please kindly to advice.
Regards,
Pong
Hi there,
I have tests that execute and connect to a new browser popup.
Usually this works fine, I have one where the browser URL is variable and unpredictable:
Https://foo.com/x/y/z_2/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_3/moreUrlStuffHereICanPredict
Https://foo.com/x/y/z_4/moreUrlStuffHereICanPredict
etc.
I am using Relative Only so usually this look like x/y/z_2/moreUrlStuffHereICanPredict, etc.
I can predict everything before the 2,3,4 and everything after. My application sets that number each time you run a query which throws a popup window.
Is there a way to make this work in the UI test step "Connect to Popup"?
Alternatively, I could check via script if the popup exists, then connect... is there a function such as Manager.Browser.Exists(URL)?
I've been looking int he forums and in the online help, nothing seems to cover this case.
Thanks!
Sakura
Win10
IE
Test Studio 2017.1.207.0

