Micro Focus QTP (UFT) Forums
Doble click doubts....... - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Doble click doubts....... (/Thread-Doble-click-doubts)



Doble click doubts....... - nileshpatil2521987 - 07-29-2010

Double click:

Hi,

I have a doubt regarding doble clicking the WpfObject in my application.
I have tried with following script line:

Code:
WpfWindow("application").WpfObject("150/150").DblClick
Also tried giving x and y co-ordinates but still its not working..
Also tried creating virtual object..bt still its not working...
Object gets highlighted in application correctly..
When i try to highlight the object with WpfObject("150/150"), it gets hilighted..bt nt able to doubleclick that object..
and this object is under WpfWindow parent...

Please help...

Thanks in advance..

Thanks and regards,
Nilesh Patil


RE: Doble click doubts....... - supputuri - 07-29-2010

HI Nilesh,

Try to dblclick with method as FireEvent.
object.FireEvent "dblclick"