Hi,
We  had a similar issue when we tried to execute the scripts on Windows 7
machine, which were scripted with Windows XP.
The GetVisibleText Method in Windows 7 always returned some junk
characters. This was mainly used for sync purpose and was defined in a
function and this function was of no use in Windows 7 with Putty

So I had to come up with a new mechanism for this.
Putty had a Logging mechanism which when enabled will write all session
output to a file in Windows Box from where it is opened.
I used the File System Object mechanism to read the contents of this file
and run the next script in Puttty accordingly
Hope I was able to communicate this clearly
Please let me know if you are not clear with my explanation.

Regards,
Gautham Maroli

On Thu, Mar 7, 2013 at 4:13 PM, <[email protected]> wrote:

> Hi ,
>
> Can one help us out on the below problem :
>
> We are using the QTP, Putty,Windows 7 environment to automate.
>
> Problem :
>
> I am not using any TE add-in.
> Problem here is while we execute:
> msgbox(Window("PuTTy").GetVisibleText().
>
> The QTP is not able to read the text from the putty, and the QTP crashes .
>
> i have tried below solutions that i got from the net:
> 1)Tried by  changing font size and style of putty.
> 2)Tried with OCR Mechanism in QTP
>
> Did any one face the same issue before in QTP, windows 7 and please help
> us 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.
>
>
>

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


Reply via email to