PressNKeys Method
UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in by default.
If you need to use and extend the Silverlight Add-in, contact OpenText Support.
Simulates pressing a key the specified number of times.
Visual Basic (Declaration) | |
---|---|
Overridable Sub PressNKeys( _ ByVal ScanCode As Byte, _ ByVal N As Integer _ ) |
Parameters
- ScanCode
- Key's scan code.
- N
- The number of times to press the key.