-
Notifications
You must be signed in to change notification settings - Fork 1
/
Main_classic.xaml
539 lines (539 loc) · 42 KB
/
Main_classic.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
<Activity mc:Ignorable="sap sap2010" x:Class="Main" VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="818.4,5012" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=System.Private.CoreLib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=System.Private.CoreLib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data.Common" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Collections.ObjectModel</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
<x:String>GlobalVariablesNamespace</x:String>
<x:String>GlobalConstantsNamespace</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Runtime.Serialization</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.UIAutomationNext.Enums</x:String>
<x:String>UiPath.DataTableUtilities</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.UIAutomationCore.Contracts</x:String>
<x:String>UiPath.Excel.Activities</x:String>
<x:String>System.Text.RegularExpressions</x:String>
<x:String>System.Reflection</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Data.Common</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Drawing.Common</AssemblyReference>
<AssemblyReference>System.Drawing.Primitives</AssemblyReference>
<AssemblyReference>System.Linq</AssemblyReference>
<AssemblyReference>System.ObjectModel</AssemblyReference>
<AssemblyReference>System.Private.CoreLib</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>Microsoft.Win32.Primitives</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.ComponentModel.Primitives</AssemblyReference>
<AssemblyReference>System.Private.ServiceModel</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Formatters</AssemblyReference>
<AssemblyReference>System.Private.DataContractSerialization</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Primitives</AssemblyReference>
<AssemblyReference>System.Private.Xml</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationNext</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>System.Text.RegularExpressions</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</AssemblyReference>
<AssemblyReference>System.Data.SqlClient</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>UiPath.Workflow</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Main Sequence" sap:VirtualizedContainerService.HintSize="692.8,4947.2" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="varLocation" />
<Variable x:TypeArguments="sd:DataTable" Default="[New System.Data.DataTable]" Name="ExtractDataTable" />
<Variable x:TypeArguments="x:String" Name="strDT" />
<Variable x:TypeArguments="sd:DataTable" Name="newDT" />
<Variable x:TypeArguments="x:Double" Name="varPrice" />
<Variable x:TypeArguments="x:Int32" Name="varBd" />
<Variable x:TypeArguments="x:Int32" Name="varBa" />
<Variable x:TypeArguments="x:String" Name="varAddress" />
<Variable x:TypeArguments="x:Double" Name="varArea" />
<Variable x:TypeArguments="sd:DataTable" Name="filteredDT" />
<Variable x:TypeArguments="sd:DataTable" Name="sortedDT" />
<Variable x:TypeArguments="x:String" Name="varStreet" />
<Variable x:TypeArguments="x:String" Name="varZIP" />
<Variable x:TypeArguments="x:String" Name="varCity" />
<Variable x:TypeArguments="x:Double" Name="varPricePerSqft" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:InputDialog Options="{x:Null}" OptionsString="{x:Null}" DisplayName="Input Location" sap:VirtualizedContainerService.HintSize="649.6,241.6" sap2010:WorkflowViewState.IdRef="InputDialog_1" IsPassword="False" Label="Please provide a LOCATION to search for" Title="Enter Location">
<ui:InputDialog.Result>
<OutArgument x:TypeArguments="x:String">[varLocation]</OutArgument>
</ui:InputDialog.Result>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:InputDialog>
<ui:OpenBrowser AutomaticallyDownloadWebDriver="{x:Null}" CommunicationMethod="{x:Null}" Hidden="{x:Null}" NewSession="{x:Null}" Private="{x:Null}" UiBrowser="{x:Null}" BrowserType="[BrowserType.Chrome]" DisplayName="Scrape real estate data from zillow.com" sap:VirtualizedContainerService.HintSize="649.6,905.6" sap2010:WorkflowViewState.IdRef="OpenBrowser_1" Url="https://www.zillow.com/">
<ui:OpenBrowser.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="492.8,780" sap2010:WorkflowViewState.IdRef="Sequence_14">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MaximizeWindow Window="{x:Null}" DisplayName="Maximize Window" sap:VirtualizedContainerService.HintSize="449.6,24.8" sap2010:WorkflowViewState.IdRef="MaximizeWindow_1" />
<ui:Comment DisplayName="Type Into with Special Keys" sap:VirtualizedContainerService.HintSize="449.6,94.4" sap2010:WorkflowViewState.IdRef="Comment_1" Text="
- SendWindowMessages: True

