Thanks Ganesh, Now my code is working well..
With Best Regards
John Mathew
Mobile : + 91 9447915392
On Mon, Oct 6, 2008 at 7:15 PM, Ganesh muralidharan <[EMAIL PROTECTED]>wrote:
> Window("text:=Calculator").Activate
> Window("text:=Calculator").WinButton("text:=6").Click
> Window("text:=Calculator").WinButton("text:=\/").Click
> Window("text:=Calculator").WinButton("text:=3").Click
> Window("text:=Calculator").WinButton("text:=\/").Click
>
> rDiv=Window("text:=Calculator").WinEdit("nativeclass:=Edit").GetRoProperty("text")
> msgbox "Result : "&rDiv
>
> On Mon, Oct 6, 2008 at 7:09 PM, JOHN MATHEW <[EMAIL PROTECTED]> wrote:
>
>> Hi Friends,
>> I want click on the calculator "\" Button for division
>>
>> Window("text:=Calculator").Activate
>> Window("text:=Calculator").WinButton("text:=6").Click
>> Window("text:=Calculator").WinButton("text:=\").Click
>> Window("text:=Calculator").WinButton("text:=3").Click
>> Window("text:=Calculator").WinButton("text:=\=").Click
>>
>> rDiv=Window("text:=Calculator").WinEdit("nativeclass:=Edit").GetRoProperty("text")
>> msgbox "Result"&rDiv
>> Line No: 3 not working
>>
>> With Best Regards
>> John Mathew
>> Mobile : + 91 9447915392
>>
>>
>>
>
>
> --
> Ganesh Muralidharan
> Wipro Technologies
> Mob. : 9341023574
>
> 'God Never Forgets'
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---