Micro Focus QTP (UFT) Forums
SwfTreeview - Color validation for child item - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: SwfTreeview - Color validation for child item (/Thread-SwfTreeview-Color-validation-for-child-item)



SwfTreeview - Color validation for child item - YogeshCallappa - 11-10-2016

[attachment=1413][attachment=1412]
Hi All,

I have a test where in I have to validate color of SwfTree control present in the application.

For example user needs to validate the tree view control (Swftree view) for the child Item  whether it is Yellow colour(Before saving records) and after saving records it will be changed to green colour. I need to validate this both conditions.  

I tried with native objects properties like forecolor, backcolor but It does not work. 
My expectation is to get the child object color in swftreeview . Does anyproperty or any other workaround works in this case. Kindly advice some inputs or suggestions.

Attached snapshot for reference.


Thanks for your help in advance
yogesh