How to validate font colors (like red color or other colors) in Automated test framework?

ramuv
Tera Expert

How to validate font colors (like red color or other colors) in Automated test framework?

 how to achieve this.

caller Id  :  Abeltuter   , 

 

Thanks

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@ramuv 

I don't think you can check font color, font family etc using ATF. It's a limitation.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

@ramuv ,

                   You can not check colour, but if you want to check "opened for" is VIP or not, you can check using. Add State Step -> Field value validation -> Select Table -> and in Condition Dot walked opened for.VIP is true. (* All VIP comes as RED)

Kindly mark correct and helpful if applicable

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@ramuv 

I don't think you can check font color, font family etc using ATF. It's a limitation.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar  Thanks for the your response.

 

my scenario  we  are validating the vip flag and font color , is it possible to validate in ATF? , please find below screen short.

ramuv_0-1688985311917.png

 

@ramuv ,

                   You can not check colour, but if you want to check "opened for" is VIP or not, you can check using. Add State Step -> Field value validation -> Select Table -> and in Condition Dot walked opened for.VIP is true. (* All VIP comes as RED)

Kindly mark correct and helpful if applicable

@ramuv 

I already mentioned you cannot check the icon, color, font etc in ATF

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader