Automation failure due to random pop-up

Hi Everyone,

I have developed workflow for solving a problem, that is with 10 different set of ui action. So while performing actions step by step 2 different type of pop-up come but it is not fixed that it will come after that action. What will be the best approach to tackle it.

Thanks

@Codeverse

Use check app state activity to handle that pop-ups.

Hi @Codeverse

Try using Close Pop Up activity to handle random Pop ups.

image

Hope it helps!!

@rlgandu thanks for reply but I have to place this check app state activity after each action like if pop-up it there resolve pop-up then action if not then procced normal.

@Parvathy That’s new. I can use it.

Hi @Codeverse

The Popup window was coming after the execution of any particular activity or it comes any time in the executing the 10 Ui activities as mentioned in your question.

Could you be more specific.

@Codeverse

The pop up window appearing randomly in your webpage or it will appear after a specific activity.

Hi @mkankatala and @rlgandu Pop-up window appearing randomly

Okay @Codeverse

The Popup window is coming any time while executing the any activity in the 10 Ui activities right.

Then you can use the Parllel activity, Parllel activity has to two blocks left side and right side.
→ In the Left side block insert the 10 Ui activities you are doing actions.
→ In the Right side block insert the Check app state activity to handle the popups.

It works like if any popup will come when executing any activity, the activity fails that it not found Ui element, then the bot will go to right block and handle the popups with check app state activity, after handling popups in the right side block the bot will again go to left side block and execute the remaining Ui activities.

Check the below sequence for better understanding,

Note: Parllel activity when drag and drop it shows empty drag and drop two sequence side by side and name it as Left side sequence and right side sequence. Then it will be more easier to recognize it.

Hope it helps!!

@mkankatala Thanks for making me understanding. I’m trying will let you know about result

1 Like