Handling Many Pop-Ups

Hello guys ,

I need your help as a beginner student in UiPath and your feedback will be valueable at my side.

In my project, there is an area which the numbers(readed by excel /items) written there and after clicking “list” button a pop-up disappear and should be closed and after closing the pop up, there is a screen which the status written there and status can be reopened or executed, if the status executed then ı clik clear button and get the second item , if the status reopened then it is supposed to click execute button, after execute button pop ups will be disappear but the number of the pop ups can be change and some pop ups can be seen on the same page while others can be opened in a new tab/browser,

and then according to type of the pop ups status can be changed and become executed or remained reopen, and after we will pass the next item, we are keeping the first satus in a variable but we need the keep the last status according to the process we made.

What ı need is , if the item executed then pass the next item, if the item reopened make it as executed after clicking the pop-ups , but the type of the pop-ups make you executed or not , and ı have to report them. At the beginning ı am already takıng the status by getting text activity and keeping it in variable , but for the last status ı can’t. My need is how to handle pop ups because their numbers and sizes can be change , and where and which activity should be used in order to get the last status of the items. Because what has been done need to report for the outsider user.

İf executed > Executed

If Reopened > can be executed or stay reopened .

Need your help.

@Fatih_kizil Since the popup count and behavior are dynamic, I would suggest handling them inside a loop instead of using fixed steps. First, capture the initial status with Get Text. If status is Executed, move to the next item. If status is Reopened, click Execute and then handle all appearing popups one by one using Check App State or Element Exists inside a While/Do While loop until no popup remains. After all popups are processed, use Get Text again to capture the final status. That final status should be used for reporting, because a Reopened item may become Executed or may remain Reopened depending on the popup flow

Hi @Fatih_kizil

Try this approach:

1.Use While loop + Element Exists for pop-ups
2.Use Get Text after process to capture final status
3.Store results for reporting
4.Prefer REFramework for better structure

If Solution works for you please mark as Solution

Thanks

thanks for your replies , best regards.