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

Test Studio doesn't recognize dynamic elements

6 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arthur Hefti
Top achievements
Rank 1
Arthur Hefti asked on 29 Sep 2011, 07:11 AM
We display a treeview that has initially all children collapsed. For optimization purposes we load children in treeview only when parent node is expanded. Until then every item in the tree contains only "dummy" child.
When I record the clicks Test Studio doesn't recognize the new items. For each item I get the same item that is clicked (ArtOfTest.WebAii.Controls.Xaml.Wpf.Grid). So I can record but can't run the script
Any suggestions how to solve this?

Thanks
Arthur

6 Answers, 1 is accepted

Sort by
0
Arthur Hefti
Top achievements
Rank 1
answered on 29 Sep 2011, 07:12 AM
Sorry. Forgot. We try to test a WPF Application
0
Stoich
Telerik team
answered on 04 Oct 2011, 12:15 PM
Hi Arthur,
   I attempted to reproduce this issue.

@For optimization purposes we load children in treeview only when parent node is expanded -
I'd take it that this mean your app is utilizing LoadOnDemand?

I created a WPF RadTreeListView that utilizes LoadOnDemand. However, I was not able to reproduce this behavior - I was able to record against the app and execute without any issue whatsoever.

Would it be possible for you to send us your app so that we may reproduce the issue locally? I can provide an email if you feel the data would be too sensitive for a public forum.

Greetings,
Stoich
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
Arthur Hefti
Top achievements
Rank 1
answered on 04 Oct 2011, 05:02 PM
Please see the sample from codeplex: http://www.codeproject.com/KB/WPF/TreeViewWithViewModel.aspx

You can record the "Load-On-Demand" Tab and choose elements the tree down e.g. to Bridgeport but you can replay the test.

Regards
Arthur
0
Stoich
Telerik team
answered on 05 Oct 2011, 08:35 AM
Hi Arthur,
    do you have a sample project which you can send. I understand that I can start my own WPF Application project and build a TreeListView by using the code and the guidelines from the article.

However, as a support officer for Test Studio, I don't have that much experience with building applications. With that in mind I would really like to have a ready-made sample project to work with.

Also, that way you can make 100% sure everything is in line in order for us to get a repro of the issue.

Greetings,
Stoich
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
Arthur Hefti
Top achievements
Rank 1
answered on 05 Oct 2011, 08:54 AM
OK. You can download the sample here: http://download.catsoft.ch/xchange/tvsample.zip

Thanks
Arthur
0
Stoich
Telerik team
answered on 07 Oct 2011, 02:45 PM
Hi Arthur,
    thank you for providing this WPF application.

I was able to reproduce the issue after playing around with the app a bit. I've logged this as a bug and you may track its progress here:
http://www.telerik.com/support/pits.aspx#/public/test-studio/8089
500 Telerik points added to your account.

Regards,
Stoich
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
Tags
General Discussions
Asked by
Arthur Hefti
Top achievements
Rank 1
Answers by
Arthur Hefti
Top achievements
Rank 1
Stoich
Telerik team
Share this question
or