Problem with Java button - 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: Problem with Java button (/Thread-Problem-with-Java-button) |
Problem with Java button - zaira_p - 07-21-2009 Hello everyone, I have a Java application and normally my QTP scripts run fine, but recently I have the problem that some buttons are not doing click event. I am using QTP 10.0 with Java Addin. The code I am using is: Code: JavaWindow("X").JavaApplet("y").JavaButton("Confirm").Click Also these buttons can be executed by pressing functions keys like F3, and I also switched code to PressKey micF3 but nothing is happening. On my results viewer I can see that QTP is doing click on the correct button and there is no error. Is like application have not reconized the instruction and then it continues with the following steps. Can it be a bug from QTP java addin? RE: Problem with Java button - balakrish - 07-21-2009 Hi zaira, using the enter keyword ,try this Code: JavaWindow("X").JavaApplet("y").JavaButton("Confirm").Enter Regards Bala RE: Problem with Java button - zaira_p - 07-24-2009 Thanks balakrish, but I have tried and did not work. I guess is something from the java application. |