Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6779245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:21:44+00:00 2026-05-26T16:21:44+00:00

is it possible to simulate pressing Home Button to terminate app in the automated

  • 0

is it possible to simulate pressing Home Button to terminate app in the automated tests? Is it possible to simulate switching to AirPlane Mode?
I am using GHUnit and I want to test these scenarios:

  1. Press Home button during file download and wake the app again
  2. Switch to AirPlane mode during download (or simply turn on AirPlane mode)
  3. Switch from WiFi/3G to EDGE
  4. Simulate memory-warning
  5. Simulate incoming call when connected to EDGE

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:21:45+00:00Added an answer on May 26, 2026 at 4:21 pm

    I’m working with a test framework called Frank.
    From the items you listed you can simulate the following with Frank:

    1. Press Home button
    2. Simulate memory warning.

    Frank is an acceptance test framework to the users interaction with the application.
    You can find it here.

    For your other scenario’s I can’t think of a way you could test it with the simulator.
    I think that is more important for you to know which events are triggered when such a scenario occurs. You then maybe use the Frank framework to simulate such events.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to simulate a click on a button, similar to doClick() but
Is it possible to simulate custom forces (in my case, electromagnetic) using the SolidWorks
Is it possible to simulate a servlet filter chain using @ApplicationPath and @Path annotations
Is it possible to simulate constants in Javascript using closures? If so, can you
Is it possible to simulate closures in PHP 5.2.x not using globals? I could
Is it possible to simulate/make an XMLHttpRequest request (ajax) in symfony2 tests?
Is it possible to simulate a large amount of traffic to a server, to
I was wondering, in java, is it possible to in anyway, simulate pass by
Possible Duplicate: Simulate steady CPU load and spikes I need to write an application
What I want to have is a button with a bit of left and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.