It may be due to dynamic selectors
I tried unchecking that too…
I’ll help you on this one
I have gone through your work flow. After going to each url and want to scrape Address, rest website, Contact no and Specialty right ?
Are you trying to write those scraped data result into excel file or what ?
Yes, I am trying to write that scraped data into excel file. And for the above part, you got everything right.
Can you try this revised .xaml file?
dal_1.xaml (24.8 KB)
If there are any issues, please don’t hesitate to ask for help.
Thanks and regards,
What I just did here was: I updated the selectors
Use Write Cell activity to write into excel file but you did not use that activity in your workflow.
it is showing an exception
Source: Get Text ‘ADDRESS’ (Get Text ‘ADDRESS’)
Message: Cannot find the UI element corresponding to this selector:
Exception Type: UiPath.Core.SelectorNotFoundException
An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.SelectorNotFoundException: Cannot find the UI element corresponding to this selector: ----> System.Runtime.InteropServices.COMException: Cannot find the UI element corresponding to this selector:
at UiPath.UiNodeClass.FindFirst(UiFindScope scope, String nodeID)
at UiPath.Core.UiElement.FindFirst(FindScope scope, Selector selector)
— End of inner ExceptionDetail stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
use dynamic selector & try
wouldn’t “write range” work in the last section work as “readDT” datatable is taking the item for each row?
If not, then do I have to use “write cell” activity after each “assign” activity?
Hi @Nikhil_Khapre, it is better to do write cell on this one.
Okay, I’ll try write cell. Thanks for helping.
the selector is working fine except in Shivas Bar & Grill because of the ‘&’
can you share your files with me?
I tried it using write cell but it is throwing exception. I am uploading my files here. Please check and help me with my mistakesdal_1.xaml (28.9 KB)
I am currently creating the solution. I will send it in a while.
Thank you for helping.
Here is the flow. dal_1.xaml (31.5 KB)
I hope you find this as the solution.
Thanks and regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.