| || |
Java losing focus at runtime
When I launch QTP 9.5 with the Java add-in and the application through IE I am able to spy on the objects and can see edit boxes, lists, check boxes etc
However as soon as I hit the run button the focus is lost and the script hangs in a 'running' state and can't see the objects.
Could anybody help please?
Re: Java losing focus at runtime
I have faced similar issue with window based application. I was using dual monitors and QTP and application was on separate monitor which was the issue. This issue was resolved when using only one monitor.. so please try that ..
2. how did you record the script? are you using OR? may be your objects are not getting identified during run time so you may need to think about different alternative like DP
3. If you just simply loosing focus than insert step like
4. Try similar things on different machine .. and if it works there than you may have issue with QTP installation or java version; in that case you have to re install or correct java version
5. Some time deleting some temp files and restarting machine works magic..
Good luck.. and let us know..