Questions tagged [ios-ui-automation]

Automated UI Testing using the Automation instrument included with Instruments for iOS development. Not to be confused with [xcode-ui-testing] which was introduced in Xcode 7.

Instruments is an application shipped with Xcode and used to help profile applications in both iOS and OS X development. One of the tools included with Instruments is the UIAutomation instrument which allows for automated testing of user interfaces using scripts written in JavaScript. This functionality was introduced with the iOS 4 SDK.

This tag specifically focuses on using this functionality in relation to iOS development. These scripts can be used not only to automate a user's interaction with the application, but they can also contain asserts which can test if the application is behaving according to the developer's expectations.

For the new Xcode 7 UI Testing feature, see .

756 questions
-1
votes
2 answers

How to select Random Collection view element using Swift

Is there anyway we can select Random Collection view element form the list using Swift.
Arun Kumar
  • 139
  • 1
  • 13
-1
votes
2 answers

How to define layout in iOS

In the first Landscape image, I put view rectangle and fill the background color. Then, I put the text. But when I rotate the device, the rectangle overlaps to the blue image. In the second Portrait image, the text label is not the center of the…
May Phyu
  • 895
  • 3
  • 23
  • 47
-1
votes
1 answer

How can I run Instruments from Python?

Anyone know how to run Instruments from Python? I tired to use os.system and it didn't work. If I run Instruments from a command line, I only need to run: instruments -w id -t xxxxxxxxxxxxxx xx.js I will need to run the above in python. I suppose…
-2
votes
2 answers

what is the return value for NoSuchElementException while finding an element by accessibility id?

I have written a test script in selenium. In it, I'm trying to find an element using accessibility id using the following code : someUIElement = self.driver.find_element_by_accessibility_id('some UI element') However, I'm getting a…
-2
votes
1 answer

Testing iOS Applications with latest Appium Tool

I need to test iOS Application. I have installed appium on Mac. I have installed below Tools: 1) XCODE 2) JDK 3) Commmand Line Tools 4) Appium I am getting following errors while running appium server for testing sample iOS…
Priya
  • 199
  • 2
  • 16
-3
votes
1 answer

Is jquery or nodejs supported by Instruments in Xcode for UI Automation

Is jquery or nodejs supported by Instruments in Xcode for UI Automation ? I need to use some of the inbuilt functions of jQuery in Instruments code. Please guide if jquery or node js, is supported by instruments.
1 2 3
50
51