6

我正在关注视频SAP Automation with UiPath以在 SAP 服务器中以具有有效凭据的用户身份自动登录。

SAP 信息:IDES ECC 6.0 包括。EhP7

系统信息:我没有使用虚拟机。我使用一个Intel Core i3 CPUwith64 bit - Windows 8系统。

自创建以来,按照教程的登录过程基本上可以工作一个小时左右。但是,每当我尝试在很长一段时间后(例如,第二天)执行工作流程时,机器人将无法启动,并且我面临以下错误:

工作室日志:

13:12:54.1664 => [ERROR] [UiPath.Studio.exe] [7] $LoadAssembly: UiPath.Vision, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null'

执行日志:

13:16:44.2967 Error {"message":"Click Text 'SAPTreeList': Cannot find the UI element corresponding to this selector: <wnd ctrlid='90279688' /><wnd ctrlid='100' title='SAP&apos;s Advanced Treelist' />","level":"Error","logType":"Default","timeStamp":"2019-02-06T13:16:44.295729+05:30","fingerprint":"bec67d2a-14d1-4b93-ac06-03156aea69fe","windowsIdentity":"AtechM-03\\AtechM_03","machineName":"ATECHM-03","processName":"LearningUiPath","processVersion":"1.0.0.0","jobId":"e7f88d9e-e485-4eee-8a54-7450771238f3","robotName":"ATECHM_03","machineId":0,"fileName":"Main"}

工作流快照:

SAP_workflow

完成 Studio.log:

