Telerik Forums
Test Studio Forum
10 answers
226 views
 We are setting up our automated test structure.  We have found that we will be using test as step quite extensively.  With our current structure all tests for a particular function are in one area, i.e. login.  Consequently we have on Test and all of the tests it uses in one folder.  This will quickly lead to lots of confusion, which tests call the others and which are called, as the number of tests grow.
 I thought of having all the master tests at one project level with the tests as step as a sub-project.  This won't make it obvious which tests call which test as step.
 Is there a better way or some feature I'm missing that will solve this problem better?

Thanks tor your help,
Gregg
Ivaylo
Telerik team
 answered on 11 Sep 2013
1 answer
103 views
HI,

I'm trialing this product and while I think its very good the crashing is annoying as it happens behind the browser window.  For example, you are recording a test and unknown to you (because the popup is behind the browser) TestStudio has crashed.  You happily continue recording steps and at the end click back to TestStudio to find it has crashed with the Save Project dialog open, all your recording steps are lost.  Difficult to make the software bug free but it would help if there was some notification in the recording toolbar so that you didn't waste your time.

Crash below:

[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for RadWatermarkTextBox TargetKey1
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : AutomationId=PART_DateTimeInput,XamlTag=radwatermarktextbox
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyUp() : Keyup received from Silverlight app
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyDown() : Keydown received from Silverlight app
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Uncategorized] XamlIntrinsicTranslator.IsCharacterKey() : Right IS NOT a character key
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function Start -------
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] WebRecordingSurfaceManager.PreRecordDescriptors() : Transitioning to ReadyToEdit state
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for RadWatermarkTextBox TargetKey1
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : AutomationId=PART_DateTimeInput,XamlTag=radwatermarktextbox
[09/07 11:46:47,IEXPLORE.EXE(8292:53),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:46:47,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:46:48,Telerik.TestStudio.exe(5108:1),Error] App.LogUnhandledException() : EXCEPTION! (see below)
     Situation: Unhandled exception!
     Outer Exception Type: System.NullReferenceException
     Message: Object reference not set to an instance of an object.
     HRESULT: 0x80004003 (Official ID (if app.) = E_POINTER, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16387)
     Call Stack:
          at Telerik.Windows.Controls.Data.PropertyGrid.AutoBindBehavior.DetermineBinding(PropertyGridField field)
          at Telerik.Windows.Controls.Data.PropertyGrid.AutoBindBehavior.<>c__DisplayClass3.<OnUpdateBindingOnElementLoaded>b__0(Object s, RoutedEventArgs args)
          at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
          at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
          at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
          at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
          at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
          at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
          at MS.Internal.LoadedOrUnloadedOperation.DoWork()
          at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
          at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
          at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
          at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
          at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
          at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

