Support > Forums > OpenBots Studio > Capture Hover Element

Capture Hover Element

DHARANI R

  • Reporter
  • Calender Icon July 07,2022 at 9:19 AM

I have a situation where i need to capture a text within a hover element heading in OB studio. Click is not working since im not able to find html class. Also tried ui element recording ,which is not very accurate as this action is required to be in a loop. Can you suggest something.

This forum has 314 topics, 681 replies, and was last updated 13 days ago by Support Agent

Poornima Malv

  • Participant
  • Calender Icon July 08,2022 at 11:01 AM

Hi dharanirr,

Step 1 - To hover over the element - You can use the Native Browser Hover over element command - In that you can record the hover and then try to make the X and Y adjustments to dynamic values say 5 and 15 or any other value which will give right hover and choose hover type - cursor hover. You can validate it by using UI Element Validator.

Step 2 - To capture the text in the hover - You can use the Native Browser Get Text command and capture the text in the hover and store in an output variable.

Please let me know in case of further queries.

Thanks.

You are not authorized to reply, please click here to login and add your reply to this topic.