Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fireevent ondblclick hangs QTP until window is closed
#1
Not Solved
Hi,

I'm automating a Web application and I have a problem with the Fireevent ondblclick command in QTP 10.0.

The code line is this:

Code:
Browser("CommonSaaS").Window("Offer Selection -- Webpage").Page("Offer Selection").WebTable("html id:= DataTable_tblProduct").Object.rows(row_count-1).cells(1).Fireevent "ondblclick"

When executing the double click is done by QTP and a window opens as it should. But QTP keeps hanging on that line until I close the window manually.

I'm guessing it is because of the window somehow. The window seems to be in focus in Explorer.

Have anyone any idea why ?
Reply
#2
Not Solved
try to use wait. other way is use send key method to send tab or Escape key so popup will be closed.
Reply
#3
Not Solved
Hello babu123,

Thank you for a fast reply.

Unfortunately a wait statement is not what I need. I need QTP to proceed execution without the window being closed. QTP is not timing out or failing with an error message. It just keeps waiting until I close the window manually.

I cannot figure out why.

A screenshot of the window is attached.


Attached Files Image(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14.03 getting closed automatically after invoking UFT 14.03 khwaja.abbas@gmail.com 1 1,713 07-24-2018, 02:44 PM
Last Post: Ankur
  UFT 12 hangs on a line (.NET forms) sara- 0 2,800 10-22-2014, 03:51 PM
Last Post: sara-
  QTP hangs Girish S 0 2,086 03-03-2014, 01:13 PM
Last Post: Girish S
  QTP hangs on handling error window dtamilarasan 1 4,191 06-04-2013, 02:45 PM
Last Post: basanth27
  QTP hangs when application error Windows displays rj_hogan 0 2,967 11-07-2011, 04:01 PM
Last Post: rj_hogan

Forum Jump:


Users browsing this thread: 1 Guest(s)