QTP java add-in problems - 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: QTP java add-in problems (/Thread-QTP-java-add-in-problems) |
QTP java add-in problems - tdevick - 06-11-2011 I have been using QTP for a couple of years for web pages, but now need to use the QTP java add-in for some java controls on our web page that are not correctly identified or operated by QTP web. The object I want to work with is a java calendar object. It has the usual calendar part that is familiar to most people; it also has a horizontal slider to set hour of the day, and another horizontal slider to set minute of the day. I added in the QTP java add-in, made sure it was enabled upon startup, set "Record and run test on any open Java application" in the Record and Run Settings for this test. When I record operations on this java control (clicking on a day cell in the calendar, or moving the hour or minute sliders), it records web calls. For example, I clicked on the calendar cell for June 21, then moved the hours slider and the minutes slider and the code recorded by QTP looks like this: Code: Browser("Automation").Page("Automation").Link("21").Click If I disable the java add-in and record these steps again, the code QTP generates is the same. QTP does not appear to be using the java add-in at all. I'm using QTP 10.0 with several patches applied. |