Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

Robotic Process Automation using

UiPath StudioX: A Citizen Developer’s


Guide to Hyperautomation 1st Edition
Adeel Javed
Visit to download the full and correct content document:
https://textbookfull.com/product/robotic-process-automation-using-uipath-studiox-a-citi
zen-developers-guide-to-hyperautomation-1st-edition-adeel-javed/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

Business Process Automation with ProcessMaker 3.1 : A


Beginner’s Guide 1st Edition Dipo Majekodunmi

https://textbookfull.com/product/business-process-automation-
with-processmaker-3-1-a-beginners-guide-1st-edition-dipo-
majekodunmi/

Business Process Management: Blockchain and Robotic


Process Automation Forum: BPM 2020 Blockchain and RPA
Forum, Seville, Spain, September 13–18, 2020,
Proceedings Aleksandre Asatiani
https://textbookfull.com/product/business-process-management-
blockchain-and-robotic-process-automation-forum-
bpm-2020-blockchain-and-rpa-forum-seville-spain-
september-13-18-2020-proceedings-aleksandre-asatiani/

Azure Automation Using the ARM Model: An In-Depth Guide


to Automation with Azure Resource Manager 1st Edition
Shijimol Ambi Karthikeyan (Auth.)

https://textbookfull.com/product/azure-automation-using-the-arm-
model-an-in-depth-guide-to-automation-with-azure-resource-
manager-1st-edition-shijimol-ambi-karthikeyan-auth/

Measurement Technology for Process Automation 1st


Edition Anders Andersson

https://textbookfull.com/product/measurement-technology-for-
process-automation-1st-edition-anders-andersson/
The Developer s Guide to Microsoft Azure Microsoft

https://textbookfull.com/product/the-developer-s-guide-to-
microsoft-azure-microsoft/

The Farm Bill A Citizen s Guide Daniel Imhoff

https://textbookfull.com/product/the-farm-bill-a-citizen-s-guide-
daniel-imhoff/

Letters to a New Developer 1st Edition Dan Moore

https://textbookfull.com/product/letters-to-a-new-developer-1st-
edition-dan-moore/

The ShortTube 80 Telescope A User s Guide Neil T.


English

https://textbookfull.com/product/the-shorttube-80-telescope-a-
user-s-guide-neil-t-english/

Logistics site automation and robotics automated and


robotic on site factories 1st Edition Thomas Bock

https://textbookfull.com/product/logistics-site-automation-and-
robotics-automated-and-robotic-on-site-factories-1st-edition-
thomas-bock/
Adeel Javed, Anum Sundrani, Nadia Malik and Sidney Madison Prescott

Robotic Process Automation using


UiPath StudioX
A Citizen Developer’s Guide to Hyperautomation
1st ed.
Adeel Javed
Lake Zurich, IL, USA

Anum Sundrani
Chicago, IL, USA

Nadia Malik
Austin, TX, USA

Sidney Madison Prescott


New York, NY, USA

Any source code or other supplementary material referenced by the


author in this book is available to readers on GitHub via the book’s
product page, located at www.​apress.​com/​978-1-4842-6793-6. For
more detailed information, please visit http://​www.​apress.​com/​
source-code.

ISBN 978-1-4842-6793-6 e-ISBN 978-1-4842-6794-3


https://doi.org/10.1007/978-1-4842-6794-3

© Adeel Javed, Anum Sundrani, Nadia Malik, Sidney Madison Prescott


2021

This work is subject to copyright. All rights are reserved by the


Publisher, whether the whole or part of the material is concerned,
specifically the rights of translation, reprinting, reuse of illustrations,
recitation, broadcasting, reproduction on microfilms or in any other
physical way, and transmission or information storage and retrieval,
electronic adaptation, computer software, or by similar or dissimilar
methodology now known or hereafter developed.

The use of general descriptive names, registered names, trademarks,


service marks, etc. in this publication does not imply, even in the
absence of a specific statement, that such names are exempt from the
relevant protective laws and regulations and therefore free for general
use.

The publisher, the authors and the editors are safe to assume that the
advice and information in this book are believed to be true and accurate
at the date of publication. Neither the publisher nor the authors or the
editors give a warranty, expressed or implied, with respect to the
material contained herein or for any errors or omissions that may have
been made. The publisher remains neutral with regard to jurisdictional
claims in published maps and institutional affiliations.

Distributed to the book trade worldwide by Springer Science+Business


