Kate
8 years agoContributor
ScrollIntoView for desktop app objects
Desktop Windows app. I have a purchase form, and while being filled in, it automatically scrolls down. 'Submit' button is not visible on screen, unless a user scrolls down either via filling the ...
- 8 years ago
Hi,
ScrollIntoView is a browser-specific function that does not exist for desktop applications.
You may try to set input focus to the button (btn.Focus()). Usually this brings the focused control into view and you should be able to click it if this is the case. If not, you may press the spacebar key which should emulate click on the control (btn.Keys(" ")).