Posts: 3
Threads: 1
Joined: Jan 2008
Reputation:
0
06-27-2008, 02:30 AM
Hi Ankur,
We have a scenario where it should be double clicked on a particular item in the list and it will open respective Page. We are able to write a script for this in IE where as in Firefox we are getting an error. The item in the list is getting recognised as 'WebElement'. Do you have a solution for this? Let me know if u need any additional information.
Thanks in Advance,
Yarley
Posts: 38
Threads: 4
Joined: Jul 2008
Reputation:
0
07-02-2008, 01:50 PM
Have you tried .dblclick with that object?
Posts: 3
Threads: 1
Joined: Jan 2008
Reputation:
0
07-02-2008, 08:52 PM
Yes..I have tried that..But its not working in Mozilla where as its working in IE
Posts: 1,105
Threads: 18
Joined: Jan 2008
Reputation:
8
07-03-2008, 01:24 PM
Is it possible for you to simulate this on a publicly accessible site? If yes, record the script on that site and pass on here, I will check for the problem.
Posts: 38
Threads: 4
Joined: Jul 2008
Reputation:
0
07-03-2008, 02:21 PM
Do a object spy for the object you need to double click and in the object spy window check whether the method dblclick exists or anyother methods available for doing a dbl click
Posts: 3
Threads: 1
Joined: Jun 2011
Reputation:
0
06-23-2011, 01:15 AM
I am facing the same issue. Could you please help?
I have tried tools -> web event Recording config .... doesn't work.
Posts: 3
Threads: 1
Joined: Jan 2008
Reputation:
0
06-23-2011, 02:25 AM
You need to change the Replay Mode from Event to Mouse before the ondblclick statement and switch it back to Event mode after the statement.
Please refer to following link for more details:
qtp-qaautomation.blogspot.com/2009/01/how-to-execute-double-click-operation.html
Posts: 3
Threads: 1
Joined: Jun 2011
Reputation:
0
06-23-2011, 02:39 AM
That works! Just before reading your reply, I tried using Virtaul object. Thats works well too!
I created VO and then recorded the required Image. Then the image gets recorded as the created VO with Dblclick property.
Thank you, yarley!