Forum Discussion
For IE, it's possible to use the native scrollIntoView method to scroll page to the needed object:
- AlexKaras
Champion Level 3
> scrollIntoView
Actually, scrollIntoView works correctly for any browser on Windows OS (verified with IE, FF, Chrome and Safari).
- Ryan_MoranValued Contributor
While ScrollIntoView will not throw an error, and will scroll the appropriate tab & object into view it will not switch tabs for you.
You will still need to switch to the appropriate tab to perform other actions on the object.
To avoid subsequent failures in your tests make sure you are on the correct tab.
- Ryan_MoranValued Contributor
Alias.Browser.Page("*").Keys("^[End]")
- gvkr1985Occasional Contributor
The action may be performed incorrectly, because the control is not visible. error is showing in the results
- Ryan_MoranValued Contributor
Is your mapped object actually visible?
Does this work for you on this page?
Sys.Browser("chrome").Page("*community.smartbear.com*").Keys("^[End]")
What browser are you using?
Do you have multiple tabs open?