- SimulateType: False

- Select 'enter' from dropdown list" />
<ui:TypeInto AlterIfDisabled="{x:Null}" ClickBeforeTyping="{x:Null}" DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" EmptyField="{x:Null}" Activate="True" DisplayName="Type in Location and press ENTER key" sap:VirtualizedContainerService.HintSize="449.6,156" sap2010:WorkflowViewState.IdRef="TypeInto_1" SendWindowMessages="True" SimulateType="False" Text="[varLocation+ "[k(enter)]"]">
<ui:TypeInto.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="c11342e2-0714-4f64-959b-91f0d541d7d1" InformativeScreenshot="b5127d7f4ab97e77c033e5753d4dbe5a" Selector="<html app='chrome.exe' title='Zillow: Real Estate, Apartments, Mortgages &amp; Home Values' /><webctrl id='search-box-input' tag='INPUT' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:TypeInto.Target>
</ui:TypeInto>
<Sequence DisplayName="Set "Home Type" to "Houses" and "Apartments"" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_8">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:Click AlterIfDisabled="{x:Null}" SendWindowMessages="{x:Null}" ClickType="CLICK_SINGLE" DelayBefore="0" DelayMS="5" DisplayName="Click 'Home Type'" sap:VirtualizedContainerService.HintSize="388,107" sap2010:WorkflowViewState.IdRef="Click_1" KeyModifiers="None" MouseButton="BTN_LEFT" SimulateClick="True">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="bd1d6248-00e6-4956-b1b6-00979bcc8acd" InformativeScreenshot="2f30b190a7768bdedb26ce06efc85830" Selector="<webctrl parentid='home-type' tag='BUTTON' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" SendWindowMessages="{x:Null}" ClickType="CLICK_SINGLE" DelayBefore="0" DelayMS="5" DisplayName="Click 'Deselect All'" sap:VirtualizedContainerService.HintSize="388,107" sap2010:WorkflowViewState.IdRef="Click_2" KeyModifiers="None" MouseButton="BTN_LEFT" SimulateClick="True">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="bd1d6248-00e6-4956-b1b6-00979bcc8acd" InformativeScreenshot="851629eda0b023b7da4e8bd7839cf19c" Selector="<webctrl parentid='home-type-form' tag='BUTTON' class='StyledTextButton-c11n-8-84-3__sc-n1gfmh-0 ixONzL' innertext='CheckmarkDeselect All' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" SendWindowMessages="{x:Null}" SimulateClick="{x:Null}" ClickType="CLICK_SINGLE" DelayBefore="0" DelayMS="5" DisplayName="Click 'Houses'" sap:VirtualizedContainerService.HintSize="388,107" sap2010:WorkflowViewState.IdRef="Click_3" KeyModifiers="None" MouseButton="BTN_LEFT">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="bd1d6248-00e6-4956-b1b6-00979bcc8acd" InformativeScreenshot="100f039bb2f0baec27c41741b591dced" Selector="<webctrl parentid='home-type-form' class='StyledFilterCheckbox__StyledDiv-srp__sc-9abn3d-1 bZrmEx' innertext='Houses ' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" SendWindowMessages="{x:Null}" SimulateClick="{x:Null}" ClickType="CLICK_SINGLE" DelayBefore="0" DelayMS="5" DisplayName="Click 'Apartments'" sap:VirtualizedContainerService.HintSize="388,107" sap2010:WorkflowViewState.IdRef="Click_4" KeyModifiers="None" MouseButton="BTN_LEFT">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="bd1d6248-00e6-4956-b1b6-00979bcc8acd" InformativeScreenshot="1e8ece5a9cdf0a4f0dac8e82cd8cb1c1" Selector="<webctrl parentid='home-type-form' class='StyledLabel-c11n-8-84-3__sc-qq9hfi-0 bvZsmk short-label' innertext='Apartments ' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
<ui:Click AlterIfDisabled="{x:Null}" DelayMS="{x:Null}" SendWindowMessages="{x:Null}" ClickType="CLICK_SINGLE" DelayBefore="0" DisplayName="Click 'Apply' button" sap:VirtualizedContainerService.HintSize="388,107" sap2010:WorkflowViewState.IdRef="Click_5" KeyModifiers="None" MouseButton="BTN_LEFT" SimulateClick="True">
<ui:Click.CursorPosition>
<ui:CursorPosition Position="Center">
<ui:CursorPosition.OffsetX>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetX>
<ui:CursorPosition.OffsetY>
<InArgument x:TypeArguments="x:Int32" />
</ui:CursorPosition.OffsetY>
</ui:CursorPosition>
</ui:Click.CursorPosition>
<ui:Click.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="bd1d6248-00e6-4956-b1b6-00979bcc8acd" InformativeScreenshot="4d04eed2b84a82e71cff2318db058550" Selector="<webctrl aaname='Apply' parentid='home-type' tag='BUTTON' />">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
<ui:Target.WaitForReady>
<InArgument x:TypeArguments="ui:WaitForReady" />
</ui:Target.WaitForReady>
</ui:Target>
</ui:Click.Target>
</ui:Click>
</Sequence>
<ui:ExtractData DelayBetweenPagesMS="{x:Null}" ContinueOnError="True" DataTable="[ExtractDataTable]" DisplayName="Web-scrapping 500 properties from zillow.com" ExtractMetadata="<extract><row exact='1'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /></row><column exact='1' name='Price' attr='fulltext'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='2' /><webctrl tag='div' idx='1' /><webctrl tag='span' idx='1' /></column><column exact='1' name='Bedrooms' attr='fulltext'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' /><webctrl tag='ul' idx='1' /><webctrl tag='li' idx='1' /></column><column exact='1' name='Bathrooms' attr='fulltext'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' /><webctrl tag='ul' idx='1' /><webctrl tag='li' idx='2' /></column><column exact='1' name='Area (sqft)' attr='fulltext'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' /><webctrl tag='ul' idx='1' /><webctrl tag='li' idx='3' /><webctrl tag='b' idx='1' /></column><column exact='1' name='Address' attr='fulltext'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='a' idx='1' /><webctrl tag='address' idx='1' /></column><column exact='0' name='URL' attr='href'><webctrl tag='li' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='article' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='div' idx='2' /><webctrl tag='div' idx='2' /><webctrl tag='a' idx='1' /><webctrl tag='div' idx='1' /><webctrl tag='picture' idx='1' /><webctrl tag='img' idx='1' /></column></extract>" sap:VirtualizedContainerService.HintSize="449.6,107.2" sap2010:WorkflowViewState.IdRef="ExtractData_3" MaxNumberOfResults="500" NextLinkSelector="<webctrl aaname='Chevron Right' parentid='grid-search-results' tag='A' />" SimulateClick="True">
<ui:ExtractData.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="9f7ff933-a434-4b2a-8e31-5d3e3fd69d27" InformativeScreenshot="3ca2290858f72950aa79e600b026f745" Selector="<webctrl parentid='grid-search-results' tag='UL' />" WaitForReady="COMPLETE">
<ui:Target.TimeoutMS>
<InArgument x:TypeArguments="x:Int32" />
</ui:Target.TimeoutMS>
</ui:Target>
</ui:ExtractData.Target>
</ui:ExtractData>
<ui:CloseTab Browser="{x:Null}" DisplayName="Close Tab" sap:VirtualizedContainerService.HintSize="449.6,24.8" sap2010:WorkflowViewState.IdRef="CloseTab_1" />
</Sequence>
</ActivityAction>
</ui:OpenBrowser.Body>
</ui:OpenBrowser>
<Sequence DisplayName="Write data to Excel file in correct formats" sap:VirtualizedContainerService.HintSize="649.6,3215.2" sap2010:WorkflowViewState.IdRef="Sequence_5">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:BuildDataTable DataTable="[newDT]" DisplayName="Build a New Data Table" sap:VirtualizedContainerService.HintSize="587.2,60" sap2010:WorkflowViewState.IdRef="BuildDataTable_1" TableInfo="<NewDataSet>
 <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="TableName" msdata:UseCurrentLocale="true">
 <xs:complexType>
 <xs:choice minOccurs="0" maxOccurs="unbounded">
 <xs:element name="TableName">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="Price" msdata:Caption="" type="xs:double" minOccurs="0" />
 <xs:element name="Beds" msdata:Caption="" type="xs:int" minOccurs="0" />
 <xs:element name="Baths" msdata:Caption="" type="xs:int" minOccurs="0" />
 <xs:element name="Sqft" msdata:Caption="" type="xs:double" minOccurs="0" />
 <xs:element name="Price_x0020_per_x0020_Sqft" msdata:Caption="" type="xs:double" minOccurs="0" />
 <xs:element name="Street_x0020_Address" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="City" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="ZIP" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="Liking_x0020_URL" msdata:Caption="" type="xs:string" minOccurs="0" />
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 </xs:choice>
 </xs:complexType>
 </xs:element>
 </xs:schema>
