I need to reset the Zoom level to 100% before loading a web page.
I am unable to pass keys into this particular page, so the Cntl-* trick will not work.
is there anything else?
but why is zoom enabled in the first place?
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
And what do you mean you can't pass keys to the page? Sendkeys should work since it emulates a keyboard press not a browser event.
Open Internet Options -> Advanced Tab -> Accessibility -> Select "Reset Zoom level to 100% for new windows and tabs".
what is the zoom level the page opens up?. Is this as per the requirement, as this opens up in zoom level > 100.??
Winds of Change
<font class="small">Code:</font><hr /><pre>
document.body.style.zoom = 1
If this not working, then try to change the registry value before opening the browser each time. Refer http://forums.guru3d.com/showthread.php?t=338442
Thank/Like to help others if my input helped you !!!
I am speaking for myself, not for my employer nor any one. Automation Ecstasy