How to read source URI to specified image in WPF.Image element?

9 posts, 0 answers
  1. Stanislav
    Stanislav avatar
    1 posts
    Member since:
    May 2012

    Posted 03 Apr 2013 Link to this post

    Hello Telerik,

    Snoop application provides possibility to see the value of the 'Source' property of Image WPF element. Based on this value I can identify which exactly image is displayed based on the file name. When I try to get an access to .Source property of ...Wpf.Image element, I get the following exception:

    Unable to cast object of type 'ArtOfTest.WebAii.Controls.Xaml.Wpf.BitmapFrameDecode' to type 'ArtOfTest.WebAii.Controls.Xaml.Wpf.ImageSource'.

    I want to have possibility to read file name of the displayed image in WPF application.

    Thank you.

    Kind Regards,
    Stanislav Hordiyenko
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 08 Apr 2013 Link to this post

    Hello Stanislav,

    Thanks for reporting the issue. I was able to reproduce it and logged it as a bug. You can track its progress and vote for it here: Public URL.

    I have also updated your Telerik points accordingly.

    All the best,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Stanislav
    Stanislav avatar
    1 posts
    Member since:
    May 2012

    Posted 09 Apr 2013 Link to this post

    Hello Plamen,

    Thank you for your response. I am just wondering if I purchase a Telerik testing framework support plan, will you fix all bugs that I find in the framework by request?

    Kind Regards,
    Stanislav Hordiyenko
  4. Daniel Levy
    Admin
    Daniel Levy avatar
    6 posts

    Posted 09 Apr 2013 Link to this post

    Hi Stanislav,

    A support subscription to our Testing Framework provides access to our fanatical support team and easy to use ticketing system with a 24 hour guaranteed response time. The subscription does not guarantee defects being prioritized or fixed, however by nature of working with a support engineer to pinpoint a defect, it is likely to be logged and reviewed for possible inclusion in a future release in a more expedited fashion.

    Hope this helps!
     
    Regards,
    Daniel Levy
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. Stanislav
    Stanislav avatar
    1 posts
    Member since:
    May 2012

    Posted 15 Apr 2013 Link to this post

    Hello Telerik,

    Are there any workaround for this issue? I was very surprised to find filed bug in the portal of feedback and ideas with the ability to vote.

    Kind Regards,
    Stanislav Hordiyenko
  6. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 16 Apr 2013 Link to this post

    Hello Stanislav,

    Yes, we've migrated our PITS database to our new Feedback portal. Regarding the bug, unfortunately I wasn't able to find a workaround for this, so I hope that our developers will be able to fix it soon.

    Kind regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  7. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 17 Jun 2013 Link to this post

    Hi Stanislav,

    I have some good news to report. Our developers fix this bug today. The fix will be included in our upcoming 2013 R1 release.

    Regards,
    Cody
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  8. Kateryna
    Kateryna avatar
    11 posts
    Member since:
    Aug 2015

    Posted 14 Aug 2015 Link to this post

    Hi,

    can anyone help to understand how Image.Source works? The issue is marked as resolved, but I cannot get image path from the source. There is no exception anymore, but " ArtOfTest.WebAii.Controls.Xaml.Wpf.ImageSource {ArtOfTest.WebAii.Controls.Xaml.Wpf.BitmapFrameDecode}" as a found Image.Source doesn't tell anything.

    Thanks,

  9. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 18 Aug 2015 Link to this post

    Hello Kateryna,

    Unfortunately Test Studio does not expose the image source in WPF application, we have logged this recently at this public URL.

    Thank you for your understanding.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top