I have a VB.NET application with a dialog. With HP QTP I've recorded the following script:
1. Dialog("CDRCreator1.1").WinButton("OK").Click
2. SwfWindow("CDRCreator").SwfButton("Select System").Click
3. SwfWindow("CDRCreator").SwfWindow("Dialog1").SwfComboBox("ComboBox1").Select "VALUE01"
4. SwfWindow("CDRCreator").SwfWindow("Dialog1").SwfButton("OK").Click
5. SwfWindow("CDRCreator").Close
The script clicks on a button provoking the opening of a dialog box (point 2). All the operations (3. and 4.) go correctly on, by the dialog box. But then QTP stucks because seemes to return on step 3. for some reason, but the dialog box is not present yet.
Have you got any suggestion on haw solve it? Thank you.