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 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

Very new to python and can't understand why this isn't working. I have a
I'm very new to IOS programming and i have doubt with NSThread. My problem
I am very new to iOS Programming and have been learning for only a
I'm fairly new to iOS programming, but have a basic understanding of it. I
I'm very new with iOS Development and I have just created one of my
Everyone on this site has been very helpful on my schooling of iOS programming,
Very new to programming for iOS and Cocoa so please take it easy on
xcode 4.2 ios 5 single view template I am very new to this ios
i am very new to ios development, rather i have just started work on
I am new to programming on MAC. I have done programming on iOS but

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.