Commit 9f38b11e authored by Kuzminov Artem's avatar Kuzminov Artem

Initial commit

parents
Pipeline #74 failed with stages
<Activity mc:Ignorable="sap sap2010" x:Class="SAP_CitrixLogin_v2" this:SAP_CitrixLogin_v2.in_strUrl="apps.lukoil.com" this:SAP_CitrixLogin_v2.in_strCitrixCredential="SapCredential_RLLK3" this:SAP_CitrixLogin_v2.in_strServer="ИСУ ЛЛК PRD K44" this:SAP_CitrixLogin_v2.in_intSaptTimeout="180000" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" 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:ss="clr-namespace:System.Security;assembly=mscorlib" xmlns:this="clr-namespace:" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="in_strUrl" Type="InArgument(x:String)" />
<x:Property Name="in_strCitrixCredential" Type="InArgument(x:String)" />
<x:Property Name="in_strServer" Type="InArgument(x:String)" />
<x:Property Name="in_intSaptTimeout" Type="InArgument(x:Int32)" />
</x:Members>
<mva:VisualBasic.Settings>
<x:Null />
</mva:VisualBasic.Settings>
<sap:VirtualizedContainerService.HintSize>969,912</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>SAP_CitrixLogin_v2_1</sap2010:WorkflowViewState.IdRef>
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="22">
<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.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>System.Windows.Markup</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Security</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="20">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</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.Mail</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>System.ComponentModel.Composition</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<StateMachine InitialState="{x:Reference __ReferenceID7}" DisplayName="SAP_CitrixLogin_v2" sap:VirtualizedContainerService.HintSize="949,852" sap2010:WorkflowViewState.IdRef="StateMachine_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<av:Point x:Key="ShapeLocation">0,2.5</av:Point>
<x:Double x:Key="StateContainerWidth">915</x:Double>
<x:Double x:Key="StateContainerHeight">816</x:Double>
<av:PointCollection x:Key="ConnectorLocation">60,36.25 90,36.25 90,37.6 264.5,37.6</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State x:Name="__ReferenceID7" DisplayName="Открытие IE и переход на экран логина" sap:VirtualizedContainerService.HintSize="251,94" sap2010:WorkflowViewState.IdRef="State_9">
<State.Entry>
<ui:OpenBrowser UiBrowser="{x:Null}" BrowserType="IE" DisplayName="Open Browser" Hidden="False" sap:VirtualizedContainerService.HintSize="434,114" sap2010:WorkflowViewState.IdRef="OpenBrowser_4" NewSession="True" Private="False" Url="[in_strUrl]">
<ui:OpenBrowser.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
</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="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:OpenBrowser>
</State.Entry>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">264.5,0</av:Point>
<av:Size x:Key="ShapeSize">251,94</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">217</x:Double>
<x:Double x:Key="StateContainerHeight">58.080000000000041</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="IE корректно открылся" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_14">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">264.5,75.2 213.8,75.2 213.8,138.5</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">61</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">62</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<State x:Name="__ReferenceID4" DisplayName="Ввод логина и пароля" sap:VirtualizedContainerService.HintSize="246,63" sap2010:WorkflowViewState.IdRef="State_12">
<State.Entry>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="376,881" sap2010:WorkflowViewState.IdRef="Sequence_22">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="strUsername" />
<Variable x:TypeArguments="ss:SecureString" Name="secstrPassword" />
</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:InvokeWorkflowFile ContinueOnError="{x:Null}" DisplayName="Invoke GetAppCredentials workflow" sap:VirtualizedContainerService.HintSize="334,87" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_5" UnSafe="False" WorkflowFileName="Framework\GetAppCredentials.xaml">
<ui:InvokeWorkflowFile.Arguments>
<OutArgument x:TypeArguments="x:String" x:Key="out_Username">[strUsername]</OutArgument>
<InArgument x:TypeArguments="x:String" x:Key="in_Credential">[in_strCitrixCredential]</InArgument>
<OutArgument x:TypeArguments="ss:SecureString" x:Key="out_Password">[secstrPassword]</OutArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
<ui:TypeInto DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" Activate="True" ClickBeforeTyping="False" DisplayName="Type Into 'UserName'" EmptyField="False" sap:VirtualizedContainerService.HintSize="334,134" sap2010:WorkflowViewState.IdRef="TypeInto_14" SendWindowMessages="False" SimulateType="False" Text="[strUsername.Split(&quot;@&quot;c).First]">
<ui:TypeInto.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="6991c6f05aad5a2d74c6ba9645fdf3d7" Selector="&lt;html title='Регистрация в Web Interface' /&gt;&lt;webctrl id='user' tag='INPUT' /&gt;" WaitForReady="INTERACTIVE" />
</ui:TypeInto.Target>
</ui:TypeInto>
<ui:TypeInto DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" Activate="True" ClickBeforeTyping="False" DisplayName="Type Into 'Очищаем поле Код'" EmptyField="False" sap:VirtualizedContainerService.HintSize="334,134" sap2010:WorkflowViewState.IdRef="TypeInto_15" SendWindowMessages="False" SimulateType="False" Text="[string.empty]">
<ui:TypeInto.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="1c6897b97221199b32c0de728aa0393e" Selector="&lt;html title='Регистрация в Web Interface' /&gt;&lt;webctrl id='passcode' tag='INPUT' /&gt;" WaitForReady="INTERACTIVE" />
</ui:TypeInto.Target>
</ui:TypeInto>
<ui:TypeSecureText DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" Activate="True" ClickBeforeTyping="False" DisplayName="Type Secure Text 'Вводим пароль'" EmptyField="True" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="TypeSecureText_5" SecureText="[secstrPassword]" SendWindowMessages="True" SimulateType="False">
<ui:TypeSecureText.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="6702decdaa83887e0120142e2369c4c5" Selector="&lt;html title='Регистрация в Web Interface' /&gt;&lt;webctrl id='password' tag='INPUT' /&gt;" WaitForReady="INTERACTIVE" />
</ui:TypeSecureText.Target>
</ui:TypeSecureText>
<ui:Click DelayBefore="{x:Null}" ClickType="CLICK_SINGLE" DelayMS="3000" DisplayName="Click 'Вход'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_14" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" SimulateClick="False">
<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}" TimeoutMS="{x:Null}" InformativeScreenshot="3abd97671b2f8c5a2c41070357f6e5de" Selector="&lt;html title='Регистрация в Web Interface' /&gt;&lt;webctrl name='login' tag='INPUT' /&gt;" WaitForReady="INTERACTIVE" />
</ui:Click.Target>
</ui:Click>
<Delay Duration="00:00:02" sap:VirtualizedContainerService.HintSize="334,22" sap2010:WorkflowViewState.IdRef="Delay_1" />
</Sequence>
</State.Entry>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">17,138.5</av:Point>
<av:Size x:Key="ShapeSize">246,63</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">212.44182283265602</x:Double>
<x:Double x:Key="StateContainerHeight">27.015110220420354</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="Пароль введен неверно" sap:VirtualizedContainerService.HintSize="450,579" sap2010:WorkflowViewState.IdRef="Transition_17">
<Transition.Trigger>
<ui:TextExists DisplayName="Text Exists 'TD'" FormattedText="False" sap:VirtualizedContainerService.HintSize="334,134" sap2010:WorkflowViewState.IdRef="TextExists_1" Occurrence="1" Text="Ошибка аутентификации">
<ui:TextExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="94a8ef629a9fbcafdf81ddd3c0618c2c" Selector="&lt;html title='Регистрация в Web Interface' /&gt;&lt;webctrl id='layoutTable' tag='TABLE' /&gt;&lt;webctrl parentid='layoutTable' tableCol='11' tag='TD' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:TextExists.Target>
</ui:TextExists>
</Transition.Trigger>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Int32 x:Key="SrcConnectionPointIndex">40</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">37</x:Int32>
<av:PointCollection x:Key="ConnectorLocation">263,173.15 293,173.15 293,320 408.5,320</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<State x:Name="__ReferenceID2" DisplayName="Открытие с ошибкой" sap:VirtualizedContainerService.HintSize="183,61" sap2010:WorkflowViewState.IdRef="State_14">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">408.5,289.5</av:Point>
<av:Size x:Key="ShapeSize">183,61</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">149</x:Double>
<x:Double x:Key="StateContainerHeight">25</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="T3" sap2010:WorkflowViewState.IdRef="Transition_16">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Int32 x:Key="SrcConnectionPointIndex">38</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">41</x:Int32>
<av:PointCollection x:Key="ConnectorLocation">500,289.5 500,203.05 613,203.05</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<State x:Name="__ReferenceID0" DisplayName="Final State" sap:VirtualizedContainerService.HintSize="134,61" sap2010:WorkflowViewState.IdRef="State_13" IsFinal="True">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">613,169.5</av:Point>
<av:Size x:Key="ShapeSize">134,61</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</State>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
<Transition DisplayName="Логин и пароль введены" sap:VirtualizedContainerService.HintSize="450,512" sap2010:WorkflowViewState.IdRef="Transition_18">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">152.3,201.5 152.3,231.5 152.8,231.5 152.8,268.5</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">43</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">34</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<State x:Name="__ReferenceID5" DisplayName="Выбор сервера" sap:VirtualizedContainerService.HintSize="144,63" sap2010:WorkflowViewState.IdRef="State_15">
<State.Entry>
<Sequence sap:VirtualizedContainerService.HintSize="376,521" sap2010:WorkflowViewState.IdRef="Sequence_24">
<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:Click DelayBefore="{x:Null}" DelayMS="{x:Null}" sap2010:Annotation.AnnotationText="Выбирается сервер, который указан в аргументе" ClickType="CLICK_DOUBLE" DisplayName="Click 'Server'" sap:VirtualizedContainerService.HintSize="334,137" sap2010:WorkflowViewState.IdRef="Click_16" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="True" SimulateClick="False">
<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}" TimeoutMS="{x:Null}" InformativeScreenshot="de7dd463e92c319313df5683a386369a" Selector="[&quot;&lt;html title='Платформа Citrix Access' /&gt;&lt;webctrl aaname='*&quot;+in_strServer+&quot;*' parentid='appLinks' tag='DIV' /&gt;&quot;]" WaitForReady="INTERACTIVE" />
</ui:Click.Target>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</ui:Click>
<ui:UiElementExists DisplayName="Element Exists 'GuiMainWindow wnd[0]'" Exists="[boolSAPOpened]" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_18">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="16d2cf44e207f14847d08831e5cfd235" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' omit:title='SAP Easy Access - МенюПользователя RobotLLK3' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
<ui:UiElementExists DisplayName="Element Exists 'GuiMainWindow wnd[0]'" Exists="[boolSAPStartMenu]" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_19">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="16d2cf44e207f14847d08831e5cfd235" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' title='SAP Easy Access*' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
</Sequence>
</State.Entry>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">88,268.5</av:Point>
<av:Size x:Key="ShapeSize">144,63</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">110</x:Double>
<x:Double x:Key="StateContainerHeight">27.000000000000114</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="SAP открыт не в начальном меню" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_25">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">116.8,331.5 116.8,361.5 117.4,361.5 117.4,429.5</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">15</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">14</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.Condition>
<mva:VisualBasicValue x:TypeArguments="x:Boolean" ExpressionText="boolSAPOpened and (not boolSAPStartMenu)" sap2010:WorkflowViewState.IdRef="VisualBasicValue`1_1" />
</Transition.Condition>
<Transition.To>
<State x:Name="__ReferenceID1" DisplayName="Переход на начальный экран" sap:VirtualizedContainerService.HintSize="242,61" sap2010:WorkflowViewState.IdRef="State_18">
<State.Entry>
<Sequence DisplayName="Попытка переместиться на начальный экран" sap:VirtualizedContainerService.HintSize="376,518" sap2010:WorkflowViewState.IdRef="Sequence_25">
<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:TypeInto DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" Activate="True" ClickBeforeTyping="False" DisplayName="Type into 'Ввод транзакции'" EmptyField="True" sap:VirtualizedContainerService.HintSize="334,134" sap2010:WorkflowViewState.IdRef="TypeInto_16" SendWindowMessages="False" SimulateType="True" Text="/n">
<ui:TypeInto.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="6266797ed39dbf7d0aa40b0284b5d6df" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' omit:title='SAP Easy Access*' /&gt;&lt;sap id='tbar[0]/okcd' /&gt;" WaitForReady="COMPLETE" />
</ui:TypeInto.Target>
</ui:TypeInto>
<ui:Click DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click 'перейти'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Click_17" KeyModifiers="None" MouseButton="BTN_LEFT" SendWindowMessages="False" 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}" TimeoutMS="{x:Null}" InformativeScreenshot="3fc975536cb11dfd27cd8006a940bc7f" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' omit:title='SAP Easy Access*' /&gt;&lt;sap id='tbar[0]/btn[0]' /&gt;" WaitForReady="COMPLETE" />
</ui:Click.Target>
</ui:Click>
<ui:UiElementExists DisplayName="Element Exists 'GuiMainWindow wnd[0]'" Exists="[boolSAPStartMenu]" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_20">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="16d2cf44e207f14847d08831e5cfd235" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' title='SAP Easy Access - МенюПользователя RobotLLK3' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
</Sequence>
</State.Entry>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">69,429.5</av:Point>
<av:Size x:Key="ShapeSize">242,61</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">208</x:Double>
<x:Double x:Key="StateContainerHeight">25</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="SAP на начальном экране" sap:VirtualizedContainerService.HintSize="450,512" sap2010:WorkflowViewState.IdRef="Transition_23">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Int32 x:Key="SrcConnectionPointIndex">36</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">37</x:Int32>
<av:PointCollection x:Key="ConnectorLocation">311,460 543,460</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.Condition>[boolSAPStartMenu]</Transition.Condition>
<Transition.To>
<State x:Name="__ReferenceID3" DisplayName="Открытие корректно" sap:VirtualizedContainerService.HintSize="174,66" sap2010:WorkflowViewState.IdRef="State_16">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">543,427</av:Point>
<av:Size x:Key="ShapeSize">174,66</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">140</x:Double>
<x:Double x:Key="StateContainerHeight">30</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="T6" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_19">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">717,463.3 777,463.3 777,203.05 747,203.05</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">40</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">40</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID0</x:Reference>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
<Transition DisplayName="Не перешел на начльный экран" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_26">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">189.5,490.5 189.5,553 39,553 39,460 69,460</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">39</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">37</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID1</x:Reference>
</Transition.To>
<Transition.Action>
<Assign sap:VirtualizedContainerService.HintSize="262,60" sap2010:WorkflowViewState.IdRef="Assign_3">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[counter]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[counter + 1]</InArgument>
</Assign.Value>
</Assign>
</Transition.Action>
<Transition.Condition>[not boolSAPStartMenu]</Transition.Condition>
</Transition>
<Transition DisplayName="SAP завис" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_27">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">311,435.6 341,435.6 341,338.3 408.5,338.3</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">4</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">61</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID2</x:Reference>
</Transition.To>
<Transition.Condition>[counter &gt; 10]</Transition.Condition>
</Transition>
<Transition DisplayName="T7" sap:VirtualizedContainerService.HintSize="450,551" sap2010:WorkflowViewState.IdRef="Transition_21">
<Transition.Trigger>
<ui:UiElementExists DisplayName="Element Exists 'GuiModalWindow wnd[1]'" Exists="[boolSession]" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_17">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="6e83d7cee3e6f30a108380a48d1ebe09" Selector="&lt;wnd app='saplogon.exe' cls='#32770' idx='1' isremoteapp='1' title='Информация по лицензии*' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
</Transition.Trigger>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">262.6,490.5 262.6,593.05 293,593.05</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">63</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">41</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<State x:Name="__ReferenceID6" DisplayName="Удаление существующей сессии" sap:VirtualizedContainerService.HintSize="241,61" sap2010:WorkflowViewState.IdRef="State_17">
<State.Entry>
<Sequence DisplayName="Логин в случае существующей сессии" sap:VirtualizedContainerService.HintSize="376,567" sap2010:WorkflowViewState.IdRef="Sequence_23">
<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:Activate DelayBefore="{x:Null}" DelayMS="{x:Null}" DisplayName="Activate 'GuiModalWindow wnd[1]'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="Activate_4">
<ui:Activate.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="60b526baa5f5c1f812d8960c2db4f278" Selector="&lt;wnd app='saplogon.exe' cls='#32770' isremoteapp='1' title='Информация по лицензии при многократной регистрации' /&gt;" WaitForReady="INTERACTIVE" />
</ui:Activate.Target>
</ui:Activate>
<ui:ClickText ContinueOnError="{x:Null}" DelayBefore="{x:Null}" DelayMS="{x:Null}" ClickType="CLICK_SINGLE" DisplayName="Click Text 'GuiModalWindow wnd[1]'" FormattedText="False" sap:VirtualizedContainerService.HintSize="334,134" sap2010:WorkflowViewState.IdRef="ClickText_9" KeyModifiers="None" MouseButton="BTN_LEFT" Occurrence="1" SendWindowMessages="False" Text="Выполнить">
<ui:ClickText.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:ClickText.CursorPosition>
<ui:ClickText.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="60b526baa5f5c1f812d8960c2db4f278" Selector="&lt;wnd app='saplogon.exe' cls='#32770' isremoteapp='1' title='Информация по лицензии при многократной регистрации' /&gt;" WaitForReady="INTERACTIVE" />
</ui:ClickText.Target>
</ui:ClickText>
<ui:SendHotkey DelayBefore="{x:Null}" DelayBetweenKeys="{x:Null}" DelayMS="{x:Null}" Activate="True" ClickBeforeTyping="False" DisplayName="Send Hotkey 'GuiModalWindow wnd[1]'" EmptyField="False" sap:VirtualizedContainerService.HintSize="334,155" sap2010:WorkflowViewState.IdRef="SendHotkey_3" Key="enter" KeyModifiers="None" SendWindowMessages="False" SpecialKey="True">
<ui:SendHotkey.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="955727e7d648aedefe19b74d843537c4" Selector="&lt;wnd app='saplogon.exe' cls='#32770' isremoteapp='1' title='Информация по лицензии при многократной регистрации' /&gt;" WaitForReady="INTERACTIVE" />
</ui:SendHotkey.Target>
</ui:SendHotkey>
</Sequence>
</State.Entry>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">293,559.5</av:Point>
<av:Size x:Key="ShapeSize">241,61</av:Size>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
<x:Double x:Key="StateContainerWidth">207</x:Double>
<x:Double x:Key="StateContainerHeight">25</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<State.Transitions>
<Transition DisplayName="Корректно" sap:VirtualizedContainerService.HintSize="450,505" sap2010:WorkflowViewState.IdRef="Transition_22">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">425.55,620.5 425.55,650.5 586.5,650.5 586.5,493</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">43</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">19</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID3</x:Reference>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
<Transition DisplayName="Сап открыт на основном экране" sap:VirtualizedContainerService.HintSize="450,558" sap2010:WorkflowViewState.IdRef="Transition_24">
<Transition.Trigger>
<ui:UiElementExists DisplayName="Проверка, что вход выполнен" Exists="[boolAlreadyOpenedTrans]" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_16">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="61985c3a52f04f543305a57a3ad0fc37" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' title='SAP Easy Access*' /&gt;" TimeoutMS="6000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
</Transition.Trigger>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Int32 x:Key="SrcConnectionPointIndex">45</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">39</x:Int32>
<av:PointCollection x:Key="ConnectorLocation">88,306.3 0,306.3 0,688 630,688 630,493</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID3</x:Reference>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
</State.Transitions>
</State>
</Transition.To>
</Transition>
<Transition DisplayName="SAP уже открыт" sap:VirtualizedContainerService.HintSize="450,551" sap2010:WorkflowViewState.IdRef="Transition_28">
<Transition.Trigger>
<ui:UiElementExists Exists="{x:Null}" DisplayName="Element Exists 'GuiMainWindow wnd[0]'" sap:VirtualizedContainerService.HintSize="334,106" sap2010:WorkflowViewState.IdRef="UiElementExists_21">
<ui:UiElementExists.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" InformativeScreenshot="16d2cf44e207f14847d08831e5cfd235" Selector="&lt;wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' isremoteapp='1' title='SAP Easy Access*' /&gt;" TimeoutMS="3000" WaitForReady="INTERACTIVE" />
</ui:UiElementExists.Target>
</ui:UiElementExists>
</Transition.Trigger>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:PointCollection x:Key="ConnectorLocation">515.5,23.5 872,23.5 872,520.04 682.2,520.04 682.2,493</av:PointCollection>
<x:Int32 x:Key="SrcConnectionPointIndex">16</x:Int32>
<x:Int32 x:Key="DestConnectionPointIndex">63</x:Int32>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Transition.To>
<x:Reference>__ReferenceID3</x:Reference>
</Transition.To>
</Transition>
</State.Transitions>
</State>
<x:Reference>__ReferenceID4</x:Reference>
<x:Reference>__ReferenceID0</x:Reference>
<x:Reference>__ReferenceID2</x:Reference>
<x:Reference>__ReferenceID3</x:Reference>
<x:Reference>__ReferenceID5</x:Reference>
<x:Reference>__ReferenceID6</x:Reference>
<x:Reference>__ReferenceID1</x:Reference>
<StateMachine.Variables>
<Variable x:TypeArguments="x:Boolean" Name="boolCitrixClosed" />
<Variable x:TypeArguments="x:Boolean" Name="boolEntered" />
<Variable x:TypeArguments="x:Boolean" Name="boolSession" />
<Variable x:TypeArguments="x:Boolean" Name="boolAlreadyOpened" />
<Variable x:TypeArguments="x:Int32" Default="0" Name="counter" />
<Variable x:TypeArguments="x:Boolean" Name="boolAlreadyOpenedTrans" />
<Variable x:TypeArguments="x:Boolean" Name="boolSAPStartMenu" />
<Variable x:TypeArguments="x:Boolean" Name="boolSAPOpened" />
</StateMachine.Variables>
</StateMachine>
</Activity>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment