Forum Discussion

srinivas_yadati's avatar
srinivas_yadati
Occasional Contributor
11 years ago

I am looking for a method to validate the status cell

hi

I have different connections to many systems/platforms showing in grid having status colour in cell(Red-not connected ,Green - connected and yellow- down)

Now i want to validate the connections through colour.

3 Replies

  • Depends how the colours are applied and what the grid they're in is.



    For colour checking against my web application, I interrogate the CSS info. This will return an RGB value I can check against an expected result.
  • srinivas_yadati's avatar
    srinivas_yadati
    Occasional Contributor
    Thanks Ryan Moran

    I am working on image comparision it might work .



    In our apllication they used png for status colours is there any particular methods for taking objets of that status cell.



    one more problem is iam verifing the status cells in 3 if else if loops

    is first if loop fails to match the color in second loop it matching test case is sucess but project shows failed because of first loop failing.cane we have any other way for avoiding project suite failing!!!!!