use SendKeys

On Wed, Jul 13, 2011 at 10:02 AM, Ganesh muralidharan
<[email protected]>wrote:

> strval=Window("nativeclass:=PuTTY").GetVisibleText
>  If instr(strval,"Is location empty?") Then
> Window("nativeclass:=PuTTY").Type "Y"
>  Window("nativeclass:=PuTTY").Type  micReturn
>  End if
>
> On Wed, Jul 13, 2011 at 5:34 AM, varalakshmi kurri <
> [email protected]> wrote:
>
>> Hello Everyone,
>>
>> I am trying to automate PuTTY using QTP 10.0 without using TE add-in.
>> When I record Putty, the following steps are generated
>> Window("PuTTY").Type "doc571"
>> Window("PuTTY").Type  micReturn
>> Window("PuTTY").Type "XXXXX"
>> Window("PuTTY").Type  micReturn
>> and when i run the above, run was successful but data was not entered
>> into the Putty.
>>
>> And i tried to capture the text using GetTextLocation or
>> GetVisibleText, but no data returned. As i know that GetTextLocation
>> or GetVisibleText can be applied on only objects.
>>
>> Is there any way to run the command in Putty using QTP without help of
>> TE add-in.
>>
>> Please help me on the above.
>>
>> Thanks
>> Varalakshmi
>>
>> --
>> 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
>
>
>
>
> --
> Regards,
>
>
> Ganesh Muralidharan
> '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
>

-- 
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