Issue with WaitUiElementAppear Activity when WaitVisible is Checked in different monitor size

Hi, we just faced an issue with WaitUIElementAppear activity, When we set WaitVisible = true (In Official Documentation, this option will ensure the element visible before doing any actions so it makes sense to always check it), it will behave differently in different screen resolution.

Test Scenario:
Create a simple sequence project with WaitUIElementAppear activity added. Please ensure WaitVisible is set to True.

With monitor 17 inch (16,7 x 13,8 inches, 1920 x 1080 pixels) => Failed with timeout issue
With monitor 24 inch (25.30 x 17.20 x 8.40 inches, 1920 x 1080 pixels) => Succeed to run this activity

Please give us some advice on this one, We can do a workaround by setting the WaitVisible to False but not sure if it’s the right way. Besides, it would be great if we got some explanation on how UIPath determine that element is visible. Thanks.

4 Likes

Hi, i would suggest trying not to use waitVisibile as this funktion wont work in unattended robots.

Try to use find element instead - or Manu other activities to wait for element :slight_smile:

1 Like

Hi JDK,

Many thanks for your response. But we are facing a frustrated experiences, as what you have mentioned (waitVisible won’t work in unattended bot) can’t find in UIPath official documentation.

Besides, we had a really weird issue with ElementExists activity also. It always return true for hidden element. Although we read lots of article in this forum, they suggest us to try using getAttribute activity to check if that element exists or not. That activity still always return true for hidden one.

What we have tried as workaround at the moment is to use the getText acitivity, but this one’s still not stable (sometime it return the text of hidden element and sometime don’t). So we are stuck here, hope you can share some of your experiences on this. Thanks.

Best Regards,
Toan Le.

Hi toan

You could use find element on element fist, secondly you use getAttribute and check if element is visible or hidden.

Will that help you? :slight_smile:

Second thing is to keep in mind that your unattended robot dont see things like you do when looking at a monitor.
Unattended robot Will rely more on website/app code than visuels. So use your selectors wisely and avoid using activities like
Find image, wait image, waitWindowAppear/Disappear etc :slight_smile: