Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handling VBScript Dialog box
#1
Solved: 11 Years, 3 Months, 3 Weeks 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: 11 Years, 3 Months, 3 Weeks ago
You can press OK by writing programmatic statements.
Or, you can use Recovery Scenarios.
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi, Srinivas
Maybe this post will help you (read comments)
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks 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,723 08-28-2012, 09:48 AM
Last Post: souvikghosh_diatm
  Dialog box error while QTP scripts run from VM Desktop rahuldps 2 4,844 11-14-2011, 01:47 PM
Last Post: ravi.gajul
  QTP Not identifying the Java Dialog box Automation_QA 2 6,595 08-31-2010, 07:02 PM
Last Post: Prafulla
  problem with file "save as dialog box" caze 3 11,142 12-10-2009, 11:44 AM
Last Post: caze
  problem with file "save as dialog box" caze 1 2,044 12-10-2009, 10:29 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)