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

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

8 Answers 458 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stanislav
Top achievements
Rank 1
Stanislav asked on 04 Apr 2013, 03:36 AM
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

8 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 08 Apr 2013, 12:20 PM
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
0
Stanislav
Top achievements
Rank 1
answered on 09 Apr 2013, 06:31 AM
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
0
Daniel Levy
Telerik team
answered on 09 Apr 2013, 05:46 PM
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
0
Stanislav
Top achievements
Rank 1
answered on 16 Apr 2013, 02:43 AM
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
0
Plamen
Telerik team
answered on 16 Apr 2013, 11:46 AM
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
0
Cody
Telerik team
answered on 17 Jun 2013, 05:57 PM
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
0
Kateryna
Top achievements
Rank 1
answered on 14 Aug 2015, 06:25 AM

Hi,

can anyone help to understand how 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..ImageSource {ArtOfTest.WebAii.Controls.Xaml..BitmapFrameDecode}" as a found Image.Source doesn't tell anything.

Thanks,

0
Ivaylo
Telerik team
answered on 18 Aug 2015, 01:19 PM
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
 
Tags
General Discussions
Asked by
Stanislav
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Stanislav
Top achievements
Rank 1
Daniel Levy
Telerik team
Cody
Telerik team
Kateryna
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or