Best practice for the assertion of the Gannt chart

I’m writing UI test cases for Gannt bar charts and am pretty new to the Katalon. I want to know what are the best practices for the assets in the charts. I tried to assert style attributes and It depends on the screen resolution. Is it good to assert only the color of the bars or do any good suggestions?
image

1 Like

I think that the best practice is: “Don’t try to do it in Katalon Studio”.

Selenium-based test automation tools (including Katalon Studio) provide nothing supportive for testing graphics.

What technology is your Gannt chart implemented with? Possibly you use some JavaScript framework. If I were you, I would write unit-tests in JavaScript which directly calls the API of your graphics library to inspect the rendered graphics.

See also

:nerd_face:

I wondered who would be first to link it :wink: