Question
Daimler
CN
Last activity: 13 Sep 2023 10:33 EDT
Hover in Pega Robot Studio V22
hi all
i have a dropdown menu it can be revealed when hovering over a main menu item. any used hover function in PEGA robot studio V22. and how to achieve it ? i am using Edge Version 115.0.1901.200
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
@shuoy16790681 Do you have an example of the type of menu it is? Of course, you might be able to position your mouse over a specific area of the screen, but that may not be necessary. If you examine the operation of the page, you might get a better understanding of how the items in the menu are instantiated. These menu items may actually exist already, so you might be able to add them from the web controls tab. I would start by looking there first. You might not even need to hover to select the items.
Daimler
CN
i tried to use perform click on the primary stage, expected to show secondary stage. but click did not perform well.
so rightnow i can highlight the element. but i donot which method may help to show secondary level menu.
also when the secondary level shows, how can i make it stable to enable me to catch the secondary element.
then.
Pegasystems Inc.
US
@shuoy16790681 Is the application you are interrogating a Pega application?
Daimler
CN
no it is not a pega application. we are just using PEGA robot to interrogate other system to perform automation.
Pegasystems Inc.
US
@shuoy16790681I suggest looking on the web controls tab to see if you can locate the controls that appear when you hover. In my experience, the controls are already present. It would be unusual if the hover actually created the controls instead of just revealing them visually.
Daimler
CN
if not able to locate the controls when hover. is there any possibility that pega can move arrow to the element where is need to to make hover?
Pegasystems Inc.
US
@shuoy16790681 There isn't a native way to change the location of the cursor. You can do so with a C# script. You should be aware that moving the cursor really won't be reliable in an attended robotics automation because the user will very likely move it themselves away from wherever you've placed it. For an unattended bot, it might work, but certainly not on a machine where your screen was locked. You can probably trigger whatever function the hover is triggering though with a little research on the page itself. If you are convinced a hover is the only way, then you can certainly write a C# script to position your cursor at specific screen coordinates. You can use some math and the available properties of your interrogated controls to help you locate the appropriate coordinates at runtime (i.e. get the location of a control near where you want to hover and use that as a basis for where you want to position your cursor).