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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Select Radio Button on...
Power Automate
Answered

Select Radio Button on web page - error after a week

(0) ShareShare
ReportReport
Posted on by 44

Hi all,

 

I have made a flow to form field a microsoft forms form. It has a number of radio buttons which I have set to check. The flow works fine for a week after selecting the UI element at which point it will break and I will need to readd all of the UI elements for each radio button and it will work again for about another week. I have looked further and the name:

 

Radio button with selector 'div[Id="form-container"] > div[Class="form-content"] > div[Class="form-content-container "] > div[Class="office-form-content office-form-page-padding"] > div > div[Class="office-form office-form-theme-shadow"] > div[Class="office-form-body"] > div[Class="office-form-question-body"] > div[Class="__question__ office-form-question "]:eq(1) > div[Class="office-form-question-content"] > div[Class="office-form-question-element"] > div > div[Class="office-form-question-choice"]:eq(8) > div[Class="radio"] > label[Class="office-form-question-choice-row office-form-question-choice-text-row "] > input[Name="r4cd87ebbd98d42349b752b9556691ba3"]' not found.

 

Seems to be the same to me when inspecting the source so I am not sure what I am doing wrong if anyone has any ideas?

Thanks!

I have the same question (0)
  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Hi,

    What about these? Are they the same each time you capture the UI element?

    Perhaps you have a unfolding questions that appear when you select some answer to prior ones, then the table would shift?

    If not that, did you take a look at the window selector, perhaps something changes there, such as title or other element?

     

    Radio button with selector 'div[Id="form-container"] > div[Class="form-content"] > div[Class="form-content-container "] > div[Class="office-form-content office-form-page-padding"] > div > div[Class="office-form office-form-theme-shadow"] > div[Class="office-form-body"] > div[Class="office-form-question-body"] > div[Class="__question__ office-form-question "]:eq(1) > div[Class="office-form-question-content"] > div[Class="office-form-question-element"] > div > div[Class="office-form-question-choice"]:eq(8) > div[Class="radio"] > label[Class="office-form-question-choice-row office-form-question-choice-text-row "] > input[Name="r4cd87ebbd98d42349b752b9556691ba3"]' not found.

     

  • JezAuditore Profile Picture
    44 on at

    Hi,

     

    Looks like it was the eq(8) that was the issue as this changes each time. Working on a solution not to change eq(8) to eq(%variable%) to make it dynamic.

    Thanks! 

  • Verified answer
    momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Glad you got the cause.

    As for the solution - maybe you can work on selector to get rid most if not all elements except input name?

    If this name is constant, it could be just enough to keep it there?

    input[Name="r4cd87ebbd98d42349b752b9556691ba3"]'

  • JezAuditore Profile Picture
    44 on at

    This sounds sensible thank you. Will need a few weeks to test and see if it breaks over time 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard