I wanted to automate Microsoft teams using RPA. I try to find element using accessibility insights for Windows. In robotframework using rpa.Windows library I try to find the element using Automation id. I got execption of ElementNotFound.
Just need to know do I need to switch to something (like we did in selenium frame) from the application tree or is there any issue from RPA library.
Here is the screenshot of the tree using accessibility insights.
Here is the python code
TEAMS
${Teams app} Control Window “Arun Mayal Sharma | Microsoft Teams classic, Main Window”
Control Window ${Teams app}
${Teams bar} RPA.Windows.Get Element id:app-bar-2a84919f-59d8-4441-a975-2a8c2643b741
Log To Console “The teams bar” ${Teams bar}