Xcode 7 introduced new classes and protocols for UI testing: XCUIApplication for launching and terminating the app, XCUIElement for interacting with UI controls, and XCUIElementQuery for locating elements. It also introduced XCUIDevice for simulating device events and orientations. These classes allow tests to launch the app, find and interact with elements, and make assertions about the app's state.