Post Reply 
 
Thread Rating:
  • 2 Votes - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog box error while QTP scripts run from VM Desktop
06-09-2011, 12:49 PM
Post: #1
Dialog box error while QTP scripts run from VM Desktop

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
Find all posts by this user
Quote this message in a reply
11-14-2011, 10:35 AM
Post: #2
RE: Dialog box error while QTP scripts run from VM Desktop
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

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


With Regards

Thomas Vinod
Find all posts by this user
Quote this message in a reply
11-14-2011, 01:47 PM
Post: #3
RE: Dialog box error while QTP scripts run from VM Desktop
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  objbrowser.back throws general run error Wiz83 7 196 05-11-2012 06:11 PM
Last Post: sshukla12
  Getting General Run Error suresh vasu 3 438 01-05-2012 05:11 PM
Last Post: suresh vasu
  how to run QTP scripts from command line prompt? pra6201 1 854 01-03-2012 08:46 PM
Last Post: ravi.gajul
  "How to Count Desktop Icons" suresz449 5 723 11-23-2011 09:53 AM
Last Post: suresz449
  QTP stops in the middle of Batch run with not able to allocate memory error Ashwini P R 1 450 11-14-2011 10:09 AM
Last Post: vinod123

Forum Jump:


User(s) browsing this thread: 1 Guest(s)