Hi,

1.I can not believe that fireevent "onclick" is not working have u gone
through the hierarchy properly if yes than try alternate approach i.e Replay
Type = 2 u can spy the HTML Code the see the action of that object,but this
rarely works.

2. Close every thing for your system and again start ur QTP and then
application pls. take care no other application is open before QTP.

3.If you have any idea of WSH and Device Replay if yes then try ur hand on
this.

4. Last option is descriptive programming.
5. If all this dosentworks then contact with developer about the input type
and action which he has specified in code,u can go shortcut way by directely
going to developer and the action accordingly u need to set the action using
DOM objects.

6. Try this whether it works  Browser("New Page").Page("New Page"
).WebElement("html tag:=Form").FireEvent "onpropertychange"

7. If all this option does not works then u van discuss with Tarun Lalwani
in "Knowledgeinbox.com"

8.The name of event to trigger. Available events: onchange, onclick,
ondblclick, onblur,

onfocus, onmousedown, onmouseup, onmouseover,

onmouseout, onsubmit, onreset, onpropertychange.

just to show you this are events and x,y coordinates is optional u dont need
write that and i am sure
 any of the above option will work.
   Please reply back if this does not works.

Regards
Naveen Shrivastava

=================================================================


On 12/11/09, Daim Phillips <[email protected]> wrote:
>
> I only need the double click method. The only method I found is DblClick,
> but that requires X and Y coordinates.
>
> Can anyone help.
>
> Set x = Browser("name:=PQR").Page("title:=123")
>
> x.WebElement("innertext:=AB").FireEvent "DblClick"   'does nothing
>
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to