Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a java application which is running in a browser which seems to be invisible to QTP.

I've not automated for a Java application before so I'm not sure what to expect, but I'd expect more than this.

When I use object spy I see one object present (well, three counting the path to the object of interest), Browser(...).Page(...).WinObject("nativeclass:=SunAwtCanvas") which I can do nothing with.

I cannot interact or see any other objects. What do I need to do?

share|improve this question
3  
One of the benefits of commercial testing tools is the support provided by the vendors. I suggest that you raise this with HP. – Bruce McLeod Dec 18 '13 at 22:33

You must use Java Add-in for QTP to recognize the java objects.

share|improve this answer

If it's not working in QTP, check which version of Java you are using. After that check the support QTP gives for different versions. It happened to me once, and I degraded my machine to Java 1.6. So it can be one of the issue!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.