</NewDataSet>" />
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="{x:Null}" DataTable="[ExtractDataTable]" DisplayName="Iterate through each row in ExtractDataTable to populate newDT" sap:VirtualizedContainerService.HintSize="587.2,2110.4" sap2010:WorkflowViewState.IdRef="ForEachRow_1">
<ui:ForEachRow.Body>
<ActivityAction x:TypeArguments="sd:DataRow">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="sd:DataRow" Name="CurrentRow" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="553.6,1922.4" sap2010:WorkflowViewState.IdRef="Sequence_6">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Assign DisplayName="Get Price" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[varPrice]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[CDbl(CurrentRow("Price").ToString.Replace("$", "").Replace(",", "").Replace("--", "0").Trim)]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get # of Bedrooms" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_3">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[varBd]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[CInt(CurrentRow("Bedrooms").ToString.Replace("Studio", "1").Replace("--", "0").Trim.Split(" "c)(0) )]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get # of Bathrooms" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_4">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[varBa]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[CInt(CurrentRow("Bathrooms").ToString.Replace("--", "0").Trim.Split(" "c)(0) )]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get Area" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_5">
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[varArea]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[CDbl(CurrentRow("Area (sqft)").ToString.Replace("--", "0").Replace(",", "").Trim)]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get Price per Sqft" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_9">
<Assign.To>
<OutArgument x:TypeArguments="x:Double">[varPricePerSqft]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Double">[Math.Round(varPrice / varArea, 2)]</InArgument>
</Assign.Value>
</Assign>
<ui:GetRowItem Column="{x:Null}" ColumnIndex="{x:Null}" ColumnName="Address" DisplayName="Get Address" sap:VirtualizedContainerService.HintSize="510.4,188" sap2010:WorkflowViewState.IdRef="GetRowItem_1" Row="[CurrentRow]">
<ui:GetRowItem.Value>
<OutArgument x:TypeArguments="x:String">[varAddress]</OutArgument>
</ui:GetRowItem.Value>
</ui:GetRowItem>
<Assign DisplayName="Get Street Address" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_6">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varStreet]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[varAddress.Split(","c)(0).Trim]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get City" sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_7">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varCity]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[varAddress.Split(","c)(1).Trim]</InArgument>
</Assign.Value>
</Assign>
<If Condition="[System.Text.RegularExpressions.Regex.IsMatch(Right(varAddress.Trim, 4), "\d{4}") = true]" DisplayName="Check if the ZIP code exists in the address" sap:VirtualizedContainerService.HintSize="510.4,525.6" sap2010:WorkflowViewState.IdRef="If_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,171.2" sap2010:WorkflowViewState.IdRef="Sequence_12">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Assign DisplayName="Get ZIP" sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_8">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varZIP]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[varAddress.Split(","c)(2).Trim.Split(" "c)(1).Trim]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,171.2" sap2010:WorkflowViewState.IdRef="Sequence_13">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Assign DisplayName="Get ZIP" sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_10">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varZIP]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[""]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</If.Else>
</If>
<ui:AddDataRow DataRow="{x:Null}" ArrayRow="[New Object() {varPrice, varBd, varBa, varArea, varPricePerSqft, 
varStreet, varCity, varZIP, CurrentRow("URL").ToString.Trim}]" DataTable="[newDT]" DisplayName="Add a Data Row to newDT" sap:VirtualizedContainerService.HintSize="510.4,188" sap2010:WorkflowViewState.IdRef="AddDataRow_1" />
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:ForEachRow>
<ui:Comment sap:VirtualizedContainerService.HintSize="587.2,171.2" sap2010:WorkflowViewState.IdRef="Comment_2" Text="// Keep the properties that meet the following conditions:

