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 / Send keys 'window wasn...
Power Automate
Answered

Send keys 'window wasn't found' error on second iteration

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there!

 

I just started using Power Automate yesterday to try to automate the inventory process at my job, and I'm caught up on one error that's really stumping me. I'm attempting to send keystrokes to a combo box (this is what the UI picker calls it, I'd normally call it a dropdown) so that I can open it up and select one of the options, and it ALWAYS works the first time whenever I run a flow. However, the second time it's to be run (on the same page, and using the same action) it will always give me a runtime error indicating 'Window wasn't found'. I've tested this both on the production website I'm creating the script for, as well as on reddit and it happens the same way on both! I'll include a screenshot of the test script I made to test this issue on reddit for clarification. Let me know if you need any more info, any help with this is much appreciated!

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Is there any specific reason you are using keystrokes? You can use any of the in-built actions to write/select to that box.

    Also did you at first try recording your activities on the screen using the Recorder? That itself will give you some readymade options.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    oh no I haven't! The only way that I could think to change the option selected in the combo box was to select it with UI picker and send the keystrokes to change it to the option I wanted. I'll try the screen recorder today and report back, thank you so much for your reply!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    THANK YOU THIS WORKED!!!

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
David_MA Profile Picture

David_MA 269 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 184 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard