RPA training plan
Set up RPA dev environment
DAY 1
- Set up RPA Dev Environment.
- Set up WorkFusion Studio.
Common RPA dev environment problems observed in training facilities
- Missed installation steps. Make sure you followed each step from setup guide.
- Proxy. Check corporate PROXY settings and use it in WorkFusion Studio. Make sure you have PROXY exceptions for localhost / 127.0.0.1 so IDE can communicate to local RPA Bot Relay.
- IE Settings. Check that "Private Mode" checkbox is unchecked for ALL zones. Also IE should start from Blank page, not Previously Opened Pages.
- RPA Grid. Make sure Hub and at least 1 Node are running. Check Console to make sure you have available Drivers of required type.
Architecture
DAY 1
- Robotics – RPA
- Automation Technology Classification
tip
Assignment: Review Examples. Download actual RPA Bot Task examples – bot-samples.zip
Review examples in your local Eclipse IDE. Run them. Ask questions.
Web applications RPA
Tools to find web application controls guide
DAY 2
- Take the XPath Tutorial and see Practical Examples.
- Use browser inspectors.
- Use special tools - ElementLocator, XPath Helper.
- Learn element selectors.
note
Assignment: browser dev tools + locators
- Setup ElementLocator to Firefox.
- Setup XPath Helper to Chrome.
- Open cnn.com and using XPath get
- all Top Stories links
- all Top Stories titles
- Open http://toolsqa.wpengine.com/automation-practice-form and using XPath get:
- all radio-buttons Years of Experience
- Automation Tester checkbox from Profession
- all options from Continent drop-down
- element of button
Learn Robotics API guide
DAY 2
- WebElement commands
- Browser navigation commands
- Work with CheckBox | RadioButton | DropDown | MultipleSelect
- Get content of WebTables
- Robotics API Guide
note
Assignment: web table scraping
- Start from https://invoiceplane.workfusion.com.
- Log in as wf-robot@mail.com / freedom4ROBOTS.
- Navigate to Products > View Products.
- Parse Products table: Family | SKU | Product name | Product description | Price.
- Provide Products in Results Data.
- Put Products into Excel (use the list-to-excel plugin).
- Save Excel into S3 (save to
temp.bucketbucket, create[your_name]folder in this bucket).
Advanced WebDriver Topics
DAY 3
- Execute JavaScript
- Drag-and-drop
- Mouse move
- Handle JavaScript alerts
- Switch between browser windows and tabs
- Handle browser iFrames
- Webdriver wait commands
- Take screenshots
Assignment: RPA + Data Stores + S3 + Excel Apache POI
- Start from https://invoiceplane.workfusion.com.
- Log in as wf-robot@mail.com / freedom4ROBOTS.
- Get invoiceplane account from Secure Storage.
- Create Data Store manually by uploading your CSV file - for DS names use Invoices[YOUR_NAME]. Create 2 Invoices. Invoices should contain 3 and 5 Products - come up with single table. Now it's OK to duplicate Products in Invoices table.
- In BPs Machine Task read data from Data Store you've created using the datastore plugin. Use this data in RPA script to populate into controls while automating Invoice creation.
- Create 2 Invoices. Notice that each Invoice creation requires two steps:
- General Invoice form. Client | Invoice Date.
- Extended Invoice form:
- Payment Type: Paypal
- Add all Products you've linked in DB to your Invoice. Fields of Product - Item | Quantity | Price | Description
- Each invoice should have different combination of items
- Set total Discount to 10%
- Save your new Invoice
- Take screenshot of each invoice entered. Upload on S3. Put S3 link into Result Data.
- Open the View Invoices page.
- Scrap the Invoices data from page.
- Take screenshot of Invoices page. Upload on S3. Put S3 link into Result Data.
- All Invoices should be exported to XLSX file using Apache POI library. Fields to export - Status | ID | Created | Due Date | Client Name | Amount | Balance
- Save Excel into S3 (save to
temp.bucketbucket, use[your_name]folder in this bucket). Put S3 link into Result Data.
Simplified RPA API
DAY 3
- Simplified Robotics API
- Simplified API JavaDocs
Desktop Automation Using AutoIt
DAY 4
Examples
- Notepad with Save As Dialog
- Handle file download
- Automate file upload
- Automate basic authentication
- Calculator automation
note
Assignment: PRA + Windows System Dialog + S3
- Start from https://invoiceplane.workfusion.com.
- Log in as wf-robot@mail.com / freedom4ROBOTS.
- Generate Reports > Invoice Aging report and save it to RPA Agent file system.
- Upload this file into S3 and delete from RPA Agent. Put S3 link into BP Result Data.
Java applets automation using Inspector
DAY 4
Examples
- Launch applet and insert-extract data.
- Automate SwingSet App.
note
Assignment: Automate Java applet application
SwingSet application https://rpa-tutorial.s3.amazonaws.com/demo/jfc/SwingSet2/custom/SwingSet2.html
- Parse textual table data from the JTable demo tab.
- Convert data into CSV.
- Save CSV into S3.
- Have link on CSV in result data of you BP run.
- For each value from column 'Favorite movie' search for movie and scrap data: Poster picture | Year | Actors | Director | Description | Rating | Budget.
- Prepare movies description as HTML table and send it with robotic script in email body from tuk.tuk.rpa@gmail.com / work4WorkFusion into aharhots@gmail.com.
Mainframe automation using AutoIt
DAY 5
- Automate mainframe applications
- Automate command line
note
Assignment: Automate Mainframe Application
- Download and setup Windows SSH/Telnet client PUTTY - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.
- Your RPA code should launch PUTTY and connect to WF playground Linux machine as putty.exe -ssh traning@traning-ssh.workfusion.com -pw dEFgEmzL.
- Your task is to remotely generate SSH key with command: ssh-keygen -t rsa -C "your_email@example.com".
- After you launch command, you will be asked questions - your script should answer all of them (you can easily find guides of keys generation, for example, http://www.cyberciti.biz/faq/linux-unix-generating-ssh-keys).
- As a result, you will get PRIVATE and PUBLIC keys in files.
- Read contents from these files and put it into result data of your BP.
Large RPA Project Design
DAY 5
- Page objects design
note
Assignment: Design with Page Objects + MCB
- Refactor your Create Invoices RPA script. Split it into multiple files containing corresponding Page Objects. Use Page Objects in main Controller.
- Configure MCB on your Eclipse.
- Start from Kickstart project
- Follow the MCB project structure to refactor your project with Page Objects.
- Deploy your package into your WF instance. Pull Bot Tasks into new BP. Test that all works.
- Send the URL of BP.