什么是AMI不识别动作类型"UIASENDKEYS"



当我尝试导入bprelease文件时...然后blueprism抛出一个错误说:

>  "An error occurred while attempting to import the release:  AMI did
> not recognise the action type 'UIASendKeys'"...

任何人都可以解决这个问题吗

此异常表示您正在尝试导入一个对象,该对象具有使用 UI 自动化模式监视的元素,并且在其上调用Send Keys操作。

我最好的猜测是,您有一个早期版本的 Blue Prism 没有可用的 UI 自动化模式(它是在 BP6 中引入的(。你有什么版本?

你也可以打开.bprelease文件,找到UISendKeys的使用位置,并检查它是否看起来正常。您甚至可以从文件中删除整个阶段,并尝试在没有它的情况下导入它。

这就是它应该的样子。检查操作参数结构是否相同。

<stage stageid="some_stage_id" name="Send Keys Stage" type="Navigate">
    <subsheetid>some_sheet_id</subsheetid>
    <loginhibit />
    <narrative>
    </narrative>
    <displayx>15</displayx>
    <displayy>-30</displayy>
    <displaywidth>120</displaywidth>
    <displayheight>60</displayheight>
    <font family="Segoe UI" size="10" style="Regular" color="000000" />
    <onsuccess>next_stage_id</onsuccess>
    <step>
      <element id="action_on_element_id" />
      <action>
        <id>UIASendKeys</id>
        <arguments>
          <argument>
            <id>newtext</id>
            <value>"Testing keys"</value>
          </argument>
          <argument>
            <id>interval</id>
            <value>
            </value>
          </argument>
        </arguments>
      </action>
    </step>
  </stage>

最新更新