Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling VBScript Dialog box
#1
Solved: 10 Years, 9 Months ago
Hi

Is there a way to handle VbScript dialog boxes automatically in QTP using the Vbscript itself instead of manual intervention. For Ex:The msgbox in the middle of a script will interrupt the script execution until we press "OK". Is there a way to script the pressing of OK button in QTP itself so that we can avoid manual intervention

Regards
Srinivas
Reply
#2
Solved: 10 Years, 9 Months ago
You can press OK by writing programmatic statements.
Or, you can use Recovery Scenarios.
Reply
#3
Solved: 10 Years, 9 Months ago
Hi, Srinivas
Maybe this post will help you (read comments)
Reply
#4
Solved: 10 Years, 9 Months ago
I think you can use print statement . for example
a= 5
print a
wait 2
'msgbox a
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dialog boxes in Firefox 13+ skywalker89 1 3,491 08-28-2012, 09:48 AM
Last Post: souvikghosh_diatm
  Dialog box error while QTP scripts run from VM Desktop rahuldps 2 4,522 11-14-2011, 01:47 PM
Last Post: ravi.gajul
  QTP Not identifying the Java Dialog box Automation_QA 2 6,337 08-31-2010, 07:02 PM
Last Post: Prafulla
  problem with file "save as dialog box" caze 3 10,898 12-10-2009, 11:44 AM
Last Post: caze
  problem with file "save as dialog box" caze 1 1,945 12-10-2009, 10:29 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 2 Guest(s)