-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOpenBrowser.xaml
126 lines (126 loc) · 9.34 KB
/
OpenBrowser.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
<Activity mc:Ignorable="sap sap2010" x:Class="OpenBrowser" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:s="clr-namespace:System;assembly=mscorlib" 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=mscorlib" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="Browser" Type="InOutArgument(ui:Browser)" />
<x:Property Name="Update" Type="OutArgument(x:String)" />
<x:Property Name="s_CurrentDate" Type="InOutArgument(x:String)" />
<x:Property Name="New_Date" Type="OutArgument(s:DateTime)" />
</x:Members>
<sap:VirtualizedContainerService.HintSize>390,221.8</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef>
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="32">
<x:String>System</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>UiPath.Core</x:String>
<x:String>System.Security</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Activities</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>System.IO</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>UiPath.Core.Activities</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="32">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>System.ValueTuple</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.CV</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<ui:OpenBrowser NewSession="{x:Null}" Private="{x:Null}" sap2010:Annotation.AnnotationText="> Fetch Date Update from website" BrowserType="Firefox" CommunicationMethod="WebDriver" DisplayName="Open Browser" Hidden="True" sap:VirtualizedContainerService.HintSize="200,96.8" sap2010:WorkflowViewState.IdRef="OpenBrowser_1" UiBrowser="[Browser]" Url="http://www.cercind.gov.in/Current_reg.html">
<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="375.2,975.2" sap2010:WorkflowViewState.IdRef="Sequence_1">
<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:LogMessage DisplayName="Log Message Open Browser" sap:VirtualizedContainerService.HintSize="333.6,92.8" sap2010:WorkflowViewState.IdRef="LogMessage_2" Level="Info" Message="["Checking for Update"]" />
<ui:NavigateTo Browser="[Browser]" DisplayName="Navigate To" sap:VirtualizedContainerService.HintSize="333.6,60" sap2010:WorkflowViewState.IdRef="NavigateTo_1" Url="http://www.cercind.gov.in/Current_reg.html" />
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Text 'DIV'" sap:VirtualizedContainerService.HintSize="333.6,107.2" sap2010:WorkflowViewState.IdRef="GetValue_2">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="aaa315d3-9207-4a50-9c8e-9b7ea61b2765" InformativeScreenshot="0dab8d792193acfa631f1b26be1bde9b" Selector="<webctrl parentid='thetable' tag='DIV' css-selector='body&gt;section&gt;div&gt;div&gt;div&gt;div&gt;table&gt;tbody&gt;tr&gt;td&gt;div' parentclass='style13' tableCol='1' tableRow='2' />">
<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:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[Update]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
<ui:GetValue ContinueOnError="{x:Null}" DisplayName="Get Text 'DIV'" sap:VirtualizedContainerService.HintSize="333.6,107.2" sap2010:WorkflowViewState.IdRef="GetValue_1">
<ui:GetValue.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" Id="aaa315d3-9207-4a50-9c8e-9b7ea61b2765" InformativeScreenshot="3245ab0da842338ced042068c9103b48" Selector="<webctrl parentid='thetable' tag='DIV' css-selector='body&gt;section&gt;div&gt;div&gt;div&gt;div&gt;table&gt;tbody&gt;tr&gt;td&gt;div' isleaf='1' parentclass='style13' tableCol='4' tableRow='2' />">
<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:GetValue.Target>
<ui:GetValue.Value>
<OutArgument x:TypeArguments="x:String">[s_CurrentDate]</OutArgument>
</ui:GetValue.Value>
</ui:GetValue>
<ui:Replace BuilderPattern="\." sap:VirtualizedContainerService.HintSize="333.6,60" sap2010:WorkflowViewState.IdRef="Replace_1" Input="[s_CurrentDate]" IsBuilderTabModified="True" Model="[{"Index":0,"OperationID":"ADV","OperationName":"Advanced","OperationValue":"\\.","QuantifierFirstValue":"1","QuantifierID":"EXT","QuantifierName":"Exactly","QuantifierSecondValue":null}]" Pattern="\." RegexOption="IgnoreCase" Replacement="/" Result="[s_CurrentDate]" />
<Assign sap:VirtualizedContainerService.HintSize="333.6,60" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="s:DateTime">[New_Date]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="s:DateTime">[Datetime.ParseExact(s_CurrentDate,"dd/MM/yyyy",System.Globalization.CultureInfo.InvariantCulture)]</InArgument>
</Assign.Value>
</Assign>
<ui:CloseTab Browser="[Browser]" DisplayName="Close Tab" sap:VirtualizedContainerService.HintSize="333.6,22.4" sap2010:WorkflowViewState.IdRef="CloseTab_1" />
<ui:LogMessage DisplayName="Log Message leaving Browser" sap:VirtualizedContainerService.HintSize="333.6,92.8" sap2010:WorkflowViewState.IdRef="LogMessage_3" Level="Info" Message="["Update Found Successfully"]" />
</Sequence>
</ActivityAction>
</ui:OpenBrowser.Body>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:OpenBrowser>
</Activity>