Unable to identify/use regex for the url


I am trying to get a Dynamic ID which is available only in the URL of the page. I could not get that URL using get attribute activity. The UI path is not capturing the URL. Getting the below exception.

An ExceptionDetail,
likely created by IncludeExceptionDetailInFaults=true,
whose value is:
UiPath.Core.ElementOperationException: Attribute not supported by the current UiNode. ----> System.Runtime.InteropServices.COMException: Attribute not supported by the current UiNode.
at UiPath.UiNodeClass.Get(String bstrAttr)
at UiPath.Core.UiElement.Get(String attribute,
Boolean refresh)
— End of inner ExceptionDetail stack trace —
at System.Activities.Statements.Throw.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)

@jeyaprakasamm Try indicating the Whole Browser Window and use title as the attribute name

If you are using internet explorer, you should be able to use the get text activity and pull the entire address. If you only want the archive name you can use regex to get that.

Hi Please give a try to this

The Get text activity helped me. Thanks all for your help on this.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.