Open HTML file

I have a .html file saved in a folder. I want to have the robot open the file with IE.

I cannot seem to find an open file activity.

1 Like

Try Open browser

1 Like

Thank you so much.
I used this solution andd it worked.
Camilla :slight_smile:

@CamiCat tried but it didnt work can you please explai n

1 Like

Hello vvidya,
I have similar issue for my process. I have multiple html files in folder. I want to these open html file from folder. Can you please send any sample working demo or link for my reference.
It would be great help to me if you send any sample working demo as early as possible.

Regards
Rohit Lanjewar

Hi @rohit.lanjewar

Try to open the html files with Start Process activity by providing the path of html file within a loop since u need to open the list of files

It will work

Regards

Nived N

Happy Automation

1 Like

Hello Nived,
Thanks for your prompt response and for your solution for my issue. I have used Start Process activity in my process it working fine.

But the solution is working fine for single html file in the folder and not for multiple html files in the folder. Just want to update you that I have used for each loop to get list of files from folder. But only single html file is getting opened up in IE Browser and not multiple files from folder.
Please find the attachment screenshot for my workflow activity.

Regards
Rohit Lanjewar

Is it opening same HTML file every time ?

Hello Nived,
It is opening single Html file only and the process of execution is getting stopped.

Regards
Rohit Lanjewar

Can u show the error it is throwing?

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

Hello Nived,
I am getting error after running the process in the IE browser as Cannot reach this page. The process is running only for single html file in the folder.

For example -: The process is running for single html file which is -: NSE_Data_21012021_0429.htm.
After running the process workflow. I am getting error in IE browser “Cannot reach the webpage” for that single html file in my process.

Please find the attached error screenshot, in the IE browser for your reference and also find the attached workflow for your reference.

DemoOpenHtmlFile_From_Folder.zip (62.9 KB)

PFA
Regards
Rohit Lanjewar

Hi @rohit.lanjewar

I am also facing the issue same with your workflow.

So i tested with my sample html codes. it worked fine. But when i run with internet explorer it opens all html documents but at last throws an error saying the application could not be opened.

But when i tested with google chrome, it works fine. So may be some browser issues will be there.

Regarding your html pages, when i opened manually in chrome it shows like this

So may be some issues with your html code. Kindly check that part.

Regards

Nived N

Happy Automation

1 Like

Hello Nived,
While running the Process file in Google Chrome browser and manually also when I open the file, I got similar issue. Sure I will check the html code and let you know for the issue.

Thanks Nived for spending your valuable time and effort for the resolution of my issue on urgent basis. :slightly_smiling_face:

Regards
Rohit Lanjewar

1 Like