Hello Thushar,
Within the test framework, the screen comparison has a tollerance of 30 between the sum of each color channels two different pixel. As soon as the difference is higher, the test is treated as failed and a diff file is created, marking the corresponding pixels.
When you compare the two screenshots, also take into account the alpha value of the pixels.
With kind regards,
Rudolf