UiElement.SetValue(@ui"输入控件<input>_广州",config["startPlace"],{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
时间: 2023-09-17 10:08:31 浏览: 32
这段代码使用了UiPath的UiAutomation库,通过UiElement对象的SetValue方法,给名为“输入控件<input>_广州”的UI元素设置值,值为config字典中key为"startPlace"的value。其中,参数"bContinueOnError"表示在设置值时发生错误是否继续执行,参数"iDelayAfter"和"iDelayBefore"表示在设置值前后等待的时间,单位为毫秒。
相关问题
·UiElement.SetValue(@ui"输入控件<input>_广州",config["startPlace"],{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
这段代码是使用UiPath的RPA平台中的UiAutomation活动,对指定的输入控件进行赋值操作。其中@ui"输入控件<input>_广州"是指定了对应的界面元素,config["startPlace"]是需要输入的值。{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200}是可选的参数,其中bContinueOnError表示遇到错误时是否继续执行,iDelayAfter表示操作后的延迟时间,iDelayBefore表示操作前的延迟时间。
UiElement.SetValue(@ui"输入控件<input>_厦门2","厦门",{"bContinueOnError":false,"iDelayAfter":300,"iDelayBefore":200})
这段代码是使用 UiPath 自动化工具中的 UiAutomation 活动,用于设置名为“输入控件<input>_厦门2”的 UI 元素的值为“厦门”。其中,“@ui”表示使用 UI Explorer 工具选择该 UI 元素,“bContinueOnError”表示如果出现错误是否继续执行,iDelayAfter 和 iDelayBefore 分别表示操作后等待的时间。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)