Micro Focus QTP (UFT) Forums

Full Version: problem with setting up recovery scenario.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am testing a flex application and get an error popup sometimes.
the title is 'Adobe Flash Player 10' and the text contains a big paragraph describing the error.
I am trying to set up a recovery scenario to press enter when this popup comes up. the popup has 2 buttons 'Dismiss All' and 'Continue'
i have 2 issues:
1. I used the hand pointer in the recov scenario manager to get the popup title. But it doesnt work when i run the test. So I want to set up a regular expression. i tried *Adobe* but it didnt work either.
2. For the actions to be taken, when i use the hand tool to point to continue button it registers as '&Continue'. so i just selected 'click default/enter' option. this doesnt work either.

please help me if anyone has any experience with dealing with such a popup. thanks. any help appreciated.
Pranjal -
First i appreciate you for writing up a detailed issue. This helps anyone wanting to help.

Okay here are few which you can try,

1. Regular expression it this way, .*Adobe.*
2. For the sake of debugging try to manually activate the recovery scenario as, Recovery.Activate(ScenarioName)
3. If none of the above work, you will need to handle the dialog using the code. you can write a function and call it whenever the dialog pops up.

Let me know the results.

-basanth