Click is not working in server

Hi team,

I am facing an issue with click activity. I need to select the role from the application. So there are many roles, and few are visible, and few are not visible.

So I am not checking any simulate or send window messages. So the bot will scroll the values for selecting the not visible roles also.

This action is reflecting while we are running the bot through studio. But same does not working in the server.

In the server even the click does not throw any error. this is simply bypassing.

Could any help me on this issue.

Thanks
Sreenivasa

Hi @srinusoft37

Please try the below options:

  1. Try adding a slight delay to check if it works.
  2. Record the job from orchestrator if its possible to see what’s happening.
  3. Put element exist, print the value of the output using log message and then click the element.
  4. Use hot keys if it’s applicable and can be used in your project.
  5. Stabilize the selector from UiExplorer.

Hope it helps!

Thanks for the reply.

The main issue is the bot should has to identify the roles which are in the separate frame. please see the below screenshot for the application frame.

and I am using the selectors shown below.

We cannot use the simulate and Send window messages here. If we use this both methods the failing the attend mode also.

Thanks

@srinusoft37

Is it a drop down ? Try using select item activity.

Also, check find children activity. This will give you list of values available as ui elements and you can choose the required value. You can retrieve the ui element selector from the list of children. Then, you can scroll down until that element exist and pass the same element to click once the element exist.

Hi Thanks for reply,

This is not a dropdown, FYI. This is a windown where we can scroll down and UP.

Here select ITEM activity is not supporting here.

Here this is frame, Could you help me how can we solve the frame related issue with the above issue.

Thanks

@srinusoft37

  1. Use find children activity and check the output by writing to an excel. You should get all the values from the list as ui elements.
  2. From the list get only the ui element that’s required for you by checking against the variable ShortDescription_FirstNineCharacters variable.
  3. Use element exist and scroll down until you find the ui element and then click on the value.

Also, I see tag as “Select” in your selector screenshot. Instead of highlighting the entire frame, use select item activity and click on a particular role to see if it supports.

Since, the actual environment is not available, it’s difficult to give the exact solution as it depends on the type and working of the application. It has to be found using various trial and error methods.

Have you logged into the server with RDP and then closed the RDP window? Don’t do that. Log in with the robot account then SIGN OUT from the Start menu. Now run the automation.