Media New York, 233 Spring Street, 6th Floor, New York, NY 10013.
Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-
ny@springer-sbm.com, or visit www.springeronline.com. Apress Media,
LLC is a California LLC and the sole member (owner) is Springer
Science + Business Media Finance Inc (SSBM Finance Inc). SSBM
Finance Inc is a Delaware corporation.
To my daughter Alaia, the light of my life.
—Adeel
To my father Ahmed and my family, for the invaluable support and
inspiration.
—Anum
To my father, for always loving and mentoring me.
—Nadia
To my siblings, I’m forever blessed to be your big sister. And to that little
girl with the big glasses, keep dreaming and achieving.
—Sidney
Acknowledgments
Thank you to Andrew Hall, Brandon Nott, Corneliu Niculite, Cosmin
Voicu, Ovidiu Ponoran, Robert Love, Teodora Baciu, and Tom Merkle
from the UiPath Team for providing valuable feedback.
Thank you to Rayudu Addagarla for agreeing to become a technical
reviewer for our book and executing all the exercises to ensure
accuracy.
Thank you to Natalie Pao and Jessica Vakili, our editors at Apress,
for guiding us through the entire publishing process.
Table of Contents
Part I: Overview
Chapter 1:​Robotic Process Automation:​Overview
Return on Investment (ROI)
Automation Types
UiPath StudioX
Chapter 2:​UiPath StudioX
Learning Objectives
System Requirements
Hardware Requirements
Software Requirements
Installation and Setup
Register
Download
Install
Interface Overview
Home
Design View
Project Workspace
Part II: Building Blocks
Chapter 3:​Common Concepts
Learning Objectives
Notebook
Default Notebook
Custom Notebook
Activity Inputs
Activity Outputs
Common Properties
Common Activities
Write Line
Message Box
Input Dialog
Modify Text
Text to Left/​Right
Delay
If
Switch
Repeat Number Of Times
Skip Current
Exit Loop
Get Username/​Password
Get Orchestrator Asset
Save For Later
Wait for Download
Group
Chapter 4:​UI Automation
Learning Objectives
Sample Overview
Activities Reference
Use Application/​Browser
Go To URL
Navigate Browser
Highlight
Take Screenshot
Check App State
Click
Type Into
Select Item
Check/​Uncheck
Get Text
Get Attribute
Extract Table Data
Hover
Keyboard Shortcuts
Get Active Window
Maximize Window
Minimize Window
Hide Window
Restore Window
Move Window
App/​Web Recorder
Chapter 5:​Mail Automation
Learning Objectives
Sample Overview
Desktop Outlook Setup
File System Structure
Activities Reference
Use Desktop Outlook App
Use Outlook 365
Use Gmail
For Each Email
Mark Email As Read/​Unread
Forward Email
Save Email Attachments
Save Email
Send Email
Send Calendar Invite
Move Email
Reply to Email
Archive Email
Delete Email
Chapter 6:​Word Automation
Learning Objectives
Sample Overview
Word Setup
File System Structure
Activities Reference
Use Word File
Save Document As
Read Text
Set Bookmark Content
Replace Text in Document
Append Text
Insert DataTable in Document
Replace Picture
Add Picture
Save Document as PDF
Chapter 7:​Excel Automation
Learning Objectives
Sample Overview
Activities Reference
Use Excel File
Insert Sheet
Rename Sheet
Duplicate Sheet
Delete Sheet
For Each Excel Sheet
Insert Column
Text To Columns
Delete Column
Insert Rows
Delete Rows
Find First/​Last Data Row
For Each Excel Row
Write Cell
Create Pivot Table
Format as Table
Change Pivot Data Source
Refresh Pivot Table
Append Range
Copy Range
Clear Sheet/​Range/​Table
Sort Range
Auto Fill
Fill Range
Write Range
Read Cell Formula
Read Cell Value
Format Cells
Export to CSV
Save Excel File
Save Excel File As
Save Excel File As PDF
VLookup
Filter
Run Spreadsheet Macro
Chapter 8:​CSV Automation
Learning Objectives
Sample Overview
Activities Reference
Write CSV
Append To CSV
Read CSV
Chapter 9:​File Automation
Learning Objectives
Sample Overview
Activities Reference
Get Folder Info
Folder Exists
Create Folder
Delete Folder
Copy Folder
Move Folder
For Each File In Folder
Compress/​Zip Files
Extract/​Unzip Files
Get File Info
File Exists
Create File
Delete File
Copy File
Move File
Write Text File
Append Line
Read Text File
Chapter 10:​Presentation Automation
Learning Objectives
Sample Overview
File System Structure
Activities Reference
Use PowerPoint Presentation
Copy Paste Slide
Delete Slide
Add New Slide
Replace Text in Presentation
Add Text to Slide
Add Data Table to Slide
Add Image/​Video to Slide
Add File to Slide
Run Presentation Macro
Save PowerPoint File As
Save Presentation as PDF
Part III: Prototypes
Chapter 11:​Product Data Entry Automation
Learning Objectives
Manual Task Overview
Solution Design
Initialize
Process Emails
Enter Data
Send Confirmation
Implementation
Step 1:​Setup
Step 2:​Create Project
Step 3:​Setup Project Notebook
Step 4:​Check Folder Structure Exists
Step 5:​Create New Folders
Step 6:​Process Emails
Step 7:​Save Email Details for Confirmation
Step 8:​Launch Inventory Management App
Step 9:​Fetch All Downloaded Files
Step 10:​Insert Processing Status Column
Step 11:​Enter Data &​Update Status For Each Row
Step 12:​Move File to Processed Folder
Step 13:​Send Confirmation Emails
Test
Chapter 12:​Invoice Generation Automation
Learning Objectives
Manual Process Overview
Solution Design
Implementation
Step 1:​Setup
Step 2:​Create Project
Step 3:​Set Up Project Notebook
Step 4:​Initialize
Step 5:​Generate Invoices
Step 6:​Extract &​Process All Orders
Step 7:​Filter Orders w/​Pending Invoices
Step 8:​Extract Orders Table Data
Step 9:​Process All Orders
Step 10:​Generate Invoice Number
Step 11:​Create Order Details Excel Copy
Step 12:​Create Invoice Template Copy
Step 13:​Extract Order Details &​Generate Invoice
Step 14:​Extract Order Details Table Data
Step 15:​Generate Invoice for Current Order
Step 16:​Mark Purchase Order as Processed
Step 17:​Delete Temporary Order Details Excel
Test
Index
About the Authors
Adeel Javed
is an intelligent automation architect, an author, and a speaker. He helps
organizations automate work using low-code, business process
management (BPM), robotic process automation (RPA), analytics,
integrations, and ML. He loves exploring new technologies and writing
about them. He published his first book, Building Arduino Projects for
the Internet of Things, with Apress back in 2015. He shares his thoughts
on various technology trends on his personal blog (adeeljaved.com).

Anum Sundrani
is a business systems analyst and technology enthusiast who
specializes in business process management and robotic process
automation. Anum is a Certified Appian Analyst, Tableau Author, Six
Sigma Green Belt, and Scrum Master, alongside her several trainings in
the areas of RPA development and the automation delivery life cycle.
She has an inquisitive eye for simplifying complex business processes
and has focused on implementing automation solutions for business
users since 2017.

Nadia Malik
is a presales engineer with a background in software development. She
started her journey as a software engineer at IBM developing cloud
storage applications and then joined the UiPath rocketship in June of
2018 helping in designing, implementing, and providing training to
customers in robotic process automation. Today, she continues to
evangelize RPA and mentor young women in STEM.

