web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problem with tab selec...
Power Automate
Unanswered

Problem with tab selection on flow

(0) ShareShare
ReportReport
Posted on by 1

Hello

I am new to using PAD and it worked fine when I used the recorder. I got a problem now, PAD says that they can not find the tab button called result. Under below is my flow. The error is shown below on line 8. 

yasinsh_0-1707766398740.png

This is weird since the problem is not wait time or visiblity since I ran the flow with no loading and result tab ready for use but I still get the error that UI cant find it. Below I show the tab button and circle around it.

yasinsh_1-1707766671136.png

 

Is there maybe a solution where I can brute force the PAD to take the mouse pointer and press the location of the tab? Or maybe there is a better solution someone can help me with.

Thank you for the help.

 

  • WillSG Profile Picture
    352 Moderator on at

    Hi @yasinsh  I hope you are doing well.

     

    Probably the Selector Ui element is dynamic, and that’s why is failing.

     

    Use this approach in the meantime, is an action named Move Mouse on Screen OCR

     

    OCR stand for Optica Character Recognition, so this will recognize the keyword Results and move the mouse and click over the keyword/tab.

     

    Here is the snipped code, only copy it and paste it on your PAD development window Diana.

     

    MouseAndKeyboard.MoveMouseToTextOnScreenWithOCR.WaitForTextToAppearAndClickTextOnScreenWithWindowsOcr TextToFind: $'''Results''' IsRegEx: False WindowsOcrLanguage: MouseAndKeyboard.WindowsOcrLanguage.English Occurence: 1 SearchForTextOn: MouseAndKeyboard.SearchTarget.ForegroundWindow ImageWidthMultiplier: 3 ImageHeightMultiplier: 3 MovementStyle: MouseAndKeyboard.MovementStyle.Instant Timeout: 5 ClickType: MouseAndKeyboard.ClickType.LeftClick SecondsBeforeClicking: 1 PositionRelativeToText: MouseAndKeyboard.PositionOnImage.MiddleCenter OffsetX: 0 OffsetY: 0 X=> LocationOfTextFoundX Y=> LocationOfTextFoundY Width=> WidthOfTextFound Height=> HeightOfTextFound

     

    PS: the app that contains the keyword most be in the foreground

     

    Please let me know if it works, happy automation!,


    If I have addressed your inquiry successfully, kindly consider marking my response as the preferred solution. If you found my assistance helpful, a 'Thumbs Up' would be greatly appreciated.

     

    Additionally, I offer specialized consultancy and development services leveraging PAD. If you're interested in exploring these services further, feel free to DM me, and we can initiate a discussion.

     

    Kind regards,

     

    Will SG

    Managing Director & Automation Lead

    RAMS CR (Recruitment & Automation)

    LinkedIn Profile

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard