| || |
QTP hangs when do object spy on SPA sub window
The issue is when we are extracting a file from SAP the file needs to be saved in the local desktop . So there is a SAP Window Pop Up "Save Template to" which is not recognized by QTP with SAP Addin. QTP is showing pop msg.
Added screen shots for reference.
I raised ticket to HP service desk, they given solution that we need to disable the SAP add-in and to do object spy. I tried like that and its recognizing as windows object. My concern is that if I disable SAP add-in then how could I run script for SAP application.
Kindly suggest me a solution how to handle this.
Product version: 11.00
Product build: 1018
Microsoft Windows 7 Service Pack 1 (Build 7601)
updated query message
Originally Posted by grk.ravi
If the spy does not work with it, have you tried adding the object to the OR, perhaps recording and see what it gives back.
I'm hoping that HP recommended temporarily removing the SAP add on for debugging your issue.
I had recorded the script with SAP Add-in and without SAP Add-in. When I removed SAP Add-in and recorded the sub window it is recognized as standard windows object. So I did that, but when i started execution, the script gets stopped at the line where click operation is, means after click operation the execution is not proceeding further.
Observed that when the sub window appears the execution gets paused. I been waited for 10 mins to see that the script proceeds further, but not.
At the moment when I closed the "sub window", the execution started.
You are right, the HP team suggested to record in standard mode. They are also telling that there is limitation of QTP SAP add-in.
Do you have any other suggestion on this ...??