Test Studio doesn't recognize dynamic elements

7 posts, 0 answers
  1. Arthur Hefti
    Arthur Hefti avatar
    4 posts
    Member since:
    Oct 2006

    Posted 29 Sep 2011 Link to this post

    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
  2. Arthur Hefti
    Arthur Hefti avatar
    4 posts
    Member since:
    Oct 2006

    Posted 29 Sep 2011 Link to this post

    Sorry. Forgot. We try to test a WPF Application
  3. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 04 Oct 2011 Link to this post

    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
  4. Arthur Hefti
    Arthur Hefti avatar
    4 posts
    Member since:
    Oct 2006

    Posted 04 Oct 2011 Link to this post

    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
  5. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 05 Oct 2011 Link to this post

    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
  6. Arthur Hefti
    Arthur Hefti avatar
    4 posts
    Member since:
    Oct 2006

    Posted 05 Oct 2011 Link to this post

    OK. You can download the sample here: http://download.catsoft.ch/xchange/tvsample.zip

    Thanks
    Arthur
  7. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 07 Oct 2011 Link to this post

    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
Back to Top