0

How to put App in Background and back to Foreground using Selendroid

Kindly advice me.

Nikolay Kostov
  • 16,433
  • 23
  • 85
  • 123

1 Answers1

0

http://selendroid.io/advanced.html All the functionality is described here.

Background App Functionality Selendroid offers you to put the app under test into the background and resume it later.

//put the app to the background
driver().backgroundApp();
//resume app
driver().resumeApp();
Madis Kangro
  • 293
  • 3
  • 12
  • Extremely sorry for late reply . I am not able to use above function . From which Version they are supported ? \ – Suyash Jain Dec 11 '15 at 10:49