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.
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.
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.
From the list get only the ui element that’s required for you by checking against the variable ShortDescription_FirstNineCharacters variable.
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.