Advanced custom UI selectors in Power Automate Desktop. Solving RPA forms challenge!

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Let me show you multiple ways to solve RPA forms challenge ( rpachallenge.com ): using unique HTML attributes, custom CSS selectors and jQuery code!
    Also, I am showing you how you should think about creating UI selectors in case target app does not provide unique attributes for its elements and their layout is dynamic. This is really challenging! :)
    Chapters:
    0:00 Intro
    0:42 Why RPA challenge is a challenge for RPA?
    2:23 Building RPA to solve the challenge
    3:42 Last visible row containing data in Excel mustn't be the last free row. Tip!
    7:52 Adding UI elements
    8:38 Renaming added UI elements. Tip!
    9:28 Building RPA logic for website
    11:15 Populate text field on web page - advanced settings to consider.
    14:15 First test in a debug mode
    14:55 Debugging "Start" button selector... Ugh ;)
    19:00 Setting the right selector for "Submit" button
    19:50 Second test in a debug mode
    20:20 PAD failed on writing to text field, because the default selector is wrong
    21:12 How the fields' selectors can be fixed? First solution.
    23:25 Third test in a debug mode, with fixed selectors
    24:50 First test in attended mode
    26:50 Tweaking the design, so that RPA runs much faster
    27:30 Second test in attended mode. Over 2x faster!
    28:24 Building selectors using fields' labels - CSS!
    30:02 Second test in attended mode, new selectors
    30:50 Why is Flow Monitoring better than Windows notifications when debugging in attended mode? Tip!
    31:22 PAD can't launch browser in attended mode. How to resolve? Tip!
    32:09 Re-running second test in attended mode
    33:32 Writing to fields using jQuery script instead of UI selectors
    35:50 Third test in attended mode, using jQuery script
    37:30 Tweaking jQuery script to run faster
    38:48 Fourth test in attended mode. Over 5x faster!
    39:45 Wrap up!

Komentáře • 31

  • @sanjeevsoni6793
    @sanjeevsoni6793 Před 12 dny

    Excellent - Various approaches will definitely help, great contnent

  • @StephanOnisick
    @StephanOnisick Před rokem

    Really helped me with selectors. Mines working now!

  • @rasipogulabhaskar9858
    @rasipogulabhaskar9858 Před 9 měsíci

    Really nice yaar... please share more use cases

  • @JonDoesFlow
    @JonDoesFlow Před 2 lety

    Excellent !!

  • @Chrisrich153
    @Chrisrich153 Před 7 měsíci

    Very cool 👍

  • @StephanOnisick
    @StephanOnisick Před rokem +1

    Love your presentation. Could you put your javascript some where? Loved your music , the multiple approaches, your errors (we all make them), and stuff not working (been there).

  • @ricardo190497
    @ricardo190497 Před 6 měsíci

    Great video! Thanks for the content, really helpful. Just one doubt. I'm a self-taught RPA learner. Any ideas on how to get started with Java Script (from the basics)?

    • @TomaszPoszytek
      @TomaszPoszytek  Před 6 měsíci

      I would start possibly from trying to understand what I want to achieve and then googling to find any sources. Other than that I’d go to official jquery docs.

  • @gabrielkyabu5702
    @gabrielkyabu5702 Před rokem

    Hello, i am having issue to select a div element that loads up dynamically with ajax call on a web application for loading documents. can you assist please

  • @ronaldo86
    @ronaldo86 Před rokem

    Hi , so what is emulating type again? I always confused this option.

    • @TomaszPoszytek
      @TomaszPoszytek  Před rokem +1

      That it emulates physical keystrokes. Like if user was actually typing on a keyboard.

    • @ronaldo86
      @ronaldo86 Před rokem

      @@TomaszPoszytek now I see should I turn it on or off most of the time?

  • @user-hu9ch3bi4f
    @user-hu9ch3bi4f Před rokem

    Hi brother, I try to follow "33:32 Writing to fields using jQuery script instead of UI selectors" And I testing but data is not enter in the box web page. This code $("div:contains{'First Name'} > input").val("%CurrentItem['First Name']%").blur();

    • @TomaszPoszytek
      @TomaszPoszytek  Před rokem

      You should use regular brackets instead of curly ones. So contains('sone value')

    • @user-hu9ch3bi4f
      @user-hu9ch3bi4f Před rokem

      @@TomaszPoszytek Thanks , now I solved the problem.

  • @yaschak
    @yaschak Před rokem

    maybe to speed up run direclty POst request with variables i think

    • @TomaszPoszytek
      @TomaszPoszytek  Před rokem

      What exactly do you mean?

    • @yaschak
      @yaschak Před rokem +1

      @@TomaszPoszytek i think post variable requests

  • @sonuaryan5813
    @sonuaryan5813 Před rokem

    Most of the time the elements didn't found using power automate that's the error I am getting while updating the SharePoint web form. Please help.. you screen size very slow to understand what you are typing in video

    • @TomaszPoszytek
      @TomaszPoszytek  Před rokem

      Well, first question is, why are you updating SharePoint form using RPA? And not cloud flow? Or rest api calls?

    • @sonuaryan5813
      @sonuaryan5813 Před rokem +1

      @@TomaszPoszytek I have used the web recorder. Now it sort out thanks 👍

  • @manishbansal5255
    @manishbansal5255 Před 2 lety

    Sir excel mai data se drop down list kaise bhare web form par

  • @adrianboom6879
    @adrianboom6879 Před 2 lety +1

    You would do well to enlarge your screen, especially you ui selectors ... I can't see what you are typing ...

    • @TomaszPoszytek
      @TomaszPoszytek  Před 2 lety

      Thanks for the suggestion. I am trying to zoom in at any important information, sorry if I missed sth.