Skip to main content

create bot to download pdf with print button click on form page


Forum|alt.badge.img+3

User

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

 

10 replies

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • February 20, 2024

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.

  1. 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.
  2. 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.
  3. Click on the Search Button:

    • Action: "Web Recorder > Click" to click on the search button.
  4. Navigate to the Next URL:

    • Action: "Web Recorder > Navigate" to navigate to the next URL.
  5. Click on the Print Button:

    • Action: "Web Recorder > Click" to click on the print button.
  6. Download the PDF:

    • Action: "Web Recorder > Download File" to download the PDF.
  7. Close Browser:

    • Action: "Web Recorder > Close Browser" to close the browser.
 

Forum|alt.badge.img+3
  • Author
  • Navigator | Tier 3
  • 17 replies
  • February 20, 2024

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.

 

 


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • February 20, 2024

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.

 

 

 

Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • February 20, 2024

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.

 


Forum|alt.badge.img+3
  • Author
  • Navigator | Tier 3
  • 17 replies
  • February 20, 2024

this function print file from pc not from url  
if from url how we go through?


Tamil Arasu10
Most Valuable Pathfinder
Forum|alt.badge.img+16
  • Most Valuable Pathfinder
  • 3274 replies
  • February 20, 2024

After download the file from site, loop the downloaded location for get the filename and pass the path\filename. Extension to the print action. 

 

Forum|alt.badge.img+3
  • Author
  • Navigator | Tier 3
  • 17 replies
  • February 20, 2024

can you come in teams session ?

 


Forum|alt.badge.img+3
  • Author
  • Navigator | Tier 3
  • 17 replies
  • February 20, 2024

file downloaded but its not open 
after download when i open this file its show below message 
 

 


Forum|alt.badge.img+3
  • Author
  • Navigator | Tier 3
  • 17 replies
  • February 20, 2024

 


Forum|alt.badge.img
  • Cadet | Tier 2
  • 1 reply
  • September 15, 2024

Hi @saqib6197 did you get the solution? If yes could please post the solution here. Thanks in advance


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings