Una vez en el trabajo, me asignaron una tarea de I + D para crear un bot que "recorriera" el sitio, seleccionaría productos, completaría formularios y pagaría las compras. En ese momento estábamos escribiendo una parte del sistema Antifraude que permitía detectar bots en el navegador. Y a partir de ese momento todo empezó ...
Tabla de contenido
RPA de un vistazo
Proyectos de código abierto
Servicios de pago
Automatización de pruebas
RPA frente a automatización de pruebas
Raspado de sitios web y RPA
BPM y RPA
RPA seguro ...
Un ejemplo de un bot que trabaja en Python
¿Cómo detectar un bot?
conclusiones
RPA de un vistazo
RPA (Robotic process automation) - , ( , , .), , , ... - , . , .
:
RPA - , « » , , , . RPA -, .
RPA:
Open source
open source , .. .
:
, , . Python , , .
Selenium & rpaframework
2 1 .. : , , . : , fingerprint . .
Selenium
Selenium WebDriver — -. Web-, . .
Selenium IDE - ; Chrome Firefox, .
RPA Framework
RPA Framework - RPA, Robot Framework Python. Selenium Playwright, Chromium, Firefox WebKit API. Robocorp .
3 in 1 (Desktop / Web / Mobile)
RPA Framework, Playwright, selector Selenium, .
Selenium RPA Framework
Selenium
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(executable_path=ChromeDriverManager().install())
driver.get("https://www.google.com/")
elem = driver.find_element_by_xpath("/html/body/div[1]/div[3]/form/div[1]/div[1]/div[1]/div/div[2]/input")
elem.send_keys("Python news")
elem.send_keys(Keys.RETURN)
driver.close()
RPA Framework
from RPA.Browser.Playwright import Playwright
from Browser.utils.data_types import KeyAction
lib = Playwright()
lib.open_browser("https://www.google.com/")
lib.fill_text(selector="input", txt="Python news")
lib.keyboard_key(KeyAction.press, "Enter")
lib.close_browser()
RPA Framework API.
. Enterprise . , RPA . , , RPA 100 000 , .
RPA Everest Group RPA 2020:
Everest RPA , . Everest UiPath, Automation Anywhere, Blue Prism, Intellibot Nividous .
UiPath vs Automation Anywhere vs Blue Prism
Blue Prism, 2001 , RPA «Robotic Process Automation». UiPath UiPath «DeskOver». 2015 RPA-.
RPA , , :
Blue Prism . - , RPA.
, UiPath Automation Anywhere ( ) , . RPA «» , .
RPA - G2, . 21 :
UiPath - 4.6 / 5 4722
Automation Anywhere 4,5 / 5 4310
Blue Prism 4,4 / 5 158
UiPath RPA?
UiPath RPA , . , RPA , , , AI Fabric, RPA SaaS .
UiPath RPA - 3-4 , RPA.
UiPath:
Long Running Workflows
Machine Learning and Predictive Analytics
Seamless Interconnectivity
Process Document Understanding
Citizen Development
Customer Satisfaction
Flexible Licensing Model and Low Cost of Entry
: https://www.auxis.com/blog/top-rpa-tools
RPA G2, (, , .). G2 , :
RPA
UiPath
UiPath - .
UiPath . - . Quadrant Review Gartner, UiPath , UiPath , RPA.
Automation Anywhere
Automation Anywhere, RPA, - RPA, -. RPA, , , .
Blue Prism
Blue Prism, RPA, .
Blue Prism RPA Fortune. Blue Prism . , RPA. .
Microsoft Power Automate
Microsoft Power Automate RPA. Microsoft Power Automate . Microsoft . .
WinActor
WinActor - RPA, NTT Group. , .
Test Automation
.
, (, Selenium), . , , , , .
Automation Testing Tools
RPA.
:
|
Open source |
|
Selenium |
+ |
|
Appium |
+ |
|
SoapUI |
+ |
|
TestProject |
+ |
|
Cerberus Testing |
+ |
|
Katalon Studio |
|
+ |
IBM Rational Functional Tester |
|
+ |
Telerik Test Studio |
|
+ |
TestComplete |
|
+ |
Ranorex |
|
+ |
Kobiton |
|
+ |
Subject7 |
|
+ |
HPE Unified Functional Testing (UFT) |
|
+ |
:
RPA vs Test Automation
: .
RPA Test Automation . , .
:
.
:
, , (SUT).
RPA , , , .
RPA , .
RPA
, , , RPA (, Octoparse).
Process Bots VS Search Bots
RPA:
Low Code UX
UX
-
-
- ( , ..)
:
-
HTML ( ; UPC )
(, , ..)
?
, , - RPA , , .
RPA . . . , , .
. . RPA . , -, RPA , , - html .
AI. , Crawlbot Diffbot, , . JSON CSV, . , , RPA. !
Scrape.do
Scrape.do - -, , API- - . Scrape.do . Scrape.do - -.
Scrapingdog
Scrapingdog - -, -, , CAPTCHA. HTML- - API. Scraping dog - API LinkedIn.
ParseHub
ParseHub - -, -. . , , , / , CSV JSON. .
Diffbot
Diffbot - -, , -. - . Analyze API , , , .
Octoparse
Octoparse - . IP- IP-. . , . CSV, Excel API.
ScrapingBee
ScrapingBee - . -, , Chrome.
Luminati
Luminati - - . , .
Scraper API
Scraper API - API -. -, CAPTCHA, HTML- -, API.
Scrapy
- Scrapy. Scrapy - , -. - Python.
Import.io
- -, , . Import.io - CSV. , 1000 API- . Mac OS X, Linus Windows.
BPM RPA
BPM (Business Process Management, -) – , -.
BPM - (, , ..).
BPM- — -.
, , . , , , , - .
- : , . RPA - , .
BPM RPA
Camunda
Camunda , , RPA- , . , Camunda , RPA API / .
:
RPA
RPA
RPA
ELMA
BPM- ELMA . - ELMA — . .
RPA + BPM:
.
.
.
Customer Experience .
ProcessMaker
ProcessMaker - - (BPM) . .
RPA...
RPA
RPA? , . , ( , .), , , , . , .
, :
: . , .
: .
: , . , , , -.
: malware , .
: .
, , , .
:
: - , .
RPA
Miremos desde la perspectiva de un pentester. Podemos usar RPA para crear un script que verificará cíclicamente las páginas en busca de vulnerabilidades. Pensando más, podemos entrenar a todo un ejército de robots para simular ataques en varias API y sitios. Está claro que no todo se puede automatizar, pero puedes probar los escenarios básicos que se repiten para cada sitio.
Continuará...
En el próximo artículo, crearemos nuestro propio bot, consideraremos qué son los algoritmos para detectar bots, que están escritos en Selenium y usando RPA. Creemos nuestro propio algoritmo y resumamos.