Hi Naveen!
thnx 4 ur concern:)
I have put it on tarun's blog also ;they gave me a solution but it's for
window only..i am not able to make it work on web..ok buddy lets try it out
and if it'l work then pass the solution to me :))) waiting...
*****************
l = -1
t = -1
r = -1
b = -1
result = Dialog("Dialog").WinObject("Date").GetTextLocation("2009", l, t, r,
b) ' 6 th parameter is optional for MatchWholeWordOnly
If result Then
MsgBox "Text found. Coordinates:" & l & "," & t & "," & r & "," & b
x = (l+r) / 2
y = (t+b) / 2
Set dr = CreateObject("Mercury.DeviceReplay")
dr.MouseClick x, y, 0
msgbox "Clicked "
Else
msgbox " Text Not found "
End If
*****************
Thanks
Bibek
On Sat, Aug 22, 2009 at 9:58 PM, naveen naveen11
<[email protected]>wrote:
> Hi Bibek,
>
> Whether your ussue resolved if not please post to Tarun Lalwani in his site
> he will give you prompt solution.But as u get solution please to me also i
> am also intrested in this issue.
>
> Regards
> Naveen
>
>
>
> On 8/22/09, Bibek Khatiwara <[email protected]> wrote:
>>
>> Thanks Naveen for your wonderful support..
>> i'll revert back to you..
>> Regards
>> Khateee
>>
>>
>> On Fri, Aug 21, 2009 at 10:28 PM, naveen naveen11 <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I will still vouch for devise replay.I am am giving you the idea take the
>>> ASCII value of each no,i am not getting the idea how to code but please try
>>> by googling.Let me know if it works.I feel the control can only be handled
>>> by *Send Keys.*
>>>
>>> Regards
>>> Naveen Shrivastava
>>>
>>>
>>> On 8/21/09, Bibek Khatiwara <[email protected]> wrote:
>>>
>>>> Hi Naveen & sreedhar,
>>>> *I have attached the screenshot..plz check* (I dont have java plug in
>>>> installed presently)
>>>>
>>>>
>>>> On Thu, Aug 20, 2009 at 8:23 PM, naveen naveen11 <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Khateee,
>>>>>
>>>>> Could you please elaborate about your intention.Just as i understood
>>>>> from ur post is that its virtual calender which changes on every action.My
>>>>> suggestion is to try Devise Replay or use program using VB Script but i am
>>>>> not sure.Please send me the detail what is your action.
>>>>>
>>>>> Regards
>>>>> Naveen
>>>>> ================================================
>>>>>
>>>>>
>>>>> On 8/20/09, Khateee <[email protected]> wrote:
>>>>>
>>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I am automating using QTP 9.5 and the application has one Calendar pop
>>>>>> up on one form . When I try to record a date from the calendars , I
>>>>>> find that QTP only records the Click action and not the actual value
>>>>>> of the date selected .
>>>>>>
>>>>>> Is there a way to solve this problem .Your kind help would be much
>>>>>> appreciated..
>>>>>>
>>>>>> Thank you
>>>>>> Khateee
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Khateee
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Regards,
>> Bibek
>>
>> Hey! Catch me on:
>> http://khateee.blogspot.com/
>> >>
>>
--
Regards,
Bibek
Hey! Catch me on:
http://khateee.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---