Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog box error while QTP scripts run from VM Desktop
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
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
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
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
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,899 02-08-2019, 02:12 AM
Last Post: Ankur
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,736 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,722 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  Can't locate items on Win7 Desktop RandomGrin 0 2,099 01-30-2015, 10:55 PM
Last Post: RandomGrin
  HI, i'm having a run time error ,please help? Awzar 0 2,674 01-24-2015, 06:52 AM
Last Post: Awzar

Forum Jump:


Users browsing this thread: 1 Guest(s)