Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Execute Vbscript code from QTP
#8
Solved: 11 Years, 4 Months, 4 Weeks ago
try using wscript object as suggested in mentioned thread, put waitonreturn parameter as true to wait QTP until vbs executes
try this
Code:
Dim oShell
Set oShell = CreateObject("Wscript.Shell")
oShell.run "C:\Dashboard.vbs", , True
msgbox "Done"

Reply


Messages In This Thread
RE: Execute Vbscript code from QTP - by Saket - 10-21-2009, 05:50 PM
RE: Execute Vbscript code from QTP - by basanth27 - 10-21-2009, 06:00 PM
RE: Execute Vbscript code from QTP - by Ankur - 10-21-2009, 06:32 PM
RE: Execute Vbscript code from QTP - by Saket - 10-21-2009, 06:45 PM
RE: Execute Vbscript code from QTP - by Saket - 10-22-2009, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code to run all QTP scripts and see all results Pkapoor 11 18,023 08-15-2017, 02:58 AM
Last Post: Ravi
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 12,075 02-18-2017, 04:20 AM
Last Post: alexwhite
  Execute button of putton won't be clicke automaticly in UFT (VB) MarUFT 3 2,689 11-21-2016, 04:22 PM
Last Post: Ankur
  Not able to execute script shanthalaAR 0 2,103 06-27-2015, 03:53 AM
Last Post: shanthalaAR
  How to Execute a testset from QC using OTA framework AutomationTester2011 12 52,715 01-21-2015, 09:22 PM
Last Post: karthik_sanakran

Forum Jump:


Users browsing this thread: 6 Guest(s)