- Come with at least 2 bedrooms and 1 bathroom
- Price lower than $1.5M
- At least 1000 squre feet of area" />
<ui:FilterDataTable DataTable="[newDT]" DisplayName="Remove the properties with no bedrooms and bathrooms " FilterRowsMode="Remove" sap:VirtualizedContainerService.HintSize="587.2,162.4" sap2010:WorkflowViewState.IdRef="FilterDataTable_1" OutputDataTable="[filteredDT]" SelectColumnsMode="Remove">
<ui:FilterDataTable.Filters>
<scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
<ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Beds"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Baths"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
</scg:List>
</ui:FilterDataTable.Filters>
<ui:FilterDataTable.SelectColumns>
<scg:List x:TypeArguments="InArgument" Capacity="4">
<x:Null />
</scg:List>
</ui:FilterDataTable.SelectColumns>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:FilterDataTable>
<ui:FilterDataTable DataTable="[filteredDT]" DisplayName="Keep the properties that meet certain conditions" FilterRowsMode="Keep" sap:VirtualizedContainerService.HintSize="587.2,162.4" sap2010:WorkflowViewState.IdRef="FilterDataTable_2" OutputDataTable="[filteredDT]" SelectColumnsMode="Remove">
<ui:FilterDataTable.Filters>
<scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
<ui:FilterOperationArgument BooleanOperator="And" Operator="LT">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Price"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[1500000]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="And" Operator="GT">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Sqft"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[1000]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="And" Operator="GTE">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Beds"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[2]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="And" Operator="GTE">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Baths"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:Int32">[1]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
</scg:List>
</ui:FilterDataTable.Filters>
<ui:FilterDataTable.SelectColumns>
<scg:List x:TypeArguments="InArgument" Capacity="4">
<x:Null />
</scg:List>
</ui:FilterDataTable.SelectColumns>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:FilterDataTable>
<ui:SortDataTable ColumnIndex="{x:Null}" DataColumn="{x:Null}" ColumnName="Price" DataTable="[filteredDT]" DisplayName="Sort Data Table" sap:VirtualizedContainerService.HintSize="587.2,80.8" sap2010:WorkflowViewState.IdRef="SortDataTable_1" Order="Ascending" OutputDataTable="[sortedDT]" SortOrder="Ascending" />
<ui:WriteRange AddHeaders="True" DataTable="[sortedDT]" DisplayName="Write to Excel workbook" sap:VirtualizedContainerService.HintSize="587.2,116" sap2010:WorkflowViewState.IdRef="WriteRange_1" SheetName="[varLocation.ToUpper]" StartingCell="A1" WorkbookPath="output_classic.xlsx">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:WriteRange>
</Sequence>
<Sequence DisplayName="View the final datatable in Output window" sap:VirtualizedContainerService.HintSize="649.6,375.2" sap2010:WorkflowViewState.IdRef="Sequence_7">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:OutputDataTable DataTable="[sortedDT]" DisplayName="Convert sortedDT to string" sap:VirtualizedContainerService.HintSize="387.2,80.8" sap2010:WorkflowViewState.IdRef="OutputDataTable_3" Text="[strDT]">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:OutputDataTable>
<ui:LogMessage DisplayName="Print strDT in Output window" sap:VirtualizedContainerService.HintSize="387.2,142.4" sap2010:WorkflowViewState.IdRef="LogMessage_3" Level="[UiPath.Core.Activities.LogLevel.Info]" Message="[strDT]">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:LogMessage>
</Sequence>
</Sequence>
</Activity>