Evelyn_Lu
(Evelyn Lu)
January 4, 2025, 1:53pm
1
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.
Evelyn_Lu
(Evelyn Lu)
January 4, 2025, 4:06pm
4
@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
Evelyn_Lu
(Evelyn Lu)
January 5, 2025, 9:27am
7
@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.
Evelyn_Lu
(Evelyn Lu)
January 5, 2025, 9:41am
9
@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.
Evelyn_Lu
(Evelyn Lu)
January 5, 2025, 11:00am
11
Hi @ashokkarale , You are wonderful! The issue is fixed, thank you so much
You are welcome @Evelyn_Lu Cheers!
system
(system)
Closed
January 8, 2025, 11:41am
13
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.