Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to execute the two vb scripts Consecutively
#3
Solved: 11 Years, 4 Months, 2 Weeks ago
you can use 'Wscript' to call your vbs file
see the example below
Code:
Dim oShell
Set oShell = CreateObject("Wscript.Shell")
oShell.run "C:\test1.vbs", , True
oShell.run "C:\test2.vbs", , True
specifying waitonreturn argument for Run as true will enable the script to wait until your first vbs executes.

Reply


Messages In This Thread
RE: How to execute the two vb scripts Consecutively - by Saket - 10-14-2009, 10:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to execute Remote Agent witout ALM? CharlieMadrid 0 1,245 05-12-2020, 01:26 PM
Last Post: CharlieMadrid
  How to execute a UFT script when computer is in locked state akilamurugesh 4 13,117 08-25-2014, 07:41 PM
Last Post: akilamurugesh
  Execute the QTp scripts when i lock my computer balreddy 4 21,990 10-19-2012, 04:45 AM
Last Post: sujoysen1
  How to execute batch file from command prompt using QTP sachindhote 2 18,457 08-13-2012, 04:47 PM
Last Post: sneha2409
  4GB RAM= number of QTP scripts can execute chaithanya84 1 2,685 07-23-2012, 06:08 PM
Last Post: Tarik Sheth

Forum Jump:


Users browsing this thread: 3 Guest(s)