Window Object does not react without RDP - 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 Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions) +--- Thread: Window Object does not react without RDP (/Thread-Window-Object-does-not-react-without-RDP) |
Window Object does not react without RDP - I-Love-QTP_NOT - 02-02-2012 Hello , im Using QTP 9,5 and try to generate automated scripts for an Application The first thing i realized is, that the application is only recognized als Window Object, so i have to use positions x,y to move in the application. This is not good but does not making any trouble. The terrible thing is: My Testcase only runs, when i watch via RDP. When i dont watch via RDP, i cant login into my application: Quote:Window("Customer Management").Window("Sign in").Activate[/quote] username and password are declared and initialized variables In my oppinion all looks pretty well so i dont understand why qtp cannot realize this steps while im not watching per RDP. My suggestion was that the method type can only be performed when there is a active keyboard (O.o). Any suggestions ?=) Regards Dennis RE: Window Object does not react without RDP - davey2582 - 02-03-2012 Hi Dennis, What language is your application coded in? Maybe you need to utilise an add-in in order for QTP to recognise objects properly? For example the Java add-in if your application GUI is coded in java swing. I'm not sure I understand what you mean when you say you have to watch via RDP. Do you mean that if you try and execute the script while the application is just running on your desktop it doesn't work, and you have to RDP to a different machine and run the application and then execute the script from there? Was the script recorded via an RDP window? I think the coordinates are relative, so you would need the window resized to the same each time the script was run. All of this would depend on: - where the application is running (local or RDP) - where QTP is executing from (local or RDP) - the environment in which the script was recorded (e.g. on an application locally, or on an application via an RDP screen) |