简体   繁体   English

蓝色棱镜:在文本框中输入文本时,未启用相邻按钮

[英]Blue Prism: On entering a text in a text box, the adjacent button is not getting enabled

I am automating an enterprise application using Blue Prism, On entering a text in a particular text box, the button next to it should be enabled as per the process document which is happening when I do it manually. 我正在使用Blue Prism自动化企业应用程序,在特定文本框中输入文本时,应根据我手动执行的过程文档启用它旁边的按钮。 However, When I use write stage and enter the text its not happening. 但是,当我使用write阶段并输入文本时,它不会发生。

I tried using navigate stage to click on the center of Textbox and used Application modeler to send keys within the same navigate stage. 我尝试使用导航阶段单击文本框的中心,并使用Application Modeler在同一导航阶段内发送密钥。

Is there any way to achieve what I want? 有什么方法可以实现我想要的吗?

Some elements are disabled until and unless user key strokes on one element. 直到(除非)除非一个元素上有用户按键,否则某些元素将被禁用。 If you use write stage then it won't be get enabled. 如果您使用写入阶段,则不会启用它。

For this, use the Global send key event to pass the value to text box only then the button will get enabled. 为此,仅使用全局发送键事件将值传递到文本框,然后按钮才会启用。

Give Global send key event the text parameter, while writing text to textbox it will generate key events. 给全局发送按键事件指定text参数,将文本写入文本框时将生成按键事件。

  Navigation Stage --> GlobalSendKeyEvents -->"{TAB}")

The app is probably waiting for a Javascript callback to tell the button it should be enabled. 该应用可能正在等待Javascript回调告知按钮应启用该功能。 After youve set the data (probably with global send keys), I'd first recommend tabbing out of it, or clicking some other element on the page. 设置数据后(可能是使用全局发送键),我首先建议您将其跳出标签,或单击页面上的其他元素。 Expirement with different combinations of Focus, Tab, Activate, Click, etc, until you get lucky. 使用“焦点”,“选项卡”,“激活”,“点击”等不同组合来过期,直到您幸运为止。 Or, you can just look at the js and see if you can figure it out. 或者,您可以仅查看js并查看是否可以解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM