ḥari
2 years agoFrequent Contributor
Scrollbar
Hi team, Is it possible to find scroll bar for a particular element is visible or not. I have used testobj. vScroll; but it throws unable to find error.
For example, Notepad has the following
VScrollBar, no HScrollBar
VScrollBar, disabled HScrollBar
VScrollBar and HScrollBar
HScrollBar will return Pos: 0, Min:0 Max: 0 for either disabled or no scroll bar. So this can be treated as disabled or no scroll bar for your test. There's no other property value for this scroll bar.