当我试图导入bprelease
文件...然后blueprism
抛出一个错误的说法:
> "An error occurred while attempting to import the release: AMI did
> not recognise the action type 'UIASendKeys'"...
任何人都可以请解决此问题
此异常说,你要导入的对象,有使用UI自动化模式的要素窥探,并在其上调用Send Keys
行动。
我最好的猜测是,你有蓝棱镜的早期版本中没有提供的UI自动化模式(它是在BP6介绍)。你有什么版本?
你也可以打开.bprelease文件,发现其中使用UISendKeys和检查,如果它看起来OK。你也许甚至可以从文件中删除整个舞台,并尝试将其导入离不开它。
这是它应该如何看。检查操作的参数结构是否看起来是一样的。
<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>