I have an issue with the Use Application/Browser activity. I have placed the activity in Try Catch using the activities the Send Hotkeys in the Try and Click in the Finally. This is because there is a popup message that the bot will have to click on OK to continue but sometimes, it is not able to click on the OK and faults so I used the Send Hotkeys and the Click so that if one fails, the other would work.
Now the problem is that, I am testing the click and so I have manually opened the URL to the point that the popup to click OK is showing but sometimes instead of it clicking on the OK popup, it opens a new browser. Can I prevent it from opening a new browser because it opens a new one, it makes the bot fault.
You should use a Use Application/Browser activity with property Open set to IfNotOpen.
Then use a Check App State activity to check for (and handle) the pop-up that might occur.