create bot to download pdf with print button click on form page
You
I want create bot in automation anywhere 360 this bot take reference number from excel file and then put in text box(textbox is with placeholder) of website and then click search then next URL is open then click on print button of form and download this pdf. Please provide automation anywhere 360 steps and what action we need to use in bot to automate.
Thanks
Page 1 / 1
Hi @saqib6197 ,
Please find the below,
Keep in mind that the exact steps and actions might need to be adjusted based on the specifics of your website and application.
Open Excel and Read Reference Number:
Action: "Excel Automation > Open Spreadsheet" to open the Excel file.
Action: "Excel Automation > Read Cell" to read the reference number from the Excel sheet.
Open the Website and Input Reference Number:
Action: "Web Recorder > Open Browser" to open the website.
Action: "Web Recorder > Keystrokes" or "Web Recorder > Set Text" to input the reference number into the textbox.
Click on the Search Button:
Action: "Web Recorder > Click" to click on the search button.
Navigate to the Next URL:
Action: "Web Recorder > Navigate" to navigate to the next URL.
Click on the Print Button:
Action: "Web Recorder > Click" to click on the print button.
Download the PDF:
Action: "Web Recorder > Download File" to download the PDF.
Close Browser:
Action: "Web Recorder > Close Browser" to close the browser.
after 5th step new popup is open and this pop also have print button like in picture but i tried too many ways to doing this step but not worked. please guide or take session with me if you have time.
You can directly use the below options which save the time for you.
Use the Print action to print a file. This action enables you to print a file based on its size and the date it was created or modified.
Click on the Print Button:
Action: "Recorder > Click" to click on the print button
please select the application as window type and window title should be dynamic so use the wild cards in the end.
this function print file from pc not from url if from url how we go through?
After download the file from site, loop the downloaded location for get the filename and pass the path\filename. Extension to the print action.
can you come in teams session ?
file downloaded but its not open after download when i open this file its show below message
Hi @saqib6197 did you get the solution? If yes could please post the solution here. Thanks in advance