添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I have UiElement collection, then I am looping it and trying to findFirst element with specific selector, but if it is not found iam getting error… TryCatch is taking too long to fire (30s+)…
item as UiElement, variable1 as IvariableResolver and its empty…

my clause:
item.FindFirst(FindScope.FIND_CHILDREN,new Selector(“<webctrl tag=‘p’ class=‘mb1’ innerHtml=‘ fa fa-file-text-o ’ />”),variable1).Get(“innerText”).ToString

By the way what is IvariableResolver without it uipath did not let me start process as it was mandatory…

Thanks.

Please give us some screenshots and some details on your flow, task to achieve.

I have UiElement collection, then I am looping it and trying to findFirst element with specific selector

This line is a little bit unclear. So we can give you a better help

I think i found work around.

I used built in FindChildren activity to pass UiElement collected from previous Collection as it has ContinueOnError feature and then I am getting desired result, do not know if that is correct way to go but it works…

image 1436×795 63.6 KB

This statement was for actual Try Catch activity block there is no timeout timer…

Now FindChildren set ContinueOnError to true is instant even with default timeout value.

Thanks again