exam-sub 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +10 -0
- package/data/aiop.txt +105 -26
- package/data/bdh.txt +105 -55
- package/data/div.txt +249 -67
- package/data/mlf.txt +225 -119
- package/data/rpa.txt +279 -0
- package/package.json +1 -1
package/data/rpa.txt
ADDED
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
================================================================================
|
|
2
|
+
HOW TO USE THIS GUIDE
|
|
3
|
+
================================================================================
|
|
4
|
+
|
|
5
|
+
This guide explains each of the 12 journal questions in simple, step-by-step language. For every question you will find:
|
|
6
|
+
|
|
7
|
+
• Goal - what the exercise is testing
|
|
8
|
+
• Activities/Packages Used - the UiPath building blocks you need
|
|
9
|
+
• Steps - a simple numbered procedure you can follow and screenshot
|
|
10
|
+
• Exam Tip - a one-line point worth remembering for viva/exam
|
|
11
|
+
|
|
12
|
+
Follow the steps inside UiPath Studio (Community Edition is fine) unless a question specifically asks for Orchestrator.
|
|
13
|
+
|
|
14
|
+
================================================================================
|
|
15
|
+
QUESTION 1: EXPLORING UIPATH STUDIO INTERFACE
|
|
16
|
+
================================================================================
|
|
17
|
+
|
|
18
|
+
Goal: Get familiar with the main screen of UiPath Studio before building any automation.
|
|
19
|
+
|
|
20
|
+
Steps:
|
|
21
|
+
1. Open UiPath Studio from the Start menu.
|
|
22
|
+
2. Click New Project -> Process, give it a name like ExploreUI, and click Create.
|
|
23
|
+
3. Studio opens with the Design tab active. Take a screenshot of the Ribbon (the top toolbar with buttons like New, Save, Record, Publish).
|
|
24
|
+
4. On the left side you will see the Activities Panel. Type "message box" in its search bar and take a screenshot.
|
|
25
|
+
5. Drag any activity (e.g., Message Box) onto the design canvas, click on it once. On the right side, the Properties Panel appears showing its settings (like Text, Caption). Screenshot it.
|
|
26
|
+
6. Click Run on the ribbon. At the bottom, the Output Panel shows execution logs and any Write Line messages. Screenshot it.
|
|
27
|
+
|
|
28
|
+
Exam Tip: Ribbon = tools, Activities Panel = building blocks, Properties Panel = settings of a selected activity, Output Panel = logs/results.
|
|
29
|
+
|
|
30
|
+
================================================================================
|
|
31
|
+
QUESTION 2: CREATE A BASIC SEQUENCE WORKFLOW (ADD TWO NUMBERS)
|
|
32
|
+
================================================================================
|
|
33
|
+
|
|
34
|
+
Goal: Build your first working automation — take two numbers, add them, and show the result.
|
|
35
|
+
|
|
36
|
+
Activities Used: Sequence, Input Dialog, Assign, Message Box
|
|
37
|
+
|
|
38
|
+
Steps:
|
|
39
|
+
1. Create a new Blank Process named AddTwoNumbers.
|
|
40
|
+
2. Drag a Sequence onto the design canvas.
|
|
41
|
+
3. Inside the sequence, drag an Input Dialog activity.
|
|
42
|
+
o Set Label = "Enter first number"
|
|
43
|
+
o Set Result = a new variable num1Text (type String)
|
|
44
|
+
4. Add a second Input Dialog activity.
|
|
45
|
+
o Set Label = "Enter second number"
|
|
46
|
+
o Set Result = new variable num2Text (type String)
|
|
47
|
+
5. Add an Assign activity:
|
|
48
|
+
o Left side: create variable sum (type Int32)
|
|
49
|
+
o Right side: Convert.ToInt32(num1Text) + Convert.ToInt32(num2Text)
|
|
50
|
+
6. Add a Message Box activity:
|
|
51
|
+
o Text: "The sum is: " + sum.ToString()
|
|
52
|
+
7. Click Run, enter two numbers when asked, and confirm the message box shows the correct total.
|
|
53
|
+
|
|
54
|
+
Exam Tip: Input Dialog always returns text (String), so you must convert it to a number before doing math — this is called type conversion.
|
|
55
|
+
|
|
56
|
+
================================================================================
|
|
57
|
+
QUESTION 3: AUTOMATIC RECORDING (WEB) — RPACHALLENGE.COM
|
|
58
|
+
================================================================================
|
|
59
|
+
|
|
60
|
+
Goal: Automatically generate a workflow by recording your actions on a website instead of manually dragging activities.
|
|
61
|
+
|
|
62
|
+
Steps:
|
|
63
|
+
1. Open the site https://rpachallenge.com/ in your browser and note the form fields (First Name, Last Name, Email, etc.).
|
|
64
|
+
2. In UiPath Studio, go to Design -> Recording -> Web.
|
|
65
|
+
3. Studio will ask you to indicate the browser — click on the rpachallenge.com page.
|
|
66
|
+
4. A small recording toolbar appears. Click Record, then:
|
|
67
|
+
o Click each input box and type the matching value (this is recorded as a Type Into activity).
|
|
68
|
+
o Click the Submit button (recorded as a Click activity).
|
|
69
|
+
5. Click Save & Exit on the recording toolbar. UiPath automatically inserts an Open Browser activity plus one Type Into/Click activity for every action you performed.
|
|
70
|
+
6. Press Run to replay the recorded steps automatically.
|
|
71
|
+
|
|
72
|
+
Exam Tip: Web Recording works with UI Explorer/selectors, so it keeps working even if the browser window is resized or moved.
|
|
73
|
+
|
|
74
|
+
================================================================================
|
|
75
|
+
QUESTION 4: AUTOMATIC RECORDING (DESKTOP) — NOTEPAD
|
|
76
|
+
================================================================================
|
|
77
|
+
|
|
78
|
+
Goal: Record a desktop (non-browser) automation.
|
|
79
|
+
|
|
80
|
+
Steps:
|
|
81
|
+
1. Go to Design -> Recording -> Desktop in UiPath Studio.
|
|
82
|
+
2. Open Notepad manually (or let the recorder capture you opening it from the Start menu).
|
|
83
|
+
3. Click Record, then:
|
|
84
|
+
o Click inside Notepad and type a short message (captured as Type Into).
|
|
85
|
+
o Press Ctrl+S, type a file name in the Save dialog, and click Save (captured as more Type Into / Click steps).
|
|
86
|
+
4. Click Save & Exit to finish recording — Studio builds the sequence automatically.
|
|
87
|
+
5. Close Notepad and click Run to confirm it reopens Notepad, types the message, and saves the file by itself.
|
|
88
|
+
|
|
89
|
+
Exam Tip: Desktop Recording uses window titles/selectors, so keep the same application version to avoid "selector not found" errors.
|
|
90
|
+
|
|
91
|
+
================================================================================
|
|
92
|
+
QUESTION 5: IMAGE AND TEXT AUTOMATION (OCR)
|
|
93
|
+
================================================================================
|
|
94
|
+
|
|
95
|
+
Goal: Extract text written inside an image using Optical Character Recognition (OCR).
|
|
96
|
+
|
|
97
|
+
Packages Needed: UiPath.OCR.Activities (install via Manage Packages)
|
|
98
|
+
|
|
99
|
+
Steps:
|
|
100
|
+
1. Go to Manage Packages -> All Packages, search UiPath.OCR.Activities, and install it.
|
|
101
|
+
2. Add a Get OCR Text activity to your workflow.
|
|
102
|
+
3. In its properties, set:
|
|
103
|
+
o OCR Engine = Microsoft OCR (built-in, no API key needed)
|
|
104
|
+
o Image/Path = full path of your image file (e.g., "C:\Images\sample.png")
|
|
105
|
+
o Text output = new variable extractedText (type String)
|
|
106
|
+
4. Add a Message Box activity with Text = extractedText.
|
|
107
|
+
5. Run the workflow — the text found inside the image will pop up in the message box.
|
|
108
|
+
|
|
109
|
+
(Alternative: use the Screen Scraping wizard from the Design tab, select "Native/OCR" method, and drag a box over the text you want to capture on screen.)
|
|
110
|
+
|
|
111
|
+
Exam Tip: OCR is needed only when text is inside a picture/scanned document, not for normal selectable text.
|
|
112
|
+
|
|
113
|
+
================================================================================
|
|
114
|
+
QUESTION 6: PDF DATA EXTRACTION (FEE RECEIPT)
|
|
115
|
+
================================================================================
|
|
116
|
+
|
|
117
|
+
Goal: Read a PDF file and pull out one specific value (the Total amount).
|
|
118
|
+
|
|
119
|
+
Packages Needed: UiPath.PDF.Activities
|
|
120
|
+
|
|
121
|
+
Steps:
|
|
122
|
+
1. Install the UiPath.PDF package from Manage Packages if not already present.
|
|
123
|
+
2. Drag a Read PDF Text activity.
|
|
124
|
+
o File Path = path of the fee receipt PDF
|
|
125
|
+
o Text output = variable pdfText (type String)
|
|
126
|
+
3. Add an Assign activity to pull out the total using Regex:
|
|
127
|
+
o Variable totalAmount (type String) = System.Text.RegularExpressions.Regex.Match(pdfText, "Total.*$(\d+[,.]?\d*)").Groups(1).Value
|
|
128
|
+
o (Adjust the pattern slightly to match how "Total" is written in your receipt, e.g. "Total Amount" or "Total: ₹".)
|
|
129
|
+
4. Add a Message Box with Text = "Total Amount: " + totalAmount.
|
|
130
|
+
5. Run and confirm the correct total is displayed.
|
|
131
|
+
|
|
132
|
+
Exam Tip: Read PDF Text gives you the whole text as one string — Regex (pattern matching) is what lets you pick out just the number you need.
|
|
133
|
+
|
|
134
|
+
================================================================================
|
|
135
|
+
QUESTION 7: EXCEL AUTOMATION (NAME, AGE)
|
|
136
|
+
================================================================================
|
|
137
|
+
|
|
138
|
+
Goal: Read rows from an Excel file and show each one in a message box.
|
|
139
|
+
|
|
140
|
+
Activities Used: Excel Application Scope (or Use Excel File), Read Range, For Each Row, Message Box
|
|
141
|
+
|
|
142
|
+
Steps:
|
|
143
|
+
1. Prepare an Excel file with two columns: Name and Age, and a few sample rows.
|
|
144
|
+
2. Drag an Excel Application Scope (or the newer Use Excel File) activity and set its Workbook Path to your file.
|
|
145
|
+
3. Inside it, drag a Read Range activity:
|
|
146
|
+
o Sheet: Sheet1
|
|
147
|
+
o Output = new variable dtData (type DataTable)
|
|
148
|
+
4. Below (outside the Excel scope is fine), drag a For Each Row activity, set In = dtData.
|
|
149
|
+
5. Inside the loop, add a Message Box:
|
|
150
|
+
o Text = row("Name").ToString() + " - " + row("Age").ToString()
|
|
151
|
+
6. Run — a message box pops up once for every row in the sheet.
|
|
152
|
+
|
|
153
|
+
Exam Tip: Read Range with no argument reads the entire used range of the sheet automatically — you don't need to know how many rows exist in advance.
|
|
154
|
+
|
|
155
|
+
================================================================================
|
|
156
|
+
QUESTION 8: EXPLORE UIPATH ORCHESTRATOR INTERFACE
|
|
157
|
+
================================================================================
|
|
158
|
+
|
|
159
|
+
Goal: Understand what each part of Orchestrator (the web-based control room for robots) does. No coding — just explore and explain.
|
|
160
|
+
|
|
161
|
+
Steps:
|
|
162
|
+
1. Go to https://cloud.uipath.com/ and log in (create a free Community account if needed).
|
|
163
|
+
2. Open your tenant and look at these sections, taking a screenshot of each:
|
|
164
|
+
|
|
165
|
+
--------------------------------------------------------------------------------
|
|
166
|
+
Section | What It Means
|
|
167
|
+
--------------------------------------------------------------------------------
|
|
168
|
+
Dashboard | A summary screen showing jobs run, robots available, and alerts
|
|
169
|
+
| at a glance.
|
|
170
|
+
Tenants | A logical container that separates different environments/
|
|
171
|
+
| departments in the same Orchestrator instance.
|
|
172
|
+
Machines | Represents the physical/virtual computers where robots are
|
|
173
|
+
| allowed to run.
|
|
174
|
+
Robots | The actual robot instances (Attended/Unattended) connected to
|
|
175
|
+
| those machines.
|
|
176
|
+
Jobs | Individual execution runs of a process — you can see if a job
|
|
177
|
+
| is Pending, Running, Successful, or Faulted.
|
|
178
|
+
--------------------------------------------------------------------------------
|
|
179
|
+
|
|
180
|
+
Exam Tip: Remember the hierarchy: Tenant -> Machine -> Robot -> Job (created from a Process).
|
|
181
|
+
|
|
182
|
+
================================================================================
|
|
183
|
+
QUESTION 9: CREATE AND SCHEDULE A JOB
|
|
184
|
+
================================================================================
|
|
185
|
+
|
|
186
|
+
Goal: Publish your automation to Orchestrator and make it run automatically at a set time.
|
|
187
|
+
|
|
188
|
+
Steps:
|
|
189
|
+
1. In UiPath Studio, open any working project and click Publish (top-right).
|
|
190
|
+
2. Choose the Orchestrator Tenant Process Feed and click Publish — this uploads your project as a package.
|
|
191
|
+
3. Log in to Orchestrator -> Processes. Click Add Process, select your uploaded package, and confirm.
|
|
192
|
+
4. Go to Triggers -> Add Trigger:
|
|
193
|
+
o Trigger type: Time Trigger
|
|
194
|
+
o Process: select the one you just added
|
|
195
|
+
o Set the schedule (e.g., "Run daily at 6:00 PM" or "Run once at a specific date/time")
|
|
196
|
+
o Choose the Robot/Machine to run it on
|
|
197
|
+
5. Click Save. Go to the Jobs tab to confirm the job is listed as Scheduled, and later shows as Successful once it runs.
|
|
198
|
+
|
|
199
|
+
Exam Tip: A Process is the published package; a Job is one actual run of that process, whether started manually or by a trigger.
|
|
200
|
+
|
|
201
|
+
================================================================================
|
|
202
|
+
QUESTION 10: PDF RANGE (SPLIT A PDF)
|
|
203
|
+
================================================================================
|
|
204
|
+
|
|
205
|
+
Goal: Ask the user for a page range and split a PDF into a smaller file containing only those pages.
|
|
206
|
+
|
|
207
|
+
Packages Needed: UiPath.PDF.Activities (modern activities include Extract Page Range)
|
|
208
|
+
|
|
209
|
+
Steps:
|
|
210
|
+
1. Add an Input Dialog to ask: "Enter full path of the PDF file" -> variable pdfPath (String).
|
|
211
|
+
2. Add two more Input Dialog activities (or one dialog with two fields) to ask for:
|
|
212
|
+
o startPage (String -> convert to Int32)
|
|
213
|
+
o endPage (String -> convert to Int32)
|
|
214
|
+
3. Drag the Extract Page Range activity (search "PDF" in Activities Panel):
|
|
215
|
+
o Input File = pdfPath
|
|
216
|
+
o Start Page = Convert.ToInt32(startPage)
|
|
217
|
+
o End Page = Convert.ToInt32(endPage)
|
|
218
|
+
o Output File = e.g. "C:\Output\SplitFile.pdf"
|
|
219
|
+
4. Add a Message Box: "PDF split successfully! Saved at: C:\Output\SplitFile.pdf".
|
|
220
|
+
5. Run, enter a valid range (e.g., pages 2 to 4), and check that the new PDF has only those pages.
|
|
221
|
+
|
|
222
|
+
Exam Tip: Always validate that startPage and endPage are within the total number of pages (you can get this with Get PDF Page Count) to avoid errors.
|
|
223
|
+
|
|
224
|
+
================================================================================
|
|
225
|
+
QUESTION 11: KEYBOARD EVENTS (CTRL+A, CTRL+C, CTRL+V)
|
|
226
|
+
================================================================================
|
|
227
|
+
|
|
228
|
+
Goal: Simulate keyboard shortcuts to select, copy, and paste text, then show what was copied.
|
|
229
|
+
|
|
230
|
+
Activities Used: Send Hotkey, Get From Clipboard, Message Box
|
|
231
|
+
|
|
232
|
+
Steps:
|
|
233
|
+
1. Open any webpage with a text box (or a Notepad file with some text already typed).
|
|
234
|
+
2. Use Indicate on Screen to select the text field.
|
|
235
|
+
3. Add a Send Hotkey activity targeting that field: Key = Ctrl+A (select all text).
|
|
236
|
+
4. Add another Send Hotkey: Key = Ctrl+C (copy the selected text).
|
|
237
|
+
5. Add a Get From Clipboard activity -> output variable copiedText (String).
|
|
238
|
+
6. Open Notepad (or another field), indicate it, and add a Send Hotkey: Key = Ctrl+V to paste there.
|
|
239
|
+
7. Add a Message Box with Text = copiedText to display what was copied.
|
|
240
|
+
8. Run and confirm the same text appears in the message box and gets pasted correctly.
|
|
241
|
+
|
|
242
|
+
Exam Tip: Send Hotkey sends key combinations to whichever UI element you indicate — it works the same on a browser field or a desktop app.
|
|
243
|
+
|
|
244
|
+
================================================================================
|
|
245
|
+
QUESTION 12: DATA SCRAPING (E-COMMERCE WEBSITE)
|
|
246
|
+
================================================================================
|
|
247
|
+
|
|
248
|
+
Goal: Automatically pull structured data (Product Name, Price, Rating) for at least 10 products from a shopping website into Excel.
|
|
249
|
+
|
|
250
|
+
Steps:
|
|
251
|
+
1. Open a browser and navigate to any e-commerce listing/search results page (e.g., a search on Amazon or Flipkart) that shows multiple products with name, price, and rating.
|
|
252
|
+
2. In UiPath Studio, go to Design -> Extract Data (the Data Scraping wizard) and click on the page.
|
|
253
|
+
3. Click the first product's name, then click a second product's name — the wizard detects the repeating pattern and highlights all matching products.
|
|
254
|
+
4. Click Extract Correlated Data and repeat the "click first, click second" step for the Price field, then again for the Rating field, so all three columns line up in the same table.
|
|
255
|
+
5. When asked "Extract data for all pages?", choose No if 10 products already fit on one page, or set the number of pages needed.
|
|
256
|
+
6. Finish the wizard — it automatically inserts activities and creates a DataTable variable, e.g. dtProducts.
|
|
257
|
+
7. Add a Write Range activity (inside an Excel/Workbook scope) to write dtProducts into a new file, e.g. Products.xlsx.
|
|
258
|
+
8. Run the workflow and open Products.xlsx to confirm all 10+ rows (Name, Price, Rating) were captured correctly.
|
|
259
|
+
|
|
260
|
+
Exam Tip: Data Scraping only works well on structured/repeating HTML elements — if the wizard can't detect a pattern, you may need to manually add Get Attribute / Get Text activities inside a loop instead.
|
|
261
|
+
|
|
262
|
+
================================================================================
|
|
263
|
+
QUICK REFERENCE TABLE (FOR LAST-MINUTE REVISION)
|
|
264
|
+
================================================================================
|
|
265
|
+
|
|
266
|
+
Question | Key Activity/Feature | Package Needed
|
|
267
|
+
---------+-------------------------------------+-----------------------
|
|
268
|
+
1 | Explore Studio panels | Built-in
|
|
269
|
+
2 | Input Dialog, Assign, Message Box | Built-in
|
|
270
|
+
3 | Web Recording | Built-in
|
|
271
|
+
4 | Desktop Recording | Built-in
|
|
272
|
+
5 | Get OCR Text / Screen Scraping | UiPath.OCR.Activities
|
|
273
|
+
6 | Read PDF Text + Regex | UiPath.PDF.Activities
|
|
274
|
+
7 | Read Range, For Each Row | UiPath.Excel.Activities
|
|
275
|
+
8 | Orchestrator navigation | Orchestrator (cloud)
|
|
276
|
+
9 | Publish + Trigger | Orchestrator (cloud)
|
|
277
|
+
10 | Extract Page Range | UiPath.PDF.Activities
|
|
278
|
+
11 | Send Hotkey, Get From Clipboard | Built-in
|
|
279
|
+
12 | Extract Data (Data Scraping wizard) | Built-in + Excel
|