Completed
Last Updated: 16 Jan 2014 13:26 by ADMIN
Mayur
Created on: 01 Jan 2014 13:10
Type: Bug Report
0
coded ui test not working on gridview cells
Hey guys,

 I'm evaluating Test Studio, it's being pretty satisfying but I ran into something very troublesome, and essential to almost any test.
We are looking forward to purchase licence of Test studio if this problem resolved.

 I have an application in Slverlight that uses a Telerik Rad GridView.
 The test goes like this:
 - Click the cell and enable the textbox 
 - Type in the text box
 The problem is that when Test Studio tries to type the test fails, because it does not find the Textbox.
 
 Error Message logged:
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the specified element: Unable to find the element of type: textbox
InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Unable to find the specified element: Unable to find the element of type: textbox
   at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType, Point offsetPoint, OffsetReference reference)
   at ArtOfTest.WebAii.Silverlight.UserInteraction.Click(MouseClickType clickType)
   at ArtOfTest.WebAii.Controls.Xaml.XamlControlHelper.SetText(String propertyName, FrameworkElement xamlControl, Boolean simulateRealUser, String text, Int32 keyPressTime, Int32 keyHoldTime, Boolean fireKeyEvents, Boolean clearCurrentText)
   at ArtOfTest.WebAii.Silverlight.UI.TextBox.SetText(Boolean simulateRealUser, String text, Int32 keyPressTime, Int32 keyHoldTime, Boolean fireKeyEvents)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors.TextBoxSetTextActionDescriptor.Execute(IApplication hostApp)
   at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'12/23/2013 11:06:48 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.”
------------------------------------------------------------

 
 Query:
 - Does Telerik Test Studio support Silverlight and the Grid View controls?
 If yes I request you to please provide some solution over this problem, because I am not able to move ahead on my automation without this support.
 
 
 Note:
  1. Test studio detects GridViewComboBoxColumn without any problem.
  2. Another thing is that recording works fine, but while executing the test it fails.
  3. My application require a single to enable the text box.
2 comments
ADMIN
Konstantin Petkov
Posted on: 16 Jan 2014 13:26
I have to close this item as unable to reproduce. Please let the support team know if you still need assistance.

Regards!
ADMIN
Konstantin Petkov
Posted on: 07 Jan 2014 17:05
Hello,

Yes, Test Studio supports all kind of DataGrid, GridView, etc. controls for recording and playback out of the box. Unfortunately it sounds like you experience a problem specific to the application under test. Have you contacted the Test Studio support team for assistance? Please submit a support ticket from your telerik.com account if you haven't done so.

Thanks!