How can we chck font size& Colour(BG) of an Object
How can we check Font Size,Font Name,Font Color and Back Ground Color of an object using RFT.
Tried with getproperties() and getnonvalueproperties() but font and color properties are not exist when i am trying to retrieve the data by giving property name as font or color getting an exception property does not exist.
Re: How can we chck font size& Colour(BG) of an Object
Generally testing how something looks shouldn't be done using automated testing. Unless there's some regulation dictating your font, that's best done manually. Usually a look/feel isn't a hard requirement, it's more of just how it's implemented.
This is because you're basically coding your test based on extact low level implementation details. If they want to change the looks of the program, and no functional or flow changes, you end up having to update your test. It becomes a maintenance nightmare in the long run.
For something such as checking a specific property of an object, you might as well just write a script to checks it in the source code and still have the same amount of effectivenes for the test.