Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.37 KB

File metadata and controls

26 lines (20 loc) · 1.37 KB

A robot that completes the supply chain challenge

po_app

This example robot completes the supply chain challenge at https://developer.automationanywhere.com/challenges/automationanywherelabs-supplychainmanagement.html.

The robot uses the robocorp-playwright library for browser automation, RPA.HTTP library for downloading the CSV file used in the challenge and the Polars library for reading the excel into a data structure.

@task
def solve_challenge():
    """Complete the supply chain challenge"""
    launch_browser()
    open_procurement_website_and_log_in()
    purchase_order_page = open_po_page()
    agents_df = get_agents(purchase_order_page)
    po_numbers = get_po_numbers(purchase_order_page)
    get_po_data_and_insert_to_form(agents_df, po_numbers, purchase_order_page)
    challenge_verification(purchase_order_page)

For more information, do not forget to checkout the following: