I am using the new Xcode UI Testing from the XCTest Framework using Xcode 7 GM . I have an application with a simple UIWebView (it's just a navigation controller + a view controller with a web view and button), and I want to check the following scenario:
- Web browsing loads page
www.example.com - User mute button
- Web browsing loads the page with the URL:
www.example2.com
I want to check which page is loaded in UIWebView after clicking a button. Is this possible with user interface testing right now?
In fact, I get the web view as follows:
let app:XCUIApplication = XCUIApplication() let webViewQury:XCUIElementQuery = app.descendantsMatchingType(.WebView) let webView = webViewQury.elementAtIndex(0)
ios9 xcode-ui-testing uiwebview xctest
Apan
source share