13:12:31.1048 => [INFO] [UiPath.Studio.exe] [1] Set native thread language to LangId=0x0009
13:12:31.4221 => [INFO] [UiPath.Studio.Shared.MVVM.Commands.CommandManager] [1] Application.MainWindow is null, cannot subscribe to keyboard events, subscribed to Application.Activated event
13:12:37.2585 => [INFO] [UiPath.Studio.exe] [8] GetRobotConnectionStatus took 2971 ms.
13:12:39.0493 => [INFO] [UiPath.Studio.exe] [1] IUpdateManager: Starting automatic update
13:12:39.0762 => [INFO] [UiPath.Studio.exe] [1] CheckForUpdateImpl: Using existing staging user ID: b66eca10-67ef-5ddd-bf27-bde6f41925ba
13:12:39.1003 => [INFO] [UiPath.Studio.exe] [1] CheckForUpdateImpl: Downloading RELEASES file from http://download.uipath.com/latest?timestamp=636850555590282764
13:12:39.1003 => [INFO] [UiPath.Studio.exe] [1] FileDownloader: Downloading url: http://download.uipath.com/latest/RELEASES?timestamp=636850555590282764&id=UiPath&localVersion=19.1.0&arch=amd64
13:12:43.1631 => [INFO] [UiPath.Studio.exe] [5] Installing packages: UiPath.UIAutomation.Activities, UiPath.System.Activities, UiPath.Excel.Activities, UiPath.Mail.Activities
13:12:43.8417 => [INFO] [UiPath.Studio.Shared.Logging.OutputLogger] [5] Assets file has not changed. Skipping assets file writing. Path: C:\Users\AtechM_03\Documents\UiPath\LearningUiPath\.local\AllDependencies.json
13:12:44.1160 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\avalonedit/5.0.3\lib/Net40/ICSharpCode.AvalonEdit.dll
13:12:44.2121 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\caliburn.micro/3.0.1\lib/net45/Caliburn.Micro.Platform.Core.dll
13:12:44.2121 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\caliburn.micro/3.0.1\lib/net45/Caliburn.Micro.Platform.dll
13:12:44.2121 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\caliburn.micro/3.0.1\lib/net45/System.Windows.Interactivity.dll
13:12:44.2121 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\caliburn.micro.core/3.0.1\lib/net45/Caliburn.Micro.dll
13:12:44.2121 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.AvalonDock.dll
13:12:44.2411 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.AvalonDock.Themes.Aero.dll
13:12:44.2571 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.AvalonDock.Themes.Metro.dll
13:12:44.2711 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.AvalonDock.Themes.VS2010.dll
13:12:44.2711 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.DataGrid.dll
13:12:44.3542 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\extended.wpf.toolkit/2.8.0\lib/net40/Xceed.Wpf.Toolkit.dll
13:12:44.3803 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\humanizer.core/2.4.2\lib/netstandard2.0/Humanizer.dll
13:12:44.3803 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath/10.0.6913.22031\lib/UiPath.Interop.dll
13:12:44.3803 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Docking.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Editors.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Ribbon.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Shared.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.SyntaxEditor.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Text.Addons.DotNet.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Text.LLParser.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Text.Wpf.dll
13:12:44.3963 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/ActiproSoftware.Wizard.Wpf.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/UiPath.UIAutomation.Activities.Design.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/UiPath.UiAutomation.Activities.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.uiautomation.activities/18.4.1\lib/net461/UiPath.Wizards.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.vision/1.2.0\lib/net452/UiPath.NeuralNet.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.vision/1.2.0\lib/net452/UiPath.Vision.Core.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.vision/1.2.0\lib/net452/UiPath.Vision.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.vision/1.2.0\lib/net452/UiPath.Vision.Package.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\csvhelper/2.13.5\lib/net40-client/CsvHelper.dll
13:12:44.4143 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\microsoft.rest.clientruntime/2.3.10\lib/net452/Microsoft.Rest.ClientRuntime.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\newtonsoft.json/10.0.3\lib/net45/Newtonsoft.Json.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Docking.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Ribbon.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Shared.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.SyntaxEditor.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Text.Addons.DotNet.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Text.LLParser.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Text.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/ActiproSoftware.Wizard.Wpf.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/UiPath.OrchestratorClient.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/UiPath.System.Activities.Design.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.system.activities/18.4.1\lib/net461/UiPath.System.Activities.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\closedxml/0.87.1\lib/net40/ClosedXML.dll
13:12:44.4273 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\documentformat.openxml/2.5.0\lib/DocumentFormat.OpenXml.dll
13:12:44.4493 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\microsoft.visualstudio.ole.interop/7.10.6071\lib/Microsoft.VisualStudio.OLE.Interop.dll
13:12:44.4493 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\npoi/2.2.1\lib/net40/NPOI.dll
13:12:44.4493 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\npoi/2.2.1\lib/net40/NPOI.OOXML.dll
13:12:44.4493 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\npoi/2.2.1\lib/net40/NPOI.OpenXml4Net.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\npoi/2.2.1\lib/net40/NPOI.OpenXmlFormats.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\sharpziplib/0.86.0\lib/20/ICSharpCode.SharpZipLib.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.excel.activities/2.4.6884.25683\lib/net452/UiPath.Excel.Activities.Design.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.excel.activities/2.4.6884.25683\lib/net452/UiPath.Excel.Activities.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.excel.activities/2.4.6884.25683\lib/net452/UiPath.Excel.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\bouncycastle/1.8.1\lib/BouncyCastle.Crypto.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\microsoft.exchange.webservices/2.2.0\lib/40/Microsoft.Exchange.WebServices.Auth.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\microsoft.exchange.webservices/2.2.0\lib/40/Microsoft.Exchange.WebServices.dll
13:12:44.4583 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.mail.activities/1.2.6863.29868\lib/net40/MailKit.dll
13:12:44.4744 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.mail.activities/1.2.6863.29868\lib/net40/MimeKit.dll
13:12:44.4744 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.mail.activities/1.2.6863.29868\lib/net40/UiPath.Mail.Activities.Design.dll
13:12:44.4744 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.mail.activities/1.2.6863.29868\lib/net40/UiPath.Mail.Activities.dll
13:12:44.4744 => [INFO] [UiPath.Studio.exe] [17] TryLoadAssemblyInternal: Loading C:\Users\AtechM_03\.nuget\packages\uipath.mail.activities/1.2.6863.29868\lib/net40/UiPath.Mail.dll
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.UIAutomation.Activities.Design, Version=18.4.1.0, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.UiAutomation.Activities, Version=18.4.1.0, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.Wizards, Version=18.4.1.0, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.System.Activities.Design, Version=18.4.1.0, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.System.Activities, Version=18.4.1.0, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.Excel.Activities.Design, Version=2.4.6884.25683, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.Excel.Activities, Version=2.4.6884.25679, Culture=neutral, PublicKeyToken=null
13:12:49.8033 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.Mail.Activities.Design, Version=1.2.6863.29868, Culture=neutral, PublicKeyToken=null
13:12:49.8414 => [INFO] [UiPath.Studio.exe] [4] Found activities assembly: UiPath.Mail.Activities, Version=1.2.6863.29861, Culture=neutral, PublicKeyToken=null
13:12:49.8414 => [INFO] [UiPath.Studio.exe] [4] Registering contract: UiPath.Core.Activities.Design.DesignerMetadata
13:12:50.1647 => [INFO] [UiPath.Studio.exe] [4] Registering contract: UiPath.Core.Activities.Design.DesignerMetadata
13:12:50.7442 => [INFO] [UiPath.Studio.exe] [4] Registering contract: UiPath.Excel.Activities.Design.DesignerMetadata
13:12:50.8833 => [INFO] [UiPath.Studio.exe] [4] Registering contract: UiPath.Mail.Activities.Design.DesignerMetadata
13:12:54.1664 => [ERROR] [UiPath.Studio.exe] [7] $LoadAssembly: UiPath.Vision, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimePropertyInfo.get_Signature()
   at System.Reflection.RuntimePropertyInfo.get_PropertyType()
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#aFc(#Lrc #wAf, MemberInfo #xAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#cFc(#hsc #4Ub, Type #uAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#XEc(Assembly #sxc)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#30j(Assembly #sxc, IAssemblyName #4tc, IBinaryAssemblyMetadata #RDb)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.GetOrCreate(Assembly assembly, IAssemblyName assemblyName, String location)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#uBh(Assembly #sxc, IAssemblyName #4tc, String #bVe)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(Assembly assembly, IAssemblyName assemblyName)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(String fullName)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.SyntaxService.LoadAssembly(LoadIntellisenseAssembliesContext context, String assemblyName, CancellationToken cancellationToken)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
, HResult -2147024894
13:12:54.2836 => [ERROR] [UiPath.Studio.exe] [7] $LoadAssembly: UiPath.NeuralNet, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimePropertyInfo.get_Signature()
   at System.Reflection.RuntimePropertyInfo.get_PropertyType()
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#aFc(#Lrc #wAf, MemberInfo #xAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#cFc(#hsc #4Ub, Type #uAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#XEc(Assembly #sxc)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#iFc(Assembly #sxc)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#30j(Assembly #sxc, IAssemblyName #4tc, IBinaryAssemblyMetadata #RDb)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.Create(Assembly assembly, IAssemblyName assemblyName, IBinaryAssemblyMetadata metadata)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.GetOrCreate(Assembly assembly, IAssemblyName assemblyName, String location)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#uBh(Assembly #sxc, IAssemblyName #4tc, String #bVe)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(Assembly assembly, IAssemblyName assemblyName)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(String fullName)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.SyntaxService.LoadAssembly(LoadIntellisenseAssembliesContext context, String assemblyName, CancellationToken cancellationToken)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
, HResult -2147024894
13:12:54.3206 => [ERROR] [UiPath.Studio.exe] [7] $LoadAssembly: UiPath.Vision, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimePropertyInfo.get_Signature()
   at System.Reflection.RuntimePropertyInfo.get_PropertyType()
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#aFc(#Lrc #wAf, MemberInfo #xAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.GetOrCreate(Assembly assembly, IAssemblyName assemblyName, String location)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#uBh(Assembly #sxc, IAssemblyName #4tc, String #bVe)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(Assembly assembly, IAssemblyName assemblyName)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.Load(String fullName)
   at UiPath.Studio.Plugin.Workflow.ExpressionEditor.SyntaxService.LoadAssembly(LoadIntellisenseAssembliesContext context, String assemblyName, CancellationToken cancellationToken)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
