In my UiPath workflow, there is a step in the loop that retrieves text from the webpage and saves it as a variable to rename the file. The first loop is fine, but the second loop does not retrieve the text again, but directly uses the variable value from the first iteration. If I close the web window after each iteration and reopen it, the workflow is normal.
Similarly, when clicking on the print link on a webpage, everything is OK in the first pop-up print dialog box; But in the second loop, the pop-up print dialog box is the same as the first time, and the printed content is also the same as the first time.
could you please share screenshot of selectors?
and also make sure dynamic text is enabled if you are using modern activity
Hi @rosamonde88 ,
Are using the same selector used in the first loop action and 2nd loop action the same ?
have u dynamically changed the properties of the selector if possible ?
by using wildcards / variables inside the selector
Hi @rosamonde88
Try removing the computer vision from the targeting methods and let me know the output.
Regards
@vrdabberu
Many thanks. It works without computer vision.
But do you know the print dialog box problem in loop? I’m puzzled that the first dialog should be closed, why it appears again in the second loop? ![]()
Here’s the related pic. In the second loop, the flow decision activity did not work and defaults as True, entering the Printer activity.
Hi @rosamonde88
Have you been using any use application/ browser activity for the print tab?
Regards
Hi @vrdabberu
Yes, the Print dialog box is in use browser acitivity.
But it’s Okay. Thank your very much for your help. Sorry for the late reply.

