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 4034248
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:56:54+00:00 2026-05-20T11:56:54+00:00

My app has a main screen where i have button to go to login

  • 0

My app has a main screen where i have button to go to login screen. On pressing login button it goes to second screen which is login screen.
In the login screen i have a submit button which is inside a table view.
I want to tap this Submit.
What approach i should use. Or more precisely in same java script hot to access the elements of second scree.

  • 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-20T11:56:55+00:00Added an answer on May 20, 2026 at 11:56 am

    First you have to ensure that the button is accessable. Either set the Accessability property in Interface Builder (Identity Inspector – last Tab) and give the button an appropriate Accessability Label. If you don’t use Interface Builder you can set the property on the button programaticaly.

    Now in the script you can call

    mainWindow.buttons()["name of the accessability label"].tap();
    

    mainwindow is:

    var target = UIATarget.localTarget();
    var application = target.frontMostApp();
    var mainWindow = application.mainWindow();
    

    Make also sure that the button is visible. The button has to be the deepest element in the view hierarchie which is marked accessable. If the view containing the button is enabled as accessable, it would hide the accessability of the button (which is a subview).

    You can log all visible elements in the screen by

    mainwindow.logElementTree();
    

    Moreover, you always can use one single script. The mainWindow.elements() references the view which is shown at a certain moment.

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

Sidebar

Related Questions

My app's main view has a uiwebview. It is white for a split second
Building an iPad app. I have a button on my main view that I
I have an app which has a main activity that calls other activities on
I am creating an app that has three tabs on the main screen. Each
When my iPhone app starts up, the main screen has a keyboard. Currently the
My swing app has a main window which has sever buttons. This JFrame is
I have a winforms app and the main (and only) form has several buttons.
I have a document-based Core Data app. My main Core Data entity has several
I have three activities in my android app. First activity is main application screen
Problem Description: my app has a main window. when you click a button it

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.