, HResult -2147024894
13:12:55.8830 => [INFO] [UiPath.Studio.exe] [1] Entry Point: C:\Users\AtechM_03\Documents\UiPath\LearningUiPath\Main.xaml
13:12:56.1233 => [ERROR] [UiPath.Studio.exe] [7] $LoadAssembly: Microsoft.Exchange.WebServices.Auth, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
   at System.Reflection.RuntimePropertyInfo.get_Signature()
   at System.Reflection.RuntimePropertyInfo.get_PropertyType()
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#aFc(#Lrc #wAf, MemberInfo #xAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.BinaryAssemblyLoader.#cFc(#hsc #4Ub, Type #uAf)
   at ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.AssemblyRepositoryBase.#30j(Assembly #sxc, IAssemblyName #4tc, IBinaryAssemblyMetadata #RDb)
   at  ActiproSoftware.Text.Languages.DotNet.Reflection.Implementation.FileBasedAssemblyRepository.GetOrCreate(Assembly assembly, IAssemblyName assemblyName, String location)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
, HResult -2147024894

完整的 Execution.log:

13:16:13.6158 Info {"message":"LearningUiPath execution started","level":"Information","logType":"Default","timeStamp":"2019-02-06T13:16:13.5988758+05:30","fingerprint":"214b3d1f-302f-44b5-82ba-1a5eccded1bb","windowsIdentity":"AtechM-03\\AtechM_03","machineName":"ATECHM-03","processName":"LearningUiPath","processVersion":"1.0.0.0","jobId":"e7f88d9e-e485-4eee-8a54-7450771238f3","robotName":"ATECHM_03","machineId":0,"fileName":"Main"}
13:16:44.2967 Error {"message":"Click Text 'SAPTreeList': Cannot find the UI element corresponding to this selector: <wnd ctrlid='90279688' /><wnd ctrlid='100' title='SAP&apos;s Advanced Treelist' />","level":"Error","logType":"Default","timeStamp":"2019-02-06T13:16:44.295729+05:30","fingerprint":"bec67d2a-14d1-4b93-ac06-03156aea69fe","windowsIdentity":"AtechM-03\\AtechM_03","machineName":"ATECHM-03","processName":"LearningUiPath","processVersion":"1.0.0.0","jobId":"e7f88d9e-e485-4eee-8a54-7450771238f3","robotName":"ATECHM_03","machineId":0,"fileName":"Main"}
13:16:44.3057 Info {"message":"LearningUiPath execution ended","level":"Information","logType":"Default","timeStamp":"2019-02-06T13:16:44.3017318+05:30","fingerprint":"22bd0086-d076-42eb-b8d7-9bf13c3fb815","windowsIdentity":"AtechM-03\\AtechM_03","machineName":"ATECHM-03","processName":"LearningUiPath","processVersion":"1.0.0.0","jobId":"e7f88d9e-e485-4eee-8a54-7450771238f3","robotName":"ATECHM_03","machineId":0,"totalExecutionTimeInSeconds":30,"totalExecutionTime":"00:00:30","fileName":"Main"}

