Dialog box error while QTP scripts run from VM Desktop - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Dialog box error while QTP scripts run from VM Desktop (/Thread-Dialog-box-error-while-QTP-scripts-run-from-VM-Desktop) |
Dialog box error while QTP scripts run from VM Desktop - rahuldps - 06-09-2011 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 RE: Dialog box error while QTP scripts run from VM Desktop - vinod123 - 11-14-2011 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 RE: Dialog box error while QTP scripts run from VM Desktop - ravi.gajul - 11-14-2011 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. |