# How to verify an element is highlighted

**URL:** <https://forum.katalon.com/t/how-to-verify-an-element-is-highlighted/84485>\
**Category:** Web Testing\
**Tags:** web-testing\
**Created:** [February 20, 2023, 3:01am UTC](https://forum.katalon.com/t/how-to-verify-an-element-is-highlighted/84485 "2023-02-20T03:01:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kristina1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kristina1/32/22419_2.png) [@kristina1](https://forum.katalon.com/u/kristina1)\
**Post date:** [February 20, 2023, 3:01am UTC](https://forum.katalon.com/t/how-to-verify-an-element-is-highlighted/84485/1 "2023-02-20T03:01:22Z")

</div>

Hi!  
I have a page where if to hover a mouse over an element it gets highlighted. How to verify an element is highlighted in Katalon Studio?

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [February 20, 2023, 7:12am UTC](https://forum.katalon.com/t/how-to-verify-an-element-is-highlighted/84485/2 "2023-02-20T07:12:41Z")

</div>

Please tell us how does your HTML element get **highlited**.

Possibly the element is attached with a JavaScript onmouseover event handler which modifies some CSS property of the element. Are you aware of the implementation detail? Please tell “it” to us.

If you could tell us the detail, others would be able to advice you how to verify if “it” actually occurs as you expect it to. If you do not specify the way how to verify if “it” occurs, nobody would be able to advise you how to.

---

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [February 20, 2023, 4:15pm UTC](https://forum.katalon.com/t/how-to-verify-an-element-is-highlighted/84485/3 "2023-02-20T16:15:48Z")

</div>

**Right** click on the element that you hover over and select “Inspect”. You may have to do this twice. That should give you the HTML of the element and show its attributes.