Sidney Madison Prescott


is a senior technology leader, keynote speaker, and robotics evangelist
specializing in the creation of Robotic Process Automation Centers of
Excellence for Fortune 500 companies. Sidney currently heads up the
Global Intelligent Automation initiative at the music streaming
powerhouse Spotify. In addition to her enterprise technology expertise,
Sidney is an executive board member for three global nonprofit
organizations, where she contributes valuable automation insights to
enhance overall program objectives. To round out her career accolades,
Sidney was also named a global recipient of the 2020 Top 50
Technology Visionaries award.
About the Technical Reviewer
Rayudu Addagarla
has 20 years of experience in web/mobile application development, the
cloud, and solution architecture. He has been programming with
Microsoft and LAMP stack since 1998. He has always been a full-stack
technologist. His passion is toward digital transformation and business
process automation, and he is a certified specialist in UiPath RPA. Along
with Level 3 Advanced Certification in UiPath, he holds certifications in
Pega RPA, WorkFusion, Tricentis TOSCA, Appian, and Pega BPM.
He holds a master of science degree in computer science from the
University of Louisville, Kentucky, USA, and a bachelor of technology
degree from JNTUACEA, Ananthapuramu, India. He has worked in the
roles of Software Engineer, Business Process Consultant, Senior
Manager, Industry Principal, Delivery Manager, and Senior Solution
Architect. He has expertise in Healthcare, Manufacturing, Banking and
Financial Services, Retail, Ecommerce, and Telecommunications
domains.
He has proven experience in building successful Automation COEs.
He currently works as an Intelligent Automation Consultant for EPAM
Systems, Inc., a global consulting firm in Toronto, Canada.
Rayudu teaches Scratch and Python for kids in his spare time and
shares his knowledge on LinkedIn. He believes strongly in servant
leadership and lifelong learning.
He can be reached at http://​bit.​ly/​raylnkd.
Part I
Overview
© Adeel Javed, Anum Sundrani, Nadia Malik, Sidney Madison Prescott 2021
A. Javed et al., Robotic Process Automation using UiPath StudioX
https://doi.org/10.1007/978-1-4842-6794-3_1

1. Robotic Process Automation:


Overview
Adeel Javed1 , Anum Sundrani2, Nadia Malik3 and
Sidney Madison Prescott4
(1) Lake Zurich, IL, USA
(2) Chicago, IL, USA
(3) Austin, TX, USA
(4) New York, NY, USA

To remain competitive in today’s hyper-automated world, digital


transformation initiatives have become a primary focus across various
industries. Traditionally, C-suite executives are increasingly interested
in lowering operational expenditures, particularly costs associated with
the human workforce. In addition, business leaders are simultaneously
focused on driving increased efficiencies and employee satisfaction
across the enterprise. As a result, companies are undergoing a higher
level of scrutiny surrounding existing business processes to seek out
opportunities for automation at a global scale. One area of process
optimization is that which exists for desk-level procedures typically
executed by business stakeholders. With such a high percentage of
automation opportunities executed by the business stakeholders, a
bottom-up approach is commonly seen in which the workforce chooses
tasks to automate based on their individual needs. Not only can they
help in identifying opportunities to automate but also create
automations themselves so that they may focus on high-value tasks.
With the advent of intelligent automation, specifically Robotic Process
Automation (RPA), companies now have a proven way to automate
business processes at the keystroke level.
UiPath provides a technology that enables the automation of
business processes traditionally performed by business users, using
configurable software referred to as “robots.” UiPath’s development
platform, StudioX, is extremely flexible and user-friendly as it is a low-
code/no-code solution. The software allows users the ability to interact
with systems via a robot which leverages the users’ own credentials or
can be configured with distinct credentials and specific permissions.
Robotic Process Automation tools interact with an application in the
same way as end users do, through interactions with the user interface
(UI), as well as through the back end of a system.
From a compliance and risk perspective, robots can only execute
tasks that are specifically designed with the virtual robot worker in
mind. The robot’s access to both internal and external systems is
limited to the design of the robot workflow, which demonstrates the
rules-based nature of the software. The robot can also be designed to
prompt the user for input or incorporate artificial intelligence (AI) to
handle more cognitive tasks. As a result, Robotic Process Automation
enables automation of the manual, repetitive tasks that are typically a
fundamental component of a business user’s daily job responsibilities.
A fundamental premise of Robotic Process Automation software is
the belief that robotic software is designed to complement the human
workforce, by empowering organizations with the ability to upskill
employees to build simple automations or route more complex
automations to a set of developers reporting into a core automation
team. Adding Robotic Process Automation functionality into a business
department can maximize the efficiency of employee outputs, minimize
the risk of human error, and mitigate the number of tedious, manual
processes employees are expected to execute, thus increasing the
potential for a higher level of employee satisfaction.

Return on Investment (ROI)


In addition to enabling the automation of repetitive tasks, Robotic
Process Automation software can provide substantial return on
investment to both business process owners and the enterprise at
large. Robotic Process Automation software allows firms to automate
manual processes in a cost-efficient manner, due to the fact the price
point of the RPA software is typically lower than that of traditional
business applications. Robots are beneficial in minimizing the costs
typically incurred in automation projects, as Robotic Process
Automation tools can leverage existing infrastructure architecture
without impacting live systems.
The infrastructure necessary to support robots is considerably
minimal when compared to other tools, as robots can either run on an
end user’s desktop (attended automation) or a virtual machine
(unattended automation). One of the many benefits of Robotic Process
Automation is the ability users to dictate whether a human or a robot
will be responsible for executing a particular step of the process within
a given workflow. In addition, workflows can be customized to indicate
when robots encounter changes in each system including routine
software upgrades whereby elements of the user interface might
deviate from previous versions. A significant benefit of Robotic Process
Automation is the ability users to create workflows to support a
dynamically changing environment with minimal impact to underlying
infrastructure capabilities.

