Color comparison in UFT for windows application | QTP UFT Training
10% April Month Discount Avail Now

QTP/UFT Training Forum

Color comparison in UFT for windows application

K
Karen Dantis Post on 24/01/2019

Can I perform color comparison in UFT for windows based application?

eg: once data is updated in application, the colour changes from Orange to Green

I do not have any properties for color when I use object spy.

 

D

Instructor

Demo Reply on 26/02/2019

Yes you can

From inner html you can get the css color

 

Generally automation is not used to achive this objective but you can do it if you want

K
Karen Dantis Reply on 01/03/2019

From inner html you can get the css color - this can be achieved for web based apps.

I wouldn't be able to get inner html for windows applications.

can you please share a sample script if this can be achieved