[09/07 11:46:48,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyDown() : Keydown received from Silverlight app
[09/07 11:46:48,IEXPLORE.EXE(8292:1),Uncategorized] XamlIntrinsicTranslator.IsCharacterKey() : Back IS NOT a character key
[09/07 11:46:48,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function Start -------
[09/07 11:46:48,IEXPLORE.EXE(8292:1),Recording] WebRecordingSurfaceManager.PreRecordDescriptors() : Transitioning to ReadyToEdit state
[09/07 11:46:48,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for RadWatermarkTextBox TargetKey1
[09/07 11:46:48,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : AutomationId=PART_DateTimeInput,XamlTag=radwatermarktextbox
[09/07 11:46:49,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyDown() : Keydown received from Silverlight app
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Uncategorized] XamlIntrinsicTranslator.IsCharacterKey() : D4 IS a character key
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : IERecordingSurface KeyPress '4'
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : Was not already recording text
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : Starting text recording
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : First character was text; adding to buffer
[09/07 11:46:52,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyUp() : Keyup received from Silverlight app
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] IERecordingSurface.FinishSilverlightSetTextRecording() : Flushing Silverlight text recording buffer
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Uncategorized] IERecordingSurface.FinishSilverlightSetTextRecording() : focused element is not null
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] IERecordingSurface.FinishSilverlightSetTextRecording() : Firing SetText event
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function Start -------
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] WebRecordingSurfaceManager.PreRecordDescriptors() : Transitioning to ReadyToEdit state
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for RadWatermarkTextBox target
[09/07 11:46:52,IEXPLORE.EXE(8292:52),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : AutomationId=PART_DateTimeInput,XamlTag=radwatermarktextbox
[09/07 11:46:53,IEXPLORE.EXE(8292:52),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyUp() : Keyup received from Silverlight app
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function Start -------
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] WebRecordingSurfaceManager.PreRecordDescriptors() : Transitioning to ReadyToEdit state
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for RadBusyIndicator TargetKey1
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : XamlPath=
[09/07 11:46:56,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyDown() : Keydown received from Silverlight app
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Uncategorized] XamlIntrinsicTranslator.IsCharacterKey() : Return IS NOT a character key
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function Start -------
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] WebRecordingSurfaceManager.PreRecordDescriptors() : Transitioning to ReadyToEdit state
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Creating new Silverlight ElementDescriptor for TextBox TargetKey1
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] ElementsGenerator.CreateSLElementDescriptor() : Generated Sl FindExpr : XamlTag=gridviewcell,automationid=Cell_-1_6,|,XamlPath=/grid[0]/contentpresenter[name=PART_ContentPresenter]/gridvieweditorpresenter[0]/grid[0]/contentpresenter[0]/textbox[0]
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] RecordingSurfaceManagerBase.RecordDescriptorsInProject() : ------- Function End -------
[09/07 11:47:01,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : IERecordingSurface KeyPress '
'
[09/07 11:47:03,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyPress() : Was not already recording text
[09/07 11:47:04,IEXPLORE.EXE(8292:1),Recording] IERecordingSurface.IERecordingSurface_KeyUp() : Keyup received from Silverlight app
[09/07 11:47:42,Telerik.TestStudio.exe(4764:1)] First trace message from process 4764: "C:\Program Files (x86)\Telerik\Test Studio\Bin\Telerik.TestStudio.exe"
[09/07 11:47:42,Telerik.TestStudio.exe(4764:1)] First trace message from foreground thread "Application start thread" (managed ID = 1, native ID = 9032).

Boyan Boev
Telerik team
 answered on 10 Sep 2013
2 answers
105 views
I want to create a user defined function and a function library for a test. So that i can associate the function library with the test and can call the functions.
Boyan Boev
Telerik team
 answered on 09 Sep 2013
2 answers
76 views
According to Telerik's documentation...
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/test-execution/test-list-settings.aspx
... the RecycleBrowser feature is currently not supported in 2013 R1.

Is there a plan to reinstate support for this feature?  If so, when will this be happening?  If not, is there another feature that will duplicate its benefits?
Jim
Top achievements
Rank 1
 answered on 06 Sep 2013
1 answer
50 views
I am trying to build a Keyword driven framework where i need to execute the steps in a random way. So is there any way where i can decide the flow of steps by programming?
Cody
Telerik team
 answered on 06 Sep 2013
1 answer
128 views
Hi,

I have my automation script for one module automated. It runs fine in the default language when selected in dropdown as english.

I can switch to other 12 languages where the texts would display for all controls in loaclized language and also few data that we enter. 

can i use the same script scripted in english to run on other languages ?

I tried but failed. 

Can anyone let me know how can i make the existing script to run in localized language? even i tried giving localized data for input. but elements are not recognized. 

pls help

Thanks
Girish






Velin Koychev
Telerik team
 answered on 06 Sep 2013
5 answers
233 views
Hi ,

Could you please let me know if there is any way that we can pass the loop count through a variable .


Thanks in advance


Thanks
Surendranath
Velin Koychev
Telerik team
 answered on 06 Sep 2013
1 answer
104 views
HI,

i have a scenario , where company name is displayed in company info page . if company name is very large, it overlap with a text box label next to the company name field  and it looks ugly. how to identify these kind of issues in Automation script using telerik , dynamically ?

Pls help. 

Ex: on top left corner , company name stargts and on the same row to the right there is a text box with label 'Test box" when company name is large, It overlap with Test Box .
Cody
Telerik team
 answered on 05 Sep 2013
4 answers
57 views
The latest version of chrome is 29. How is the tool support for the current and future versions of chrome?
Will there be any patches released for chrome updates?
Deepa
Top achievements
Rank 1
 answered on 05 Sep 2013
3 answers
228 views
I have been face this problem since quite a while, let me give you an example suppose i want to login to facebook so I enter the URL and enter text "G" in username field, my user name will appear from browser cookies and i click on it and it automatically feed on the username field. But i unable to record that value on Telerik.
Can somebody help me on this.

Please refer to the attached screenshot
Ivaylo
Telerik team
 answered on 05 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?