Hy all,
first of all, thank you, everyone, for the support for my previous doubt and with your help, i was able to clear. this one continues to it.
I was able to open and download each link in the excel sheet row and it opens and downloads in the DOWNLOAD folder. But I tried to browse file activity and get URL activity to open that pdf in EDGE BROWSER(google pdf viewer window doesn’t open sometimes).it didn’t go well.
is there a way that I can locate my downloaded pdf file and open the path in EDGE and give print command along?
Thanks, I was able to find the files and I copied the file info and navigate to the URL IN EDGE, but the file name it downloads is ‘BILL FOR ACCOUNTS’ and I used Getfiles(folderpath\currentindex) so that I open as per the indexing. Is their any other way i can open the file and navigate that url to edge other than indexing?
I have URLs for the links to the website for each account number only, and the procedure goes like this:
1-Reads a row of data of URL links to accounts. (Clear).
2-Iterate through links and open in google chrome. (Clear).
3-Check webpage for a button Names as View. (Clear).
4-Button clicks and the pdf downloads to the path(downloads/Sewa/)
5-Rename the file with the Name given in Excel-(Pending)
5-Opens the pdf from the path in Edge.-(clear)
6-Checks if the app is active.-(Clear)
7-If active keyboard shortcut (Cntrl + P) for printing.-(Clear)
8- checks if the window appears- then clicks the print button (finish for one account).-(Clear)
This is what I want my bot to do on a date of 5, 15, 28 each month.
And have a doubt other than the bot ! “where can I learn RPA UIPATH”? Any course recommended? Please let me know thanks
I have uploaded my excel file where I fetch data from and my current workflow, hope the uploading is proper.
My file name is from the rows Sr.no and the link is in the link column. I am not able to iterate through files that are downloaded to print.
Eg: if Sr.No 1 is downloaded then it should open that file and print it.
then goes to the second link and opens only that file and prints. Can you help me solve this, tried for so many days but am still stuck in this loop
Hey Imran, as Thiru_Nani suggested, it would be helpful to rename the downloaded files that you would like to loop through, that way it’s easier for the bot to distinguish.
There are a few different ways you can approach this, an easy way to immediately know what file was downloaded is to use the Wait For Fownload activity. You can set it to check your downloads path and save the file into a variable. From there you can then use the Rename File activity as Nani suggested.
The file input would be “Your complete downloads path” I.e. "C:\users\Environment.User\Downloads"+yourFilevariableName.ToString
Then in the new name input it should be, what ever you want to rename your downloaded file as a string. You don’t need the path to be included in this part.
You can always test with popups, but this should rename your file and you can put this code within your for loop so each file that is downloaded is properly renamed.
Within your for loop, I’d also use the move file activity in order to move your newly named file to a custom folder. That way it will be easy to loop through all of your downloaded files. Once all of your files have been moved you can use a for loop to go through each file in your custom folder and print them. Rather than having to look through the Downloads folder. Or you could also use a for loop on your downloads folder as long as you have a common string in your downloaded files that you can use a contains function on.