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

  • Home
  • SEARCH
  • 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 6181821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T01:05:34+00:00 2026-05-24T01:05:34+00:00

I am very new to IOS programming. I have a task to find if

  • 0

I am very new to IOS programming. I have a task to find if I can automate my UI for testing. This is what I want to do:

  • Put some code in my application that randomly (sounds bad but may be pre-defined events)sends event messages to controls on the screen.

  • Since it is just code I should be able to take the app, deploy it in any iPhone or iPad and run the program.

  • Once the app is completely automated by my code I guess it will be easy to do the analytics on the obtained performance data.

I have seen FoneMonkey but looks like it needs user interaction recorded manually on each device.

Any thoughts or suggestions are welcome.

  • Lalith
  • 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-24T01:05:34+00:00Added an answer on May 24, 2026 at 1:05 am

    Hello Lalith i have been creating some UI Automation tests for an application and its working very well. Although it has some tricks, I think you should take a look at these links:

    http://answers.oreilly.com/topic/1646-how-to-use-uiautomation-to-create-iphone-ui-tests/

    http://alexvollmer.com/posts/2010/07/03/working-with-uiautomation/

    If you need more help, just let me know. 🙂

    Edit1:

    On your viewDidLoad of your viewController you can add something like this:

       - (void)viewDidLoad {
            [super viewDidLoad];
            //(Your code...)
            // I set it to start after 5 seconds...
            [self performSelector:@selector(startTest) withObject:nil afterDelay:5];
         }
    
    
       -(void)startTest{
          //took this from the link you posted
          [myButton sendActionsForControlEvents:UIControlEventTouchUpInside];
        }
    

    Edit 2:

    if([myTextField canBecomeFirstResponder]){
        [myTextField becomeFirstResponder];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I am very new to Web Programming. I have been learning PHP from
Very new to programming for iOS and Cocoa so please take it easy on
Warning - I am very new to NHibernate. I know this question seems simple
I still very new using Subversion. Is it possible to have a working copy
I am very new to creating webservers - and I have had several goes
Hi I'm very new to sql but have been passed a job in which
I am fairly new to Objective C and iOS programming but am constantly trying
I'm still very new to the iOS SDK. Is it possible to hook into
I am very new to OpenGL and this is what my goal is... Load
Very new to Iphone development here, I have a project which is successfully building

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.