xcuitest

How to use Appium to automate a 3rd party ios app on real device

那年仲夏 提交于 2019-12-02 00:35:51
I'm trying to automate a 3rd party ios app (YouTube, for example) on a real iPhone using Appium . I haven't been able to find a single guide/tutorial to achieve this, but from the information I gathered, it seems to involve the following steps: Extract the pre-installed app and decrypted it (using a tool such as Clutch ) Resign it with my development cert I know I omitted lots of details in each step, but my question is, has anyone done this successfully and can confirm this is actually achievable? Or is there any other less involved ways to automate a 3rd party ios app using Appium ? In order

Is it possible to open a screen directly in XCUITest?

放肆的年华 提交于 2019-12-01 05:11:46
I have 3 screens, lets say, Login Forgot Password Help screen By default the Login screen open when the app starts. The Forgot Password screen is shown when you click on the Forgot Password button, and Help Screen opens when the Help link is clicked. Can I somehow open the the Forgot Password Screen directly without going through the procedure of clicking the button using XCUITest ? I am suggesting something in the same lines as passing an adb intent to open a View directly. As far as I know, you can't go directly to the second screen using XCUITest Framework. Anyway, documentation states: UI

disable iOS simulator 'connect hardware keyboard' programmatically

南楼画角 提交于 2019-11-29 12:23:32
I'm writing XCUITests for view has 2 UITextField and by defualt the simulator has hardware keyboard connected, hence the software one is not being presented. Is it possible to set some settings (maybe in schema?) to force-disable connecting hardware keyboard by the simulator before test runs. I went through few links but none seems to be helpful. iOS simulator - disable connect hardware keyboard programmatically Disable Hardware Keyboard for iOS Simulator using UIAutomation When i try this on xcode local it works but, XCUItest runs on CI and i configured fastlane file for this called enable

disable iOS simulator 'connect hardware keyboard' programmatically

徘徊边缘 提交于 2019-11-28 05:25:05
问题 I'm writing XCUITests for view has 2 UITextField and by defualt the simulator has hardware keyboard connected, hence the software one is not being presented. Is it possible to set some settings (maybe in schema?) to force-disable connecting hardware keyboard by the simulator before test runs. I went through few links but none seems to be helpful. iOS simulator - disable connect hardware keyboard programmatically Disable Hardware Keyboard for iOS Simulator using UIAutomation When i try this on