cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chrisevans10
Frequent Visitor

PAD causing the application to flicker (possibly changing focus on the window)

We've got a legacy application that we are using with PAD. It works fine in all areas for automation bar one window. To get to this window, you have to open two other windows first. PAD is detecting the appropriate UI elements that we need to fill in and is able to fill them in successfully.

 

However, when it is doing so, the application window flashes very rapidly and PAD seems to wait around 3-4 seconds per UI element before it fills it in. Just before PAD fills in the data in the UI element, the flashing stops. Then it fills in the UI element. Then the flashing starts again for 3-4 seconds for the next UI element.

 

My impression is that there is some sort of focus issue occurring between the main application window and this sub window and that there is some kind of built in timeout within PAD that once reached, it tries a different method to get to the UI element. I've attempted pre-focusing the correct window by clicking on it but this doesn't resolve it either.

 

Has anybody experienced anything like this before and any tips on what I might try to resolve?

 

Thanks

18 REPLIES 18
chrisevans10
Frequent Visitor

As a follow up, I've recorded this video. You can see the flickering and how it seems to minimize/reopen the legacy application and then how this stops right before it begins inputting on the UI element chosen. I have also used inspect.exe to look at the path chosen for the UI elements and it is correct.

 

usersettings.gif

Pavel_NaNoi
Impactful Individual
Impactful Individual

Could be a number of things occurring, will need a bit more testing:

 - If you think its a focus issue, try using the "Focus window" action and aim it at the application, if it doesn't help, its probably not that.

 - Maybe the selectors are having a fit, try making them more generic by going into the first few ones and ticking some boxes off.

 - Also are you in a virtual environment running PAD from your PC and not the VM?

 - Finally this might be just a window 11 issue, the OS isn't exactly perfect at the moment.

chrisevans10
Frequent Visitor

Hi. Thanks for the reply. I have tried the focus window and reducing the selectors with no luck. The environment is a PC rather than a VM. Good shout re Windows 10 but unfortunately I have just tested it on a colleagues machine and get the same issue!

Just found someone else with the flickering issue and they've mentioned it was window 11, however since its not in your case try some other methods of interacting with the legacy software, e.g.:

- Use a move mouse to image action with a click, see what happens

- Use send keys action to select something or write text, see what happens.

 

Let me know if either of those work, or don't work.

if its the former, probably a UI element issue, otherwise its likely a new PAD bug for this specific software.

chrisevans10
Frequent Visitor

Yup move mouse to image works fine and so does write text. I'm actually using both of those as a temporary workaround for now (using a mixture of tab, clicks etc to navigate) but of course it's not likely to be as reliable as being able to pick up on the UI elements themselves.

 

It's strange how it is still able to ultimately determine the element and fill it as required - it's just the flashing and delay that is the problem. The rest of the application can be automated fine and UIPath is able to automate these specific windows.

Yeah seems like a PAD UI Selectors issue by the looks of it then, one last thing to try out:

Run this via the run button in the PAD console (where you see all your automations) rather than the debug method, see if that still causes the bug,

 

if that doesn't work we'll probably need someone more versed in the intricate details of UI Elements, as I'm out of ideas at that point 😅

chrisevans10
Frequent Visitor

Sadly that one doesn't work either! We do have a support contract with Microsoft so have raised it to their team. I'll post back here with what they say, unless anyone else has any suggestions! 🙂 Thanks for your help though.

Hi, Chris

Have you found a solution to this issue?

I have the exact same problem with the application window flickering / flashing.

The only difference in my case is that the legacy app is running on a Windows 10 VM

Thanks,

Hi

 

I have not found a solution but I am in contact with the developers via support who are looking at it, presently with a low priority as it is assumed to be unique to the application I am working with. If the same is happening for you, I'd recommend you contact MS support via your support package for your organisation so we can get the same issue raised for attention.

 

If you don't have support via MS, I'd be happy to take an email from you with a Dropbox or similar and I'll pass it along under my thread as additional evidence of the same issue? They require of a video of what is happening and an anonymised flow exported as follows:

 

  • On the Power Automate Portal, navigate to the "Solutions" tab and create a new "Solution".
     
  • Open the Solution and go to "Add existing", to add the Desktop Flow to it. (add existing -> automation -> desktop flow)
    Should the original Desktop Flow contain sensitive information such as passwords, feel free to create a copy of it via the Console of "Power Automate Desktop", delete the sensitive data and insert this one instead to the Solution.

  • Use the "Export solution" option in order to export this Solution in a zip file. During the export, you can choose "Unmanaged".

 

I also simplified the flow from my upload so it featured just the parts that were problematic.

 

Best wishes

 

Chris

GTR
Advocate I
Advocate I

Hi Chris, I have the same issue. It seems to start when a child window in the legacy application opens, it's fine when jut the parent window is open. Unfortunately, most of the interaction is in a child window. It slows down to a frustrating level and flickers. I've tried Windows 10 and 11 and high spec desktop PC and Azure E2as_V4 VM. It's even slower on the VM. Any updates or advice would be well appreciated. 

momlo
Super User
Super User

Hi, I've seen this with some of my apps too, not real issue to me thought - more aesthetic things, but PAD does what is supposed to do 😛

Just for clarity, PAD inputs 5-7 times slower with this issue and with the volume I'm looking at, this costs days in time.

momlo
Super User
Super User

yeah, I know, my response was a bit of fun

Definitely worth chasing MS to see if they can fix to improve performance

GTR
Advocate I
Advocate I

I'm now finding this problem is even worse running on a VM and causes my desktop flows to fail due to the screen flicker causing screen controls to disappear. In one example a radio button popup disappears as the screen flickers so the flow is unable to select a radio button and fails. Higher spec machines reduce the flicker but it's still present and problematic causing fails. 

 

I'm assuming it's something in the way the legacy system is designed but would be good to identify exactly what causes the secondary windows to trigger this issue and how to prevent. Any help will be hugely appreciated...

sagar12233
Frequent Visitor

Hi Team,

 

We have automated windows application using PAD version 2.16 and the same was working fine.

However, later our IT teams updated the PAD application to latest version 2.25 and since then we are facing flickering issue when multiple sub windows are open in the mentioned windows application.

 

Not only the screen is flickering but PAD waits for almost 5-7 seconds before performing any specific activity (eg: while updating text in textbox or changing DropDown or Radio Button click)

And sometime due the flickering issue the click or requested action happens on different position making the flow to break.

 

Seems like the mentioned issue is happening only to windows application only and not with browser based application, request Microsoft to fix the issue or provide us with some resolution for the same.

  

Thanks a lot in advance.

Atharvazd
Frequent Visitor

Recently i have updated PAD to 2.25 and it seems to be behaving the same as mentioned above with the windows application, it flickers between multiple windows and also it is very slow while entering the data in fields. Due to flickering PAD also fails to execute he click on ui element/ press button action during the run which otherwise works fine.

 

Please get in touch if this has a solution or can be handled in a better way.

Hello @chrisevans10 ,

Any update regarding this Issue, as I am also facing the same.

Hi Pawan,

please refer the attached solution, feel free to get in touch with me on my mail id: mhatre.sagar71@gmail.com

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages

Users online (952)