Automation Types
Moving forward, we will dive into the nuances of unattended robots
and attended robots, to understand how the distinction between the
two types of automation is driving a new approach to enabling business
process automation through citizen development (business users with
the ability to build automations). Robotic Process Automation can be
leveraged to automate a wide variety of processes including but not
limited to payroll processing, customer service, advertising operations,
report aggregation, and vendor onboarding. Robotic Process
Automation also offers a wide variety of automation deployment
models which can be used interchangeably to automate processes
across the business including
Attended robots that reside on the end user’s computer or virtual
machine for the purpose of automating simple manual processes that
can be triggered by the actions of the user.
Unattended robots that can be provisioned to reside on machines
based on-premises (physical server based) or off-premises (virtual
machines/cloud based) for the purpose of automating more complex
back-office functions commonly scheduled to run based on a time or
queue. Typically, unattended automation lends itself to more data-
intensive tasks and processes with higher transaction volumes such
as batch jobs.
Hybrid robots that reside on a combination of end user and on-
premises/off-premises solutions to enable a combination of attended
and unattended style processing to enable the end-to-end
automation of processes that require both human support and back-
end functionality.
Each automation deployment model allows the end user the ability
to determine the best way to interact with a robot based on the task at
hand, alongside careful consideration of the existing variables in each
environment. The various automation deployment models can be
leveraged interchangeably as a part of a holistic enterprise-level
automation platform and digital transformation strategy. As we move
forward, we’ll focus on features and hands-on exercises specific to the
Robotic Process Automation industry leader, UiPath, to discuss the
unique value proposition the company offers citizen developers
through the use of StudioX.

UiPath StudioX
UiPath is a global Robotic Process Automation software company based
out of Romania. The company was founded in 2005 by Daniel Dines.
The company originally offered automation libraries and software as an
outsourced service, but quickly positioned itself to become an industry
leader through a customer-centric model designed to democratize
access to Robotic Process Automation capabilities. Through a robust
product road map and unique approach to empower business users
with the ability to automate simple business processes via StudioX,
UiPath’s enterprise platform demonstrates the seamless fusion that
exists between business processes and automation capabilities.
StudioX is one product of UiPath’s Robotic Process Automation
platform designed to enable business users to build automation
without the need for a traditional development background. The
StudioX functionality includes a no-code interface with out-of-the-box
drag-and-drop functionality to facilitate ease of use. In addition,
StudioX contains predesigned templates and native integrations with
common business applications such as the Microsoft Office suite to
facilitate faster development of automation workflows. Business users
can deploy a robot directly to a local machine, such as a desktop which
removes the need for traditional IT deployment support. In addition,
governance functionality is also built into the StudioX framework to
allow auditing capabilities to ensure that existing company compliance
protocols remain intact. Regarding the scheduling and sharing of
automations, users can complete both tasks through the UiPath
Assistant and Orchestrator components of UiPath.
One of the key elements that demonstrates the flexibility of StudioX
is the fact the tool allows business users a user-friendly way to learn
how to build automations that are beneficial to their job functions
while simultaneously learning a new technical skill. In a world where
technical prowess has become increasingly important, providing
employees an opportunity to leverage Robotic Process Automation
tools can help individuals to feel empowered and more satisfied,
potentially leading to less attrition. The citizen developer model is the
methodology by which business users are trained on the skills required
to build automations while also being provisioned access to RPA tools
to begin the development of robot workflows. As Robotic Process
Automation continues to expand across a wide variety of industries, it
will be important to continue to expand the knowledge of business
users with tools such as StudioX to provide a wealth of benefits at an
organizational level.
In the rest of the book, we will explore hands-on exercises with
detailed reference guides for various activities and sample files to help
you as you work to build your first RPA robots in StudioX. The goal of
each chapter is to provide real-world business process scenarios for
readers to reference as Robotic Process Automation learning tools. As
you work through the exercises, make a note of any challenges you
encounter to allow time to reflect on possible ways to solve any
roadblocks you may have. This book is intended for both the business
user looking to learn how to leverage StudioX for the first time and the
experienced RPA developer looking to build upon existing knowledge to
automate manual, repetitive tasks across your organization. As you step
into the future of working with robots, remember that you have taken
an important step in the journey to democratize automation and
heighten your technical skill set. So, let us get started.
© Adeel Javed, Anum Sundrani, Nadia Malik, Sidney Madison Prescott 2021
A. Javed et al., Robotic Process Automation using UiPath StudioX
https://doi.org/10.1007/978-1-4842-6794-3_2

2. UiPath StudioX
Adeel Javed1 , Anum Sundrani2, Nadia Malik3 and
Sidney Madison Prescott4
(1) Lake Zurich, IL, USA
(2) Chicago, IL, USA
(3) Austin, TX, USA
(4) New York, NY, USA

UiPath's StudioX tool offers a no-code approach to automation,


providing citizen developers with the tools necessary to configure and
run their automations.

Learning Objectives
At the end of this chapter, you will learn how to
Download and install UiPath StudioX
Access and use common interface components in UiPath StudioX

System Requirements
This section provides hardware and software requirements for UiPath
StudioX.

Note This book uses UiPath Studio Community v2020.10.2. At


the time of installation, you might find a slightly different version,
and that will not affect the exercises.
The Community version is free and is not limited to a trial period. It is a
great starting point for anyone just starting with UiPath or for
organizations that are looking to evaluate it for enterprise use.

Hardware Requirements
Table 2-1 lists the minimum and recommended hardware
requirements.
Table 2-1 Hardware requirements

Minimum Recommended
CPU 2 x 1.8GHz 32-bit (x86) 4 x 2.4GHz 64-bit (x64)
RAM 4 GB 8 GB

Software Requirements
Table 2-2 lists software versions supported by the current version of
UiPath StudioX.
Table 2-2 Software requirements

