Questions tagged [xcode-ui-testing]

UI Testing in Xcode was introduced in Xcode 7, allowing a developer to write UI tests in Swift/Objective-C. The primary method of interacting with an app is via an instance of XCUIApplication. Tests run via the Product > Test menu item or from the editor, with results displayed in the Test navigator. Not to be confused with the older UI Automation which used UIATarget and JavaScript.

1160 questions
-1
votes
2 answers

using arc4random to generate random number to add to string for UI testing login xcode UI testing

I am testing sign up on an app, using xcode UI testing i am wondering how to use the arc4random to generate a random number which will be typed into the app? here is my code but getting a type cannont convert value of type UInt32 to expected…
Billy Boyo
  • 819
  • 2
  • 12
  • 22
-1
votes
2 answers

run test classes using xctest framework from a class

i am facing a problem. I want to do a ui test for my application. i have written six test class where my test cases are included. I can run my test cases using "command U" or the clicking in the run button. But i don't want to do like this. I…
Eric Ipsum
  • 723
  • 3
  • 10
  • 24
-2
votes
1 answer

Button in UITableView hierarchy UITest

Could you help me? It doesn't work and I don't know why?
Chalko
  • 1
  • 1
-3
votes
1 answer

I want to understand how i can XCTest that a list of Countries are Sorted

Im writing a UITest to check if a List of Countries populated in my tableview are displayed in ascending order. I am populating the countries from Countries api The purpose of my UITest is to check the countries are displayed in alphabetical order,…
BigFire
  • 317
  • 1
  • 4
  • 17
-3
votes
2 answers

A method for finding elements (i.e xpath,id etc..) for building UITests in Xcode 8?

How do I find elements (i.e xpath,id etc..) for building UITests in Xcode 8?
1 2 3
77
78