Need to extract color of an object
We have a window inside which there are three different colors. everytime depending on the user selection, the color changes. I need to validate the color of the object. RFT doesn't identify individual objects. When i used data or properties VP, the VP validates only the property or data of the window. The individual object's color or text is not getting fetched. Is there any way i can get the color or text of individual objects that are not getting identified. I heard usage of API's can help us. If yes can you please give ma a sample of how to use that. I'm new to java hence the request.
Please do help me.
Re: Need to extract color of an object
Can you explain more about what do you mean by objects here ? Are these non mappable objects. Are these objects children of the window. You can try verifying properties of these objects using dynamic verification points support.
call getChildren on the windowtestobject. Check if you find the testobject for your object then call
Hope this helps.