test-manager
2022.10
false
  • 入门指南
      • 与 Studio 集成
      • 创建项目
  • 项目管理
  • 项目操作和实用程序
  • Test Manager 设置
  • ALM 工具集成
  • API 集成
  • 故障排除
UiPath logo, featuring letters U and I in white

Test Manager 用户指南

上次更新日期 2025年8月25日

SAP 解决方案管理器命令行

SAP 解决方案管理器命令工具可用于检查与UiPath™ Studio 的集成状态。 您可以在默认安装文件夹中找到与每个 Studio UiPath.SAP.SolutionManager.CommandLine.exe一起打包的此工具,如下所示: C:\Program Files\UiPath\Studio\net461 。 或者,您可以在自定义安装文件夹中找到可执行文件。

命令行参数描述

查看下表,了解可用参数及其使用方法的说明。

命令

描述

-s, --status

显示注册状态。

To understand error codes, check Troubleshooting status error messages.

-r, --register

注册通信接口。

-u, --unregister

取消注册通信接口。

-i, --ip

显示 Studio 中使用的连接 IP。

-o, --out

显示输出文件。

--help

显示帮助。

--version

显示版本号。

对状态错误消息进行故障排除

以下列表描述了常见的 SAP 解决方案管理器错误及其解决方法:

  • UiPath Plugin not installed: To solve this you need to install the UiPath® Plugin.
  • SAP Connector unavailable: To solve this you need to install the SAP Connector.
    重要提示: SAP 连接器仅在 x86 操作系统架构上运行。
  • UiPath Plugin uninstalled, SAP Connector installed: To solve this you need to install the UiPath® Plugin.
  • UiPath Plugin uninstalled, SAP Connector uninstalled: To solve this you need to install both UiPath® Plugin and SAP Connector
    重要提示: SAP 连接器仅在 x86 操作系统架构上运行。
  • UiPath Plugin installed, SAP Connector is x64 instead of x86 (plugin cannot work): To solve this you need to install the SAP Connector.
    重要提示: SAP 连接器仅在 x86 操作系统架构上运行。
  • 如果在成功配置后从 SAP 实例执行失败,请按照以下步骤解决问题:
    1. 验证 SAP 解决方案管理器客户端是否具有所需的客户端作用域。
      1. 从身份服务数据库的“客户端”表中检索客户端,并搜索客户端名称SapSolaman.OpenId
      2. 检查身份服务的ClientScopes表中是否为客户端分配了以下作用域:
        • TestManager

        • email

        • profile

        • openid

        • TM.TestExecutions

        • TM.TestCases.Read

          查看以下示例,了解您可以在身份服务中使用客户端执行的操作:
          1. 插入新客户端:
            INSERT INTO yourDatabase.identity.clients (ClientID, ClientName, Scope)
            VALUES ('YourClientID', 'YourClientName', 'YourScope')INSERT INTO yourDatabase.identity.clients (ClientID, ClientName, Scope)
            VALUES ('YourClientID', 'YourClientName', 'YourScope')
          2. 更新现有客户端:
            UPDATE yourDatabase.identity.clients
            SET ClientName = 'YourNewClientName', 
                Scope = 'TM.TestCases.Read'
            WHERE ClientID = 'YourClientID'UPDATE yourDatabase.identity.clients
            SET ClientName = 'YourNewClientName', 
                Scope = 'TM.TestCases.Read'
            WHERE ClientID = 'YourClientID'
          3. 将特定作用域插入现有客户端:
            INSERT INTO yourDatabase.identity.client.scopes 
            VALUES ('TM.TestExecutions', 'YourClientID')
            INSERT INTO yourDatabase.identity.client.scopes 
            VALUES ('TM.TestCases.Read', 'YourClientID')INSERT INTO yourDatabase.identity.client.scopes 
            VALUES ('TM.TestExecutions', 'YourClientID')
            INSERT INTO yourDatabase.identity.client.scopes 
            VALUES ('TM.TestCases.Read', 'YourClientID')
    2. 在身份服务表格中对客户端注册进行任何更改后,您需要重新触发登录,以让这些更改反映:
      1. 从此路径中删除文件夹: Users/%Userprofile%/Sap/SAP_Waldorf
      2. 根据 Test Manager 实例的交付选项,请执行以下操作之一:
        • 对于独立 Test Manager:重新启动 IIS 服务器或回收 Identity Server 的应用程序池。
        • 对于 Automation Suite 中的 Test Manager:刷新 Redis 缓存,或重新启动 Identity Pod。
  • 命令行参数描述
  • 对状态错误消息进行故障排除

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo
信任与安全
© 2005-2025 UiPath。保留所有权利。