Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cannot use the type method on object and submit is not working
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
I've never used the Submit sub on a WebEdit. Isn't there a submit button somewhere on the page that you can click? If not then you can send the "enter" key to the browser. The Type sub doesn't work on web controls. You have to get the Window object of the browser to use Type:

Code:
Window("hwnd:=" & Browser("web").GetROProperty("hwnd")).Activate
Window("hwnd:=" & Browser("web").GetROProperty("hwnd")).Type micReturn
Reply


Messages In This Thread
RE: cannot use the type method on object and submit is not working - by cdesserich - 01-14-2011, 11:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 3,402 05-01-2018, 06:46 PM
Last Post: zunebuggy
  How to import .xlsx file type to QTP qtped 3 6,662 03-27-2014, 01:33 PM
Last Post: Ankur
  Object doesn't support this property or method: 'webedit' Divya Roopa 3 10,004 03-11-2014, 07:26 AM
Last Post: basanth27
  type mismatch error in QTP QAlearningQTP 1 7,122 02-04-2014, 08:14 AM
Last Post: QAlearningQTP
  QTP 11.52---Type mismatch error srinijg20 4 4,300 08-26-2013, 03:51 PM
Last Post: GregHicks

Forum Jump:


Users browsing this thread: 1 Guest(s)