Skip to content

How do I perform rotate action in a Mobile App

This example demonstrates how to perform rotate action in portrait mode.

In the solution shown below, you will see that rotate action is performed in portrait mode on the PDF image in HICC using the "rotate" command.

Solution:

# Command Target Value
Rotate the PDF image in Portrait mode
1 rotate

PORTRAIT

 

Tips, Tricks, Gotchas & Best Practices:  

  • In order to rotate the screen to Landscape mode, you can mention the text "LANDSCAPE" in the Target field.
  • You can verify the screen rotation by using capturePageScreenShot command and view the screenshot.

Feedback and Knowledge Base