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

Framework error on step that clicks a radtabitem

8 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kristine Ayson
Top achievements
Rank 1
Kristine Ayson asked on 15 Jun 2010, 06:42 AM
I have a step that clicks on a radtabitem. It flags this error:

Failure Summary
Was not able to match a segment within the path. Expected:border , Found:FrameworkElement , Path:/shell:-1:54976006/grid:0:46959463/border:1:53739988/grid:0:65623433/grid:1:52030735/border:0:13237733/radtabcontrol:0:53666642


Best Regards,
Kristine

8 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 15 Jun 2010, 07:49 PM
Hi Kristine Ayson,

It sounds like the Visual Tree structure of your Silverlight application changed enough such that what was recorded is no longer valid. Can you try re-recording just that step and see if it works?

All the best,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kristine Ayson
Top achievements
Rank 1
answered on 16 Jun 2010, 03:43 AM
Hi Cody,

The step is found in a newly-recorded test.

Best Regards,
Kristine
0
Missing User
answered on 16 Jun 2010, 09:37 PM
Hi Kristine,

Just to add quickly and confirm, so the re-recording did resolve the problem?

Greetings,
Nelson Sin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kristine Ayson
Top achievements
Rank 1
answered on 17 Jun 2010, 02:36 AM
Hi Nelson,

No, the error is found in both old and re-recorded tests.


Regards,
Kristine
0
Cody
Telerik team
answered on 17 Jun 2010, 04:43 AM
Hello Kristine Ayson,

Ah Ok. I'd like to look at this via GoToMeeting. Is that doable? Let me know what timezone you are in and your availability and I'll setup the meeing. I'm located in Austin, Tx which is Central Daylight Time (GMT -6).

Regards,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Cody
Telerik team
answered on 24 Jun 2010, 04:30 PM
Hello Kristine Ayson,

Did you get this problem resolved? Do you need any further assistance with this?

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
sieungo128
Top achievements
Rank 1
answered on 11 Feb 2011, 09:12 AM
I have problem same radtabitem too. when I record with radtileviewitem
I have record again, run again but cannot resolve this problem.

help me.

this message:

'2/11/2011 3:00:46 PM' - Starting execution....
'2/11/2011 3:00:46 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
'2/11/2011 3:01:06 PM' - 'Pass' : 1. Navigate to : 'http://localhost:3350/Home.aspx'
'2/11/2011 3:01:09 PM' - 'Pass' : 2. LeftClick on RootTxtTextblock
'2/11/2011 3:01:12 PM' - 'Pass' : 3. Click BtnLoginButton
'2/11/2011 3:01:15 PM' - 'Pass' : 4. LeftClick on Item2Listboxitem
'2/11/2011 3:01:21 PM' - 'Pass' : 5. radtileviewitem: 'France' toggle state action.
'2/11/2011 3:01:24 PM' - 'Pass' : 6. Desktop command: LeftDoubleClick on Item1Image
'2/11/2011 3:01:28 PM' - 'Pass' : 7. LeftClick on Item10Listboxitem
'2/11/2011 3:01:33 PM' - 'Fail' : 8. radtileviewitem: 'Formats' toggle state action.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Was not able to match a segment within the path. Expected:definition_home , Found:FrameworkElement , Path:/homepage:-1:30955222/scrollviewer:0:3865173/border:0:61374531/grid:0:66471715/scrollcontentpresenter:0:62999330/grid:0:52399374/grid:0:39530145/border:1:18700393/pagetransition:0:46817064/grid:0:8135907/grid:0:15817070/frame:4:46496694/border:0:48548238/contentpresenter:0:34280961/definition_home:0:39216423/grid:0:52815467/border:1:13324925/radtileview:0:16393628
InnerException:
System.Exception: Was not able to match a segment within the path. Expected:definition_home , Found:FrameworkElement , Path:/homepage:-1:30955222/scrollviewer:0:3865173/border:0:61374531/grid:0:66471715/scrollcontentpresenter:0:62999330/grid:0:52399374/grid:0:39530145/border:1:18700393/pagetransition:0:46817064/grid:0:8135907/grid:0:15817070/frame:4:46496694/border:0:48548238/contentpresenter:0:34280961/definition_home:0:39216423/grid:0:52815467/border:1:13324925/radtileview:0:16393628
   at ArtOfTest.WebAii.Silverlight.VisualFind.ByReference(AutomationReference reference, Boolean throwIfNotFound)
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.Refresh()
   at Telerik.WebAii.Controls.Xaml.RadTileViewItem.ToggleState()
   at Telerik.WebAii.Design.Translators.Xaml.TileView.ItemToggleStateAction.Execute(SilverlightApp autoHost)
   at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
------------------------------------------------------------
'2/11/2011 3:01:33 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'2/11/2011 3:01:33 PM' - Overall Result: Fail
'2/11/2011 3:01:33 PM' - Duration: [0 min: 39 sec: 105 msec]
------------------------------------------------------------
0
Vladislav
Telerik team
answered on 17 Feb 2011, 12:55 PM
Hello sieungo128,

Unfortunately, we are not aware of such problem and wasn't able to reproduce it.

Can you please let us know what is the version of the Test Studio and RadControls used?
It will be great if you can send us the project that you are recording and executing your tests against.

Thank you for your cooperation in advance.

Kind regards,
Vladislav
the Telerik team
Tags
General Discussions
Asked by
Kristine Ayson
Top achievements
Rank 1
Answers by
Cody
Telerik team
Kristine Ayson
Top achievements
Rank 1
Missing User
sieungo128
Top achievements
Rank 1
Vladislav
Telerik team
Share this question
or