Can't go through the same URL while read the second item of data (Type into, for each row in data table, Go to URL, If)

Dear All,

I’m facing an issue with the “For Each Row Data Table” activity when processing the “URL.” After successfully executing the first item, an error occurs when attempting to read the second item to go to the same web page using the “If” and “Type Into” activities. Can anyone advise on how to resolve this? Thank you.

Hi @Evelyn_Lu,

Looks like some popup is showing up in browser second time, are you able to show us the pop up that is shown on browser.

Also is this for each loop nested under open browser/ attach browser activity?

Regards
Sonali

@Evelyn_Lu,

The error is mentioning that there is some pop-up on the screen which is restricting the type into activity.

Check and handle the pop-up.

@ashokkarale , but I can’t find the pop up second window.

@Evelyn_Lu,

Is there really a pop-up? If no, try changing the Input method of the Type into activity to Simulate.

If pop-up is there, use additionalUse Application/Browser activity for that pop-up handling.

Hi @Evelyn_Lu,

Try running the code in debug mode by putting a breakpoint on the activity you are thrown error for.

That way you will be able to properly identify what’s happening on the screen and at what point exactly you are thrown error.

Tip. Before starting debug, select’highlight the elements’ from debug menu so you are clearly able to see the activity in action.

Regards
Sonali

@ashokkarale @sonaliaggarwal47 , I got it. it actually pop up another window when I click the item, but I need it to finish the work item and back to the first window(URL) to search. how can I set up? Thanks.
first URL:


second URL:

@Evelyn_Lu ,

I think you can click on that back icon on the second screen.

@ashokkarale , Yes, it can, but after only a few successes, it somehow skipped the click activity and the same issue exists

@Evelyn_Lu,

Use Check app state activity to check if the back button is still visible or not.

In element appear section, add a click activity to click on the back button with Hardware event input method.

You can also use retry scope to make it more full proof solution.

Hi @ashokkarale , You are wonderful! The issue is fixed, thank you so much

You are welcome @Evelyn_Lu :hugs: Cheers!

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