The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITestActionExecutor::MoveScrollWheel Method (UITechnologyElement^, Int32, ModifierKeys)
Scroll the mouse wheel.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: virtual void MoveScrollWheel( UITechnologyElement^ control, int wheelMoveCount, ModifierKeys modifierKeys ) abstract
Parameters
- control
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^
Control to scroll.
- wheelMoveCount
-
Type:
System::Int32
Number of mouse wheel scrolls.
- modifierKeys
-
Type:
System.Windows.Input::ModifierKeys
The modifiers key pressed while scrolling.
The direction of wheel is decided by by the sign of wheelMoveCount. If it is +ve then forward otherwise backward direction.
Show: