Forum Discussion
I have tried making a snapshot and then looking at it, but I still cannot find the property I am looking for. The object url that you sent me, doesn't help much, as I do see al my objects in the grid, but I am looking for the image source of in particular of that button definition I posted before.
Is there some cases in which TestComplete will not be able to make sensible mappings?
I really like the product, but if it cannot do this, then I will probably have to try something else.
- yurik10 years agoContributor
Hi,
I need to find a name of an image inside a Rectangle (System.Windows.Shapes.Rectangle).
When I check this element with Snoop, I can see the Fill element with the image name and when I delve into the Fill, I can see the x:Key with the value of the image name (PSA screenshots).
However in TestComplete Object Browser I cannot see Key property (see the third screenshot) even after ticking "Show hidden members" option. Is there any way of accessing this property in TestComplete?
Thanks!
- aalikhalid10 years agoContributor
Hi Yurik,
In my experience sometimes certain properties are not readable by TestComplete, or not read as it is, some information is parsed. Therefore if the property is not being shown in the 'advanced view' in object spy, then the property would not be usable within TestComplete.
I think there might be other properties which have the image name in them, I'd recommend to go through the complete list of properties in object spy's advanced view.
- Ali
Happy Automating!
- yurik10 years agoContributor
Hi Ali,
Thank you for replying! Unfortunately scanning the whole list of properties didn't help. I'll keep looking...