UI Interactions_Getting text from a notepad file

I created the the exact workflow as the video demo instructed, however it shows that the file cannot be found. I have tried removing .txt in argument (input). But doesn’t work… I moved the file ‘What is RPA.txt’ to another folder but it still doesn’t work.

@Qin_Z

You have to pass the path of the folder in Working Directory without Filename

and arugments “What is RPA.txt”

Check as below

Mark as solution if this helps

Thanks

:weary:Still doesn’t work… please see screenshots…
It says “cannot find a part of the path”


Hi Qin,

Kindly check with the folder path of the txt file you are using.
Hold shift key and right click on the text file and select on copy as path and use it in FileName property.
This doesn’t need Working Directory.

Hope it works now.

HI @Qin_Z,
Try to open notepad file using run command by typing file path and then extract the text using get text
I tried in this way it worked
attaching workflow for ur reference
notepad1.zip (73.8 KB)

Hope it helps

Mark it as solution if you got it

Nived N :robot::robot:
Happy Automation :blush::blush::blush::blush:

None of the solutions worked… Just figured it out myself … I refreshed the steps by chosing the “indicate on screen” … Thanks y’all! :smile:

1 Like

Hi @Qin_Z

Did u tried with my solution I think it would works

I used run command to open the notepad and then extract the text and store it in a variable

And displayed it

Nived N :robot:

Happy Automation :slight_smile:

1 Like

Your workflow worked :slightly_smiling_face: Thanks!

1 Like

Great @Qin_Z :clap::clap::clap::clap:

Nived N :robot:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.