Micro Focus QTP (UFT) Forums

Full Version: Dialog box error while QTP scripts run from VM Desktop
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am executing my QTP scripts from VM Desktop and I usually run the regression at end of day and I check status in morning. Maximum scripts are having status as "No Run" and around 10-12 IE windows are opened.

I did R & D on that and I came to know that, that happens just because of Dialog Box. My application is having Dialog boxes and the script get stuck at that dialog box.(especially when the VM is in minimized or in locked state).

Can you please tell me or suggest me how should I handle with this situation.
Its urgent.

Thanks in Advance
Rahul Sharma
if it contains ok button just use this line or else send me the screenshot of that dialog so i can send u the script for dialog

Code:
Browser("micclass:=Browser").Dialog("micclass:=Dialog").WinButton("text:=OK").Click


With Regards

Thomas Vinod
If you know when and where it the dialogue box occurs handle it as said by vinod.
Else create a recovery scenario to handle the same.