Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to record qtp from vb.NET
#2
Try using this:
Code:
Set qtpApp = CreateObject("QuickTest.Application") qtpApp.Launch() qtpApp.Visible = False 'qtpApp.WindowState = "Minimized" qtpApp.ActivateView("ExpertView") qtpApp.Visible = False ' qtpApp.New() WScript.Sleep(1000) qtpApp.ActivateView("ExpertView") 'qtApp.Visible = True Set WshShell = CreateObject("Wscript.Shell") WScript.Sleep(10000) qtpApp.Visible = True qtpApp.WindowState = "Maximized" WScript.Sleep(500) WshShell.SendKeys("{F3}") WScript.Sleep(100) WshShell.SendKeys("{enter}") qtpApp.WindowState = "Minimized" qtpApp.Visible = False WScript.Sleep(800)
Reply


Messages In This Thread
RE: Not able to record qtp from vb.NET - by parminderdhiman84 - 10-21-2011, 02:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP 11.0 does not record web application shipu 6 8,825 08-03-2014, 01:47 AM
Last Post: riverdiego
  QTP does not record anything on a page developed using AJAX shayk1985 2 3,060 05-21-2014, 04:56 AM
Last Post: shayk1985
  Handling .NET framework menu in webpage using QTP 10 vishnu1067 0 2,884 05-15-2014, 05:30 PM
Last Post: vishnu1067
  QTP 9.0 supports WPF based .NET desktop application. nagarajkv 1 3,302 02-27-2014, 03:48 PM
Last Post: hiregoudar
  QTP Automation testing steps for .net web applications? Ramadas 0 3,209 10-30-2013, 12:54 PM
Last Post: Ramadas

Forum Jump:


Users browsing this thread: 1 Guest(s)