I use CaptureBitmap method to save images from IE to local then treat them with JAVA. I test my code on 2 machines in my office, it does well. But then, I copy it onto another one, the image captured by QTP is different, I don't know why, but the sizes are different while the dimensions stay the same...

So did anyone ever come into this issue?

Thanks in advance.

有帮助吗?

解决方案

Finally, I got the reason, sorry for forgetting to update.

I unchecked the option "Display the intranet sites in compatibilty display mode" (I don't know if it's named like this in english, cause my system is in French) in the tab "Tools" then option "Parameters of Compatibilty Display" in the drop-down menu.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top