Is there any way to validate button color using selector and activity ? for Test automation purpose?

Is there any way to validate button color using selector and activity ? for Test automation purpose ?

@Logesh_Ekeshwara_Rao

Colors are generally css properties and cannot be validated with selector

cheers

1 Like

when the question is about Webpage elements (Html / CSS):

Some scenarios:

  • CSS Class names / markers
  • Style attribute markers

But can sometimes fail,

  • when additional JS is involved
  • CSS Cascade and the definition point is not retrievable

As an alternate: CSS Property value retrieval with:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.