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 / PAD successfully run i...
Power Automate
Unanswered

PAD successfully run in development environment but not in testing environment

(0) ShareShare
ReportReport
Posted on by 5

We have developed a PAD workflow to mimid the human click to execute process in SAP system. However, we able to run the test in dev. environment but failed in test environment. The UI for both environment exactly the same. What is the possible issue here? any advise?

 

  • Riyaz_riz11 Profile Picture
    4,219 Super User 2026 Season 2 on at

    Hi @KarenChin ,

    Can you once check the screen resolution , it may be the issue, get the screen resolution from dev system and set it into test system.

     

     

    If it helps mark as solution and thumbs up

    Regards,

    Riyaz

  • KarenChin Profile Picture
    5 on at

    @Ahammad_Riyaz , we developed it through OCR action. However, it seems this approach not very stable. We are trying to switch it back to capture image action.

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    OCR is absolutely not stable. But image recognition is not very stable either. In any case, you should still make sure that the screen resolution on both machines (assuming environments mean different machines, too) is the same. Also that the window titles and similar elements in the UI you're automating are also exactly the same between environments.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • KarenChin Profile Picture
    5 on at

    We are facing the challenges that the resolution (e.g font type) in all environments could be different (Dev, Test & Prod). By the way, anyone try to using UI elements approach?

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Using UI elements when possible is a much more stable approach than using OCR or image recognition, as UI elements do not depend on screen resolution, fonts, etc., and are less reliant to the actual element being visible on the screen (i.e. not behind some pop-up, or in a minimized window). So, if possible, absolutely go with a UI elements approach.

     

    That is, assuming, you cannot use an API approach, which would be the absolutely preferable way of doing things.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard