Can't automate WIndows Notepad

Hi, Forum

I’m new to UiPath and learning the Dev. Foundation Course.

Following the course, the Notepad was automated using the App/Web Recorder function in the Studio. When it’s run without changing any settings given by the recorder, The following error occurred that the application (Notepad) was invoked but failed to recognize it.

Can you guide me to possible causes and how to troubleshoot it?

Best regards

1 Like

Ideally If the application is not already open, it opens when the project is executed.

This could be something with the selector

First let’s try a simple step
In the activity Replace the Application path field with this value
”C:\Windows\system32\notepad.exe”

Or

Another way To get this fixed is

  1. Open notepad and keep it ready

  2. Click on three lines at the top left of the Use Browser/Application activity and try to indicate the element again

  3. Then close the notepad and try running the bot

@HongJoo_Choi

Hi @HongJoo_Choi ,
‘Time out error’, you can change ‘Application path’
image
regards,

Thank you @Palaniyappan and @Nguyen_Van_Luong1

I tried both, editing the application path and indicating the target application again, but unfortunately failed. Testing further, I conformed that the application itself is highlighted without a problem with the current setting.

It runs to the end successfully when the application (notepad.exe) is already invoked. When the application isn’t ready on the screen, the application is invoked successfully but can’t go into the next step, i.e., Do container.

Probably, right after it invokes the application, it fails to confirm the application is ready (invoked) for some reasons? For instance, application is not at the forefront or something?

Regards

Hi @HongJoo_Choi ,
You can check property of use application activity


in option open
image
in window
image
→ you can read more about it
Activities - Use Application/Browser (uipath.com)
regrards,
regards,

1 Like

It is Simple, do not complicate it.

Before opening

the Notepad Kill the notepad.
Step 1: Try to open the Notepad application and use application and select the dropdown always opens

so then inside the use application scope, you can use any activity which you are automating.