Micro Focus QTP (UFT) Forums
Putty automation with QTP9.5 Issues - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Putty automation with QTP9.5 Issues (/Thread-Putty-automation-with-QTP9-5-Issues)



Putty automation with QTP9.5 Issues - rjobs - 09-19-2008

Hi,
I am trying to Automate an application with the back-end on solaris and forntend uses Putty. when I record it shows like a Window application and it doesn't (recognize)record any of the field ,it just records "type method,example
window("name").type"value" .
I have tried to use TE addin and configure the Putty screen to custom TE( as putty is not listed in built in TE's in QTP 9.5).
even after using TE addin the recorded statement look like
TEWindow("windowname").TeTextScreen("windowname").type""
basically both are recording same on the window.
my Goal is to enter data in window and need to validate what was entered on the screen .
i have tried gettext in TE window but it encountered " object doesn't support the method" error.

Is there any way which can i can capture the field values and validate.
(because one of process is to capture an account number it generates after transaction , it will be a input to get another data.)


RE: Putty automation with QTP9.5 Issues - Karthikgupta - 09-21-2008

Hi there,
Y dont you try getvisibletext property? and validate your input by simple string search?

With Regards,
Karthik


RE: Putty automation with QTP9.5 Issues - rjobs - 09-23-2008

Hi Karthik,

I have tried ,but enocuntered a message can't find specified row and cols.

Right now I am using output value text check area treating as windows application and able to get some text. I don't Know is it the correct way.

anyways thanks for your response.