Supported Versions
Operating System Windows (7, 7 N, 7 SP1, 8.1, 8.1 N, 10, 10 N)
Windows Server (2012 R2, 2016, 2019)
.NET Framework Version 4.6.1 or higher
Web Browsers Internet Explorer v8.0 or greater
Google Chrome version 64 or greater
Mozilla Firefox version 52.0 or greater
Microsoft Edge on Windows 10 version 1803 or greater

Note UiPath does not support resolutions below 1024 x 768.

Installation and Setup


This section will provide you with step-by-step instructions for
downloading and installing UiPath StudioX.

Register
Before you can download and install UiPath StudioX, you will need to
register with UiPath.

Note If your company has purchased licenses for UiPath, then you
should request this from your IT department.

1. Open the UiPath website (www.uipath.com) and click the Try


UiPath Free button, as shown in Figure 2-1.

Figure 2-1 UiPath trial option

2. If this is the first time you are accessing the UiPath site, you will
need to Sign Up using one of the provided options. Once you have
registered, click the Log In link to enter your credentials.

Download
Next, we are going to download the UiPath StudioX installer:
1. Once you have logged in to the UiPath Automation Cloud portal,
https://cloud.uipath.com/, you will see a Download
Studio/StudioX button on the right under the Home tab, as
shown in Figure 2-2. The location can change with updates to the
UiPath Automation Cloud portal.
Another random document with
no related content on Scribd:
me ube con vn gentil mançebo
mercader y el pago que le di.
Miçilo.—¡O mi eloquentissimo
gallo! que ya no mi sieruo sino mi
señor te puedo llamar, pues en
tienpos[493] de tu buena fortuna
no solamente çapateros miseros
como yo, pero tuuiste debajo de
tu mando reyes y Cesares de
gran valor. Dime agora, yo te
ruego, eso que propones, que con
affecto te deseo oyr.
Gallo.—Pues tú sabras que yo
fue hija de vn pobre perayre en
aquella çiudad de Toledo, que
ganaua de comer pobremente
con el trabajo contino de vnas
cardas y peynes; que ya sabes
que se hazen en aquella çiudad
muchos paños y bonetes; y mi
madre por el consiguiente viuia
hylando lana; y otras vezes
labando paños en casa de
hombres ricos mercaderes y otros
çiudadanos.
Miçilo.—Semejantes mujeres
salen de tales padres: que pocas
vezes se crian bagasas de padres
nobles.
Gallo.—Eramos vn hermano y
yo pequeños, que él auia doze
años y yo diez; ni mi madre nunca
tubo mas; y yo era mochacha
bonica y de buen donayre y
çiertamente cobdiçiosa de
pareçer a todos bien; y ansi como
fue creçiendo de cada dia más
me preçiaua de mi y me yua
apegando a los honbres; y ansi
avn en aquella poca edad
qualquiera que podia me daua vn
alcançe, o empellon, de qual que
pellizco en el braço, o trauarme
de la oreja o de la barua. De
manera que pareçia que todos
trabajauan por me madurar, como
quien dize a pulgaradas, y yo me
vine saboreando y tascando en
aquellos saynetes que me sabian
como miel; y ansi vn moço del
cardenal Fray Françisco Ximenez
de Çisneros, que viuia junto a
nosotros me dio vnos zarçicos de
plata y vnas calças y seruillas con
que me començé a pulir y a pisar
de puntillas. Alçaua la cofia sobre
las orejas y traya la saya corta por
mostrarlo todo; y ansi començé yo
a gallear, andar y mirar con
donayre, el cuello erguido, y no
me dexaua tanbien hollar de mi
madre; que por qualquiera cosa
que me dixesse la haçia rostro
rezongando a la contina y
murmurando entre dientes, y
cuando me enojaua luego la
amenaçaua con aquel cantar
diziendo: Pues bien, para esta;
que agora veniran los soldados
de la guerra, madre mia, y
lleuarme han; y ansi suçedió
como yo quería. Que en aquél
tienpo determinó el cardenal Fray
Françisco de Çisneros emprender
la conquista de Oran en Africa, y
haziendo gente todos me
combidauan si queria yo yr allá, y
acosaronme tanto que me
hizieron dezir que si, y ansi aquel
moço de casa del Cardenal dió
notiçia de mí a vn gentil honbre
de casa que era su amo, que se
llamaua Françisco de Vaena que
yua por Capitan; el qual sobre
çiertas conueniençias y capitulos
que comigo firmó, y en mi ombligo
selló, se encargó de me llenar, y
porque era mochacha pareçiole
que yria yo en el habito de paje
con menos pesadunbre; y ansi
me vistió muy graçiosamente
sayo y jubon de raso de colores y
calças con sus tafetanes, y me
puso en vna muy graçiosa
acanea, y como la partida estuuo
a punto, dando cantonada a mis
padres, me fue con él. Aqui te
quisiera dezir cosas marauillosas
que passauan entre sí los
soldados, pero porque avn abrá
tiempo y proposito quiero
proseguir en lo que començé.
Aqui supe yo mil auisos y
donayres y gentilezas; las cuales
aprendí porque otras muchas
mugeres que yuan en la
compañia las tratauan y hablauan
con el alferez, sargento y caporal
y con otros offiçiales y gentiles
honbres delante de mí, pensando
que era yo varon. En fin yo
amaestrada deseaua boluer ya
acá para viuir por mi y tratar a mi
plazer con mas libertad; porque
no podia hablar todo lo que queria
en aquel habito que me vistió; que
por ser zeloso el capitan no me
dexaua momento de junto a si, y
mandóme que sopena de muerte
a ninguno descubriesse ser
muger. Pues suçedió que en vna
escaramuça que se dio a los
moros fue mal herido el capitan, y
mandandome quanto tenia murio;
y por dudar el suçeso de la guerra
y pensando que avnque los
nuestros huuiessen vitoria y
diessen la çiudad a saco más
tenia yo ya saqueado que podia
saquear, me determiné boluer a
España antes que fuesse de
algun soldado entendida; y ansi
me concerté con vn mercader que
en vna carauela lleuava de
España al real prouision, que me
huuiesse de passar; y ansi cogido
mi fato, lo mas secretamente que
pude me passé, y con la mayor
priessa que pude me bolui a mi
Toledo, donde en llegando supe
que mi padre era muerto; y como
mi madre me vió me reçibió con
plazer, porque vió que yo venia
razonablemente proueyda: que de
más de las ropas de seda muchas
y muy buenas que hube del
Capitan, traya yo doçientos
ducados que me dixo que tenia
en vna bolsa secreta al tienpo de
su muerte. De lo qual todo me
vestí bien de todo genero de
ropas de dama al vso y tiempo
muy gallardas y costosas, y por
tener ojo a ganar con aquello
más. Hize vasquiñas, saboyanas,
verdugados, saltaenbarca,
nazarena, reboçiños, faldrillas,
briales, manteos, y otras ropas de
paseo, de por casa, de raso, de
tafetan y de chamelote; y quando
lo tube a punto nos fuemos todos
tres a Salamanca, que ya era my
hermano buen moço y de buena
dispusiçion, y en aquella çiudad
tomamos una buena casa en la
calle del Prior. Donde llamandome
doña Hieronima de Sandoual, en
dos meses que allí estuue gané
horros çien ducados entre
estudiantes generosos y
caualleros naturales del pueblo; y
como supe que la corte era
venida a Valladolid enbié a mi
hermano que en vna calle de
conversaçion me tomasse vna
buena posada, y él me la alquiló
de buen reçebimiento y
cunplimiento en el barrio de San
Miguel. Donde como llegamos
fuemos reçebidos de vna
huespeda honrrada con buena
voluntad. Aqui mi madre me
recató mucho de todos quantos
auia en casa, diçiendo que ella
era vna bibda de Salamanca,
muger de vn cauallero defunto, y
que venia en vn gran pleyto por
sacar diez mil ducados que auia
de auer para mi de docte, de la
legitima de mi padre que tenia
vsurpado un tio mío que suçedió
en el mayorazgo; y yo ansi me
recogi y me escondi con gran
recatamiento que ninguno me
pudiesse ver sino en açecho y
asalto; y ansi la huespeda
començo a publicar que estaua
alli vna linda donzella, hija de vna
viuda de Salamanca, muy rica y
hermosa a marauilla, proçediendo
con quantos hablaua en el cuento
de mi venida y estado; y tanbien
ayudó a lo publicar vna moça que
para nuestro seruiçio tomamos; y
yo en vna ventana baja de vna
sala que salia a la calle hize vna
muy graçiosa y vistosa zelosía,
por donde a la contina azechaua
mostrandome y escondiendome,
dando a entender que a todos
queria huyr y que no me viessen.
[494] Con lo qual a todos quantos
cortesanos passauan daua
ocasion que de mi estado y
persona procurassen saber; y
algunas vezes parandome muy
atauiada a vna ventana grande,
con mi mirar y aparato, a las
vezes haziendo que queria huyr, y
a las[495] vezes queriendome
mostrar fingiendo algunos
descuydos, ponia a todos
más[496] deseo de me ver.
Andaua ya gran multitud de
seruidores, caualleros y señores
de salua enbiando presentes y
seruiçios y ofreçimientos, y a
todos mi madre despedia diziendo
que su hija era donzella y que no
eramos mugeres de palaçio y
passatiempo, que se sufria herrar;
que se fuessen con dios. Entre
todos quantos en mi picaron se
adelantó más vn mançebo
mercader estrangero rico, gentil
honbre y de gran aparato: era en
fin como le deseaua yo. Este más
que ninguno otro se arriscó, a se
me ofrecer trabajando todo lo
posible porque yo le diesse
audiençia; y como la moça le
inportunaua sobre muchos
mensajes, musicas y seruiçios y
contino pasearme la puerta,
alcançó de mi que yo le huuiesse
de oyr, y sobre tienpos tasados y
aplazados le falté mas de veynte
vezes diziendo que mi madre no
lo auia de sauer; y en el
entretanto ningun mensaje le
reçebia que no me lo pagaua con
el doblo: que çamarro, saboyana,
pieza de terciopelo, joyel, sortixa:
de manera que ya que vna noche
a la hora de maytines le vine a
hablar por entre las puertas de la
calle sin le abrir, me auia dado
joyas de mas de doçientos
ducados. En aquella vez que allí
le hablé yo le dixe que en la
verdad yo era desposada con un
cauallero en Salamanca, y que
agora esperaua auer la sentencia
de los diez mil ducados de mi
docte, y que aguardaua a mi
esposo que auia de venir a me
uer: por lo qual le rogaua yo
mucho que no me infamasse, que
daria ocasion de gran mal; y el
pobre mançebo desesperado de
salud lloraua y maldeziase con
gran cuyta, suplicandome puesto
de rodillas en el suelo ante las
puertas çerradas que le diesse
liçençia como vn dia se viesse
delante de mi, que le pareçia no
desear otra beatitud; y yo
mostrandome algo piadosa y
como por su gran importunidad le
dixe: Señor, no penseis ni
espereis de mí, que por todos los
tesoros del mundo haria cosa que
menoscabasse mi honrra y
honestidad; pero eso que me
pedis alcançadlo vos de mi
señora, que podra[497] ser que lo
haga yo. Con esta palabra se
consoló en tanta manera que
pareçió entonces de nueuo[498]
resucitar, porque entendio della
dezirla yo con alguna parte de
affiçion sino que ser yo donzella y
niña me causaua tener sienpre
aquel desden, y no me atreuer a
más liberalidad; y ansi me
despedi dexandole a la puerta
sollozcando y sospirando, y sin
ninguna[499] pena ni cuydado me
fue a dormir, y porque estuuiesse
mi madre auisada de lo que se
deuia hazer le conté lo que la
noche passó. Luego por el dia
proueyo mi seruidor para mi casa
todo lo que fue menester,
enbiando a suplicar a mi madre le
diesse liçençia para la venir a
visitar, y ella le enbió a dezir que
viniesse pero que fuesse con
tanto auiso y miramiento que no
peligrasse nuestra honrra, y que
antes ella le deseaua hablar por
aduertirle de lo que nos conuenia,
y que ansi le encomendaua
viniesse cuando fuesse
anocheçido, y que la huespeda no
le[500] sintiesse; y ansi él vino
anocheçiendo y entró con tanto
recatamiento como si escalara la
casa del rey.
Miçilo.—Dime, gallo, ¿porqué te
detenías tanto y hazias tantos
encareçimientos?
Gallo.—Poco sabes deste
menester. Todo esto que yo hazia
era para ençenderle más el
apetito; para que le supiesse más
el bocado de la manzana que le
esperaua dar. Que avn mucho
más se le encareçí como verás.
Pues como mi madre le reçibió se
sentó en la sala con él diziendole:
señor, yo os he deseado hablar
por pediros de merçed que pues
publicais que teneis affiçion a mi
hija doña María, no la hagais
obras que sean su destruiçion.
Porque ya creo que, señor,
sabreis, y sino quiero os lo dezir,
que yo fue muger de vn valeroso
cauallero de Salamanca de los
mejores Maldonados; del qual me
quedó vn hijo y esta hija que es la
lunbre de mys ojos; y sabed que
mi marido poseyó vn cuento de
renta mientra viuio; porque su
padre dispuso en su testamento
que le poseyesse él por su vida
por ser mayor; y que siendo él
muerto suçediesse el hijo menor,
hermano de my marido[501], con
tal condiçion que diesse a cada
vno de los hijos que quedassen al
mayor çinco mil ducados; y sino
se los quisiese dar que
suçediesse en ello el hijo mayor
adelante en su linea; y ansi el
hermano de mi marido se ha
metido en el mayorazgo y no
quiere dar los diez mil ducados
que deue a mis dos hijos; y ansi
ha dos años que pleyteo con él,
donde espero la segunda
sentençia que es final en esta
causa, que se dará antes de diez
dias. En cuya confiança yo
desposé a mi hija con vn
cauallero muy prinçipal de aquella
çiudad, mandandole los diez mil
ducados en docte porque mi hijo
le[502] haze donaçión de los suyos
si yo le diese agora
quinientos [503] ducados, porque
va a Rodas por la
encomienda[504] de San Juan, y
está todo el despacho hecho del
Rey y de su informaçion. Agora,
señor hijo, yo os he querido
hablar por dos cosas. Lo primero
suplicaros que os tenpleis en
vuestro ruar; porque cada dia
esperamos al esposo de doña
Maria; y si él venido tomasse
sospecha de vos seria tomar vn
siniestro que la echassedes a
perder; y lo segundo que os
quiero suplicar es que hagais esta
buena obra a doña Maria mi hija,
pues todo es para su remedio y
bien, que nos presteis estos
quinientos[505] ducados para con
que enbiemos mi hijo de aqui: que
yo os haré vna cédula de os los
pagar auida agora la sentençia y
execuçion; y en lo demas mi hija y
yo estamos aqui para os lo servir;
que no será ella tan ingrata que
visto el bien que la hazeis no
huelgue de os hazer el plazer que
querreis; y diciendo esto le tomó
mi madre por la mano y me le
metio a vna camara donde yo
estaua con una vela rezando en
vnas Horas, y la verdad que te
diga estaua rogando al demonio
açertase mi madre en su petiçion;
y como le[506] vi entrar fingi
alguna alteraçion[507], y mirando
bien le reçebí con mi mesura; y él
mostró quererme[508] bessar el
pie, y auiendo algo hablado en
cosas uniuersales de la corte, del
Rey, de las damas y caualleros,
traxes y galanes, saliendose mi
madre me dexó sola con él. El
qual se fue luego para mí
trabajando por me bessar, pero yo
me defendí por gran pieza hasta
que mi madre entró y le sacó
afuera diziendo que le queria
hablar, y él se le quexó mucho de
mi desabrimiento y desamor
jurando que me daria toda su
hazienda si le quisiesse
complazer. Mira, Miçilo, si el
detenerme como tú antes me
reprehendias si me aprouechó.
Miçilo.—Por çierto, artifiçial
maestra estauas ya.
Gallo.—Pues mira mi madre
como acudió, que luego le dixo:
Señor es niña y teme a su
esposo, y nunca en tal se vio. Ella
me obedeçera si le mando que se
meta en vna cama con vos. Pues
echandose á los pies de mi madre
le dixo: hazedlo vos, Señora, por
las plagas de Dios, que yo os
daré quanto querais, y ansi fueron
luego entre si conçertados que él
le daria los quinientos ducados, y
que mi madre le hiziesse la
çedula de se los pagar dentro de
vn mes; y que ella hiziesse que yo
dormiesse vna noche con él, y
ansi quedó que para la noche
siguiente se truxiessen los
dineros y hecha la çedula me
diessen en rehenes a mi, y ansi
en ese otro dia entendimos en
aparejar lo que se deuia de hazer.
Que pagamos la huespeda y
despedimos la casa diçiendo que
en anocheçiendo nos auiamos de
yr, y comprando mi hermano vn
par de mulas le auisamos de todo
lo que auia de hazer. Pues luego
venida la noche vino el mercader
a lo conçertado que avn no se le
coçia el pan, y nos dió luego los
quinientos[509] ducados y mi
madre le hizo la çedula a su
contento[510] de se los pagar
dentro de vn, mes, y luego se
aparejó la çena qual el nouio la
proueyó; la qual acabada con
mucho contento suyo nos metió
mi madre en mi camara y çerró
por defuera, y el se desnudó
suplicandome que me acostasse
con él, y yo dezia llorando con
lagrimas que no haria a mi
esposo tan gran traiçion, y él se
leuantó y asiendo de mi se mostró
enojar a porfia[511] conmigo, y yo
por ninguna fuerça le quise
obedeçer, pero lloraua muy vivas
lágrimas, y él tomando a
requerirme por bien; y yo ni por
bien ni por mal, y ansi auiendo
pasado alguna parte de la noche
en esta porfia oymos llamar a la
puerta de la calle con furia,
sintiendo gran huella de
caualgaduras, y era mi hermano
que traya las mulas en que
auiamos de partir, y entonçes
mostrando alteraçion dixele que
estuuiesse atento. Estando ansi
hyrio mi madre a la puerta de la
camara con furia y entrando dixo:
¡ay hija! que tu esposo es venido
y preguntando por ti sube a te[512]
ver, y diziendo esto tomamos
ambas a mi seruidor, y ansi en
camisa con vna espada en la
mano le hezimos salir por vna
recamara a un corredor que para
este caso auiamos quitado unas
tablas del suelo, y como él entró
por alli con intinçion de se recoger
hasta ver el suçeso, al primer
passo cayó en vn corral, de
donde no podia salir por estar
çerrado al rededor; y luego yo
vestiendome de todos los
vestidos de mi galan, que me
conoçian ya porque en ellos me
crié, y despedidos de la huespeda
los vnos a los otros no nos vimos
mas hasta oy. De aqui nos
fuemos a Seuilla y a Valençia,
donde hize lançes de grande
admiraçion.
Miçilo.—Espantado me tienes ¡o
gallo! con tu osadia y atreuimiento
con que acometias semejantes
hazañas. Que la flaqueza de ser
muger no te encogia el animo a
temer el[513] gran peligro en que
ponias tu persona?
Gallo.—¿Qué diçes, Miçilo,
flaqueza y encogimiento de
animo? Pues más de veras te
espantaras de mi quando yo fue
Cleopatra: si me vieras con
quanto estado y magestad me
presenté ante Julio Cesar quando
vino en Egipto en seguimiento de
Pompeo, y[514] vieras vn
vanquete que le hize alli para le
coger[515] la voluntad, y que si me
vieras en vna vatalla que di a
Octauiano Çesar junto al
promontorio de Leucadia, donde
estuuo la fortuna en punto de
poner en mi poder a Roma. En la
qual mostre bien con mi ardid y
desemboltura varonil la voluntad y
ánimo que tuue de vençer las
vanderas Romanas y lleuar
delante de mi trihunfo a[516] Çesar
vençido. Todo esto quiero dexar
para otro tiempo en que
tengamos mas lugar; y agora
quiero te dezir de quando fue
monja, lo qual por ser ya venido el
dia en el canto que se sigue
proseguiré.
Fin del séptimo canto del gallo.
NOTAS:
[480] Tachado: Siguesse el septimo canto del Gallo de Luçiano
orador griego, contrahecho en el castellano por el mesmo autor.
[481] G., nillados.
[482] G., marchito.
[483] G., miseros.
[484] G., dexaua.
[485] G., a.
[486] G., escape.
[487] G., los seglares teneis.
[488] G., por mi qual por ti.
[489] G., esta tu historia.
[490] G., sieruo sclauo.
[491] G., canto.
[492] G., vltimo.
[493] G., tienpo.
[494] que ninguno me viesse.
[495] G., otras.
[496] G., gran.
[497] G., podría.
[498] G., muerto.
[499] G., alguna.
[500] G., lo.
[501] G., y que si al tiempo de su muerte fuesse viuo vn otro
hermano que era menor, que suçediese en el.
[502] G., la.
[503] G., quatroçientos.
[504] G., a tomar el habito.
[505] G., quatroçientos.
[506] G., la.
[507] G., algún subito espanto.
[508] G., querer bessarme.
[509] G., quatroçientos.
[510] G., a mi madre, la cual le hizo vna çedula.
[511] G., enojado porfiando.
[512] G., por te.
[513] G., tener temor al.
[514] G., si.
[515] G., ganar.
ARGUMENTO
DEL OCTAUO
CANTO DEL
GALLO

