Ask a Question

Shadow while mouse hover

Ilakkk
Contributor

Shadow while mouse hover

Hi,
Is it possible when we mouse hover to an element or an image it visible some shadow
Any idea to capture that css shadow is visible to user or not
5 REPLIES 5
rraghvani
Trusted Contributor

Do you have an example?

rraghvani
Trusted Contributor

There's no indications that you can use to verify

rraghvani_0-1678964153101.png

The only other solution is to compare image or region.

Hi,

 

Just an idea that should be verified:

Considering screenshot posted by @rraghvani, one may try this:

-- Hover mouse over some element;

-- Get computed CSS style for this element (as per https://support.smartbear.com/testcomplete/docs/app-testing/web/general/examples/css-attributes.html) and check if expected obtained CSS contains expected attribute.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

Thank you I will try
cancel
Showing results for 
Search instead for 
Did you mean: