Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VBS to launch QTP 9.2 and invoke script automatically
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
************************************************************************************************************************

'Description:

'

'This example configures QuickTest views and panes for running QuickTest in visible mode.

'************************************************************************************************************************



Code:
Dim qtApp 'As QuickTest.Application ' Declare the Application object variable

Set qtApp = CreateObject("QuickTest.Application") ' Create the Application object

qtApp.Launch ' Start QuickTest





qtApp.ActivateView "ExpertView" ' Display the Expert View

qtApp.ShowPaneScreen "ActiveScreen", True ' Display the Active Screen pane

qtApp.ShowPaneScreen "DataTable", False ' Hide the Data Table pane

qtApp.ShowPaneScreen "DebugViewer", True ' Display the Debug Viewer pane

qtApp.WindowState = "Maximized" ' Maximize the QuickTest window

qtApp.Visible = True ' Make the QuickTest window visible



Set qtApp = Nothing ' Release the Application object





--------------------------------------------------------------------------------
Reply


Messages In This Thread
RE: VBS to launch QTP 9.2 and invoke script automatically - by lucky.qa - 04-10-2008, 02:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Test Set Run automatically Santhosh311 0 2,295 04-14-2016, 06:06 PM
Last Post: Santhosh311
  How to invoke browser without using OR alpha1 4 3,221 07-21-2015, 05:40 PM
Last Post: alpha1
  .vbs script error when trying to insert a value in a sapguitable frebuffi 5 6,499 07-18-2013, 03:04 PM
Last Post: Staff
  VBS to DLL to QTP ssco77 5 11,879 12-16-2011, 01:21 PM
Last Post: prashants1
  What is the best way to launch the browser soumya 4 2,907 12-12-2011, 12:20 PM
Last Post: v.swaminathan

Forum Jump:


Users browsing this thread: 1 Guest(s)