Using browser collection, we can achieve this. Hope this helps for.
Recovery ScenariosWhile executing the QTP scripts, we might get some unexpected errors. In order to recover the tests and continue executing the rest of the script from these unexpected errors, Recovery Scenarios are used. The Recovery Scenario Manager can be accessed by Navigating to 'Resources' → Recovery Scenario Manager as shown below − Steps to Create Recovery ScenarioStep 1 − Click 'New' Recovery Scenario button; the Recovery Scenario Wizard opens as shown below −Step 2 − Choose the Trigger Event. It corresponds to event, which can arise in any of the following four events −. Pop-Up Window.
![Uft page activate email Uft page activate email](/uploads/1/2/5/5/125598744/903880503.jpg)
Object State. Test Run Error. Application CrashStep 3 − The Recovery Operations Window opens.
Re: QTP code to get the currently active browser or web page url during a test run? Please put a Checkpoint on the Page that is stopping the Flow, you can use standard Checkpoint on the Page that's obstructing the flow.