任何指示我哪里出错了?


更新

在使用@NTP 的答案时,问题已经解决了。需要从以下构造一个定位器(非过期):

SAP_SAP 的高级 Treelist_debugger

4

1 回答 1

5

作为错误信息

Cannot find the UI element corresponding to this selector: <wnd ctrlid='90279688' /><wnd ctrlid='100' title='SAP&apos;s Advanced Treelist' />”

说 UI 路径找不到您的元素。

我可以想到导致此问题的 2 个可能原因。

  1. 您可以执行以下操作的选择器问题

    • 使用部分选择器而不是完整选择器
    • 对选择器的动态部分使用通配符(* 用于替换任意数量的字符,? 用于恰好替换 1 个字符)
  2. 您的 SAP 应用程序/应用程序由于某种原因而关闭,您可以尝试以下操作

    • 您应该考虑添加一些错误处理逻辑来从这些错误中恢复,而不是崩溃和终止整个工作流程。为此,您可以使用 UI 路径https://activities.uipath.com/docs/try-catch的 Try Catch 活动。您只需关闭并重新打开 SAP 应用程序即可从此错误中恢复。如果您决定进行错误处理,您可以在 catch 块中添加一个工作流来执行此操作。

评论中讨论的要点总结:

  • 使用 UI 路径的突出显示功能来帮助调试选择器。
  • UI 路径的桌面录制会生成部分选择器,而基本录制会生成完整的选择器。
  • 当可靠的选择器不可用时,可以使用 UI 路径的锚定基础活动。https://activities.uipath.com/docs/anchor-base
于 2019-02-14T07:49:43.320 回答