Error on For each UI Element Source Data was modified , for each ops cannot be continued

Hi there,

I am trying to extract data from this website below, the steps as follow. For each element, then right pane will appear, extract data, then click close, then go to next element and click to show right pane… so on so forth,

But i have issue where on step 3, closing, The UiPath unable to click on second element.

Can anyone suggest me the best method to handle? maybe For Each element not the right one or Am i missing something?

RC_Website_GlobalCruiseUSPrice.xaml (104.7 KB)

@AlbertM

Try like this

Please check sequence1.xaml from this zip

BlankProcess - Copy.zip (11.6 KB)

cheers

Hi @AlbertM

Can you try this-

  1. Use UiExplorer inspect the elements and validate the selectors being used. If the selectors are not precise, it can lead to issues when attempting to interact with the elements.
  2. Before attempting to interact with the close button or any other element in the right pane, ensure that it is fully loaded and visible. You can use activities like Element Exists or Wait Element Vanish to verify the presence and disappearance of certain elements in the right pane.
  3. Introduce small delays (e.g., using the Delay activity) after performing an action in the right pane, such as extracting data or clicking the close button.

Thanks!!

Hi @Anil_G , thank you very much for your help. Can i ask you how did you change the Hover from
image
into
image
I am currently testing the Hover part and adding delay . It seems to work , but when the website address changes, it seems like it cannot hover to the current element, hence my first question. Thanks

@AlbertM

I have the currentElement variable of for loop as the input element and not used indicate element…when you pass the input element property …you need not indicate the element

When you open properties you will see the input element property

Hope this helps

Cheers

Hi @Anil_G

Thanks for helping me, this is the solution I made, I have to create a 1 second delay.

1 Like

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