Fetch text color

2 replies [Last post]
seemak
Offline
Joined: 02/07/2017

Hi,
I need to fetch text color, background color and font size of any object for all types of applications : native, web and web.

seemak
Offline
Joined: 02/07/2017

Please suggest a solution for same.

arundoss
Offline
Joined: 02/04/2015

Hi,

You can use the HybridRunJavascript command to run a custom script on the HTML document and verify properties such as font size, color and type:

https://docs.experitest.com/display/public/TD/SeeTestAutomation-+HybridR...

http://stackoverflow.com/questions/15195209/how-to-get-font-size-in-html