Hi
you can try with this :
Browser("IE").Page("Gas Mileage Calculator").Image("Calculate").Click
Browser("IE").Page("Gas Mileage
Calculator").Image("Calculate").fireevent ondblclick
On 2/20/13, vasantha marimuthu <[email protected]> wrote:
> Hi,
>
> am new to QTP, i have an click event for a image,while clicking on this it
> should calculate something,it says that image exist, but the click event is
>
> not working.
>
> can anyone help me plz.
>
> Browser("IE").Page("Gas Mileage Calculator").Image("Calculate").Click
>
> Thanks in Advance,
> Vasantha
>
>
>
> On Wednesday, April 23, 2008 8:24:26 AM UTC-4, Jit wrote:
>
>> Hello Friends,
>>
>> Thanks for all your support specially Chary,
>>
>> Chary, your 1st solution is working fine.
>>
>> Thanks again
>>
>> Jitender Kumar
>>
>>
>>
>> 2008/4/23 srinivasa chari <[email protected] <javascript:>>:
>>
>>> Hi jitender,
>>> please try this (and correct me if i am wrong).
>>> solution 1: Go to Tools-->Web event recording configuration-->a window
>>> will be opened-->click on custom settings-->another window will be
>>> opened-->select Image in the list of web objects(in left pane)-->click on
>>>
>>> event-->click on Add-->click on dblclick -->click ok button
>>> solution 2: create a virtual object for image as virtual button or
>>> virtual object so that double click can be performed.(By nature dblclick
>>> is
>>> supported by the Activex,vb,standard windows only).
>>>
>>> i feel solution 1 is the best
>>>
>>> Regards
>>> chary
>>>
>>>
>>>
>>
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
--
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
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.