Author: AppRobotic

AppRobotic Process Automation | RPA

How to run automation 24/7, but not on my computer?

Q: I wrote some RPA automation incorporating Selenium WebDriver. It visits various internal company webpages and checks for updated resources, such as white papers and forum posts. It refreshes every 5 minutes, and sends an alert email if a new resource is found. How can I run this RPA script 24/7 somewhere other than on…
Read more


0

How do I type/send keyboard keys with AppRobotic?

The Type() method in AppRobotic can be used to send keyboard strokes to the active element on the screen. Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) x.Type(“This is a test.”) x.Type(“{TAB}”) x.Type(“This is another test.”) x.Type(“{ENTER}”)


0

How to open Google in a web browser with Python and search using an AppRobotic macro?

AppRobotic can be used to create a simple macro to perform any action in a web browser. The code example below leverages Python to open a web browser window, and perform a simple search on Google. Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) # specify URL url = “https://www.google.com” # open with Edge browser x.OpenURLEdge(url)…
Read more


0

How to click a webpage element only if it is found by Selenium?

To check whether an element was found on the page prior to trying to click it, we can read its length with the len() method. If it’s greater than 0, we proceed to click it. Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver # navigate to Yahoo driver = webdriver.Firefox() driver.get(‘https://www.yahoo.com’) #…
Read more


0

How to install win32com.client in Python?

If you’re seeing a ImportError: No module named win32com.client error while using the Python language with AppRobotic, it means that this module has somehow broken during an update process. Open a Command Prompt, change the directory to the 32-bit Python install directory, such as: cd “C:\Program Files (x86)\Python39-32” and run the following command: python -m…
Read more


0

How to scroll to a webpage element with Selenium?

Selenium provides the ‘move_to_element’ method that will scroll to the element in the DOM, and place the mouse on the element, which subsequently makes it easy to click: Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains # navigate to Instagram driver = webdriver.Firefox() driver.get(‘https://www.instagram.com’) # sleep 1 second…
Read more


0

How to download and save all images from a URL?

To download all images from a given website, we can iterate through all ‘img’ elements, and leverage the ‘urlretrieve’ method to save them to our computer. Sample code below: Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver import urllib.request # navigate to Instagram driver = webdriver.Firefox() driver.get(‘https://www.instagram.com’) # sleep 1 second x.Wait(1000)…
Read more


0

How to click a link with Selenium WebDriver using Python?

Clicking on a website link with Selenium WebDriver is a two-step process: 1) Locate the link element on the webpage 2) Click on the located link using Selenium’s ‘click’ method Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”) from selenium import webdriver # navigate to Yahoo driver = webdriver.Firefox() driver.get(‘https://www.yahoo.com’) # sleep 1 second x.Wait(1000) link…
Read more


0

How to complete login forms on Instagram using Selenium WebDriver and Python?

While attempting to log into Instagram using Selenium the traditional way, if you’re unable to fill in the login fields, it’s necessary to make a couple of tweaks as the Login form is done in ReactJS. Python code for Selenium WebDriver leveraged with AppRobotic Personal Edition below:   Python Code: import win32com.client x = win32com.client.Dispatch(“AppRobotic.API”)…
Read more


0

How to accept security certificates while using Selenium?

To accept untrusted website security certificates while automating with Selenium, it’s possible to set a particular option on the driver that you’re using (Firefox, Chrome, IE). Most recently, this option is called ‘acceptInsecureCerts‘, however it doesn’t always work, particularly on newer versions of IE and Firefox. If you run into this issue with newer browser…
Read more


0

Top 10 RPA Use Cases

While there is an unlimited number of use-cases for robotic process automation, certain business process lend themselves to higher ROI by leveraging RPA. These processes tend to be rules-based, repetitive, and large-scale. Or, simply so complex and mundane involving multiple disparate business applications that nobody wants do the task over and over. Let’s take a…
Read more


0

What is Robotic Process Automation (RPA)?

The concept behind Robotic Process Automation (RPA) is to automate business processes normally performed by human employees within enterprises. In RPA, this is realized by coding software robots. The term “software robot” or “bot” in RPA means a software application for robotic automation. These RPA software bots can run on a variety of GUI-based business…
Read more


0

Brief Intro to Robotic Process Automation

Robotic Process Automation, or simply RPA, is garnering more and more media attention these days. In this post we briefly introduce the technology. First of all, what does Robotic Process Automation mean? It’s the use of software along with machine learning (ML) and artificial intelligence (AI) to automate high-volume, repetitive tasks. If you will, call…
Read more


0