Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
SEO Metadata
titleSeeTest Automation - Shake

Shake command uses to simulate the shake operation on the device.

Shake()

Supported_os
SupportIOStrue

Description

Shake command uses to simulate the shake operation on the device.

Info

Note: Non-instrumented mode must be enabled for this command.

Shake isn't supported on iOS 9 and up

Parameters

No parameters

Code Examples

Code Block
languagejava
titleJava Example
linenumberstrue
collapsetrue
client.shake();
Code Block
languagec#
titleC# Example
linenumberstrue
collapsetrue
client.Shake();
Code Block
languagevb
titleVBScript Example
linenumberstrue
collapsetrue
client.Shake 
Report
Code Block
languagepy
titlePython Example
linenumberstrue
collapsetrue
self.client.shake()
Code Block
languageperl
titlePerl Example
linenumberstrue
collapsetrue
$client->shake();