En el octauo canto que se sigue


el auctor se finge hauer sido
monja, por notarles algunos
intereses que en daño de sus
conçiençias tienen. Concluye
con vna batalla de ranas en
imitaçion de Homero[517].

Gallo.—Si despertasse Miçilo


holgariale entretener en el trabajo
gustando él de mi cantar; porque
la pobreza çiertamente nos fatiga
tanto que con dificultad nos
podemos mantener, y no sé si le
soy ya algo odioso, porque
algunas mañanas le he
despertado algo más tenprano
que él acostunbraua, por lo qual
padeçiamos mucha más hanbre,
y agora porque esta maçilenta
loba no nos acabe de tragar
tomóme por ocasion para atraerle
al trabajo contarle mi vida
miserable; donde pareçe que ha
tomado hasta agora algun sabor,
y plega a Dios que no le enhade
mi dezir; porque avnque sea a
costa de mi cabeza quiera él
trabajar y ambos tengamos que
comer.
Miçilo.—¿Qué dizes, gallo; qué
hablas entre ti? No me has
prometido de me despertar cada
mañana, y con tu graçioso cantar
ayudarme en mi trabajo
contandome tu vida?
Gallo.—Y ansi lo quiero yo,
Miçilo, hazer; que no quiero yo
por ninguna ocassion quebrantar
la palabra que te di.
Miçilo.—Pues di, que colgado
estoy de tu habla y graçioso
cantar.
Gallo.—Yo me proferi ayer de te
dezir lo que siendo monja passé,
y solo quiero reseruar para mí de
qué orden fue, porque no me
saques por rastro. Pero noramala
se diga, quiero que sepas que
este es el genero de gente más
vano y más perdido y de menos
seso que en el mundo ay. No
entra en cuento de los otros
estados y maneras de viuir;

You might also like