gem/lib/frank-cucumber/launcher.rb
# Sends app to background for appropriate number of seconds, then returns it back to foreground.
#
# @param [Fixnum] seconds Number of seconds for the app to stay inactive
#
Sends app to background for appropriate number of seconds, then returns it back to foreground.
Sends app to background for appropriate number of seconds then returns it back to foreground .
def deactivate_app_for_duration(seconds)
        res = frank_server.send_post(
      'deactivate_for_duration',
      :seconds => seconds.to_f
    )
    Frank::Cucumber::Gateway.evaluate_frankly_response(res, "deactivating for duration of '#{seconds}' seconds")
  end
def deactivate_app_for_duration ( seconds ) res = frank_server . send_post ( 'deactivate_for_duration' , :seconds => seconds . to_f ) Frank :: Cucumber :: Gateway . evaluate_frankly_response ( res , "deactivating for duration of '#{seconds}' seconds" ) end
Sends app to background for appropriate number of seconds, then returns it back to foreground.
Sends app to background for appropriate number of seconds then returns it back to foreground .
seconds
seconds Number of seconds for the app to stay inactive
seconds Number of seconds for the app to stay inactive