yes, you need to find GetROProperty abs_x and abs_y
and use
abs_x + obj.GetROProperty("width")/2
abs_y + obj.GetROProperty("hieght")/2
On Mon, Aug 22, 2011 at 4:39 PM, Parke Kuntz <[email protected]> wrote:
> The script has the following lines:
>
> iX = 10 'Change this to your relevant X coordinate
>
> iY = 10 'Change this to your relevant Y coordinate
>
>
> You need to state the coordinates.
>
>
> Parke
>
>
>
>
> On Mon, Aug 22, 2011 at 5:56 AM, Blessy <[email protected]> wrote:
>
>> Hi,
>> Thanks.But I need it for a website.in the link u mentioned has windows
>> script.please let me know how to so it for website.
>>
>>
>>
>>
>> On Aug 21, 2011, at 1:56 AM, Roman Zilber <[email protected]> wrote:
>>
>> <http://www.advancedqtp.com/2008/05/get-pixel-color/>
>> http://www.advancedqtp.com/2008/05/get-pixel-color/
>>
>> On Sat, Aug 20, 2011 at 9:04 AM, Blessy < <[email protected]>
>> [email protected]> wrote:
>>
>>>
>>> I need to verify an alert image color in qtp.The alert image Is present
>>> in the alert column of webtable.please let me know how can it be verified
>>> without the use of checkpoints.
>>>
>>> Thanks,
>>> Deepti
>>>
>>> --
>>> 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]>
>>> [email protected]
>>> To unsubscribe from this group, send email to
>>> <mercuryqtp%[email protected]>
>>> [email protected]
>>> For more options, visit this group at
>>> <http://groups.google.com/group/MercuryQTP?hl=en>
>>> 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]>
>> [email protected]
>> To unsubscribe from this group, send email to
>> <[email protected]>
>> [email protected]
>> For more options, visit this group at
>> <http://groups.google.com/group/MercuryQTP?hl=en>
>> 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
>>
>
>
>
> --
> Parke
> Cell: 770-842-0121
>
> --
> 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
"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