I created an automation to recognize the below Welcome screen and close the pop-up in order to process with other activities. I use Check State App with target is the X sign and anchor is Welcome then Click activity to close the screen. The bot runs fine manually and with Robot assistant. However, running on Orchestrator does not seems to recognize the pop-up screen so the pop-up screen won’t close. Could any help on this?
Hi Thao,
I see you’re using Check App State, but it’s not recognizing the pop-up. A few things to consider:
- Simulate Click/Type: Since this is running on an unattended machine, ensure that
SimulateorSendWindowMessagesoptions are enabled in yourClickandType Intoactivities. This helps interact with UI elements even when the screen isn’t visible. - Adjust Timeout/Delay: Try increasing the timeout or adding a small delay before the
Check App Stateactivity. This might give the pop-up enough time to fully load before the bot attempts to close it. - Refine Selectors: Double-check the selectors in UiExplorer to ensure they are as robust as possible. Adding more specific attributes or using wildcards can sometimes improve reliability.
- Modify Check App State Configuration: Tweaking the setup of
Check App State—like adjusting the target element or experimenting with different anchors—might help improve detection. - Retry Mechanism: Implementing a retry mechanism with
Check App Statemight ensure the pop-up is recognized and handled correctly.
Also, could you let me know which version of Studio and UiAutomation package you’re using? If you’re on version 24.10, you might want to try the computer vision-based selectors. They can greatly enhance the reliability of selectors in various scenarios.
Hope this helps!
Hi @thao.dinh
In the Target appear block of check app state activity insert the Retry scope and inside the action block insert the click activity and indicate on the close button of the popup, Inside Condition block of retry scope activity insert the anothe check app state activity and indicate the static UI element on the home screen (Not the Popup). Open the properties of Retry scope activity and give the number of retries as 5. Give 2 or 3 seconds in the Retry interval.
Note : Check any other time the popup looks different if sometimes it don’t have welcome.
Hope it helps!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
