xamarin.uitest

Xamarin.UITest: How to Retrieve All Elements in List

烈酒焚心 提交于 2019-12-06 13:03:48
I have a list of 500 elements and when I use app.Query on the page, Xamarin.UITest gives me only 6 elements as only 6 elements are visible in UI. How can I retrieve all 500 elements from the list inside of my UITest? As described above, the expected behavior of app.Query will only return the results of all visible controls on the page. Thus, if a control is not visible, app.Query will not return it. The way to retrieve all of the data in a list is to use a Backdoor Method. Xamarin has additional documentation on how to use backdoors in UITest. Sample App This sample app implements the snippets

How to Add Calabash to React Native iOS for Xamarin.UITest

元气小坏坏 提交于 2019-12-06 11:58:39
How can I add the Calabash Framework to an iOS app built in React Native? We are moving the codebase of our iOS app from Swift to React Native, and I have an existing suite of UITests built in C# using Xamarin.UITest. I'd like to continue using my Xamarin.UITest suite for the React Native iOS app, but I know that Xamarin.UITest requires the Calabash framework to be linked in the app's source code. Xamarin has documentation on how to link Calabash for an iOS app built in Xcode, but I cannot find any documentation on how to link Calabash for an iOS app built in React Native. Is there any similar

Xamarin.UITest DeviceAgentException: Failed to install DeviceAgent

江枫思渺然 提交于 2019-12-03 16:21:40
How do I solve this error that occurs when running Xamarin.UITest on an iOS Device? It happens on both the iOS Simulator and a physical iOS device. SetUp : Calabash.XDB.Core.Exceptions.DeviceAgentException : Failed to install DeviceAgent: ApplicationName='/var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/bin/iOSDeviceManager', CommandLine='install -d fcbb5006c892e39f1f675a3f6804ce3688c3b8d1 -a /var/folders/5m/3712cp7j2k928k6z3fgszfyw0000gp/T/xdb/DeviceAgent.iOS.Dependencies/93c12f73043a2d14eea9d417ab080eb4/ipa/DeviceAgent-Runner

How to run test using VS on iOS simulator(on mac)

谁说胖子不能爱 提交于 2019-12-02 17:02:10
问题 Just started investigate the Xamarin Test Cloud. I want to write a simple test using VS and run this test on iOS simulator, which is running on Mac machine. I've connected to Xamarin Mac Agent. Agent run on the same Mac machine as the iOS simulator. I've faced with exception "iOS tests are not supported on Windows" when i'm trying to use something like this: app = ConfigureApp.iOS.StartApp(); I'm understand that I can't run iOS tests on Windows, but I want to run it on iOS simulator on Mac.

How to run test using VS on iOS simulator(on mac)

一世执手 提交于 2019-12-02 09:53:44
Just started investigate the Xamarin Test Cloud. I want to write a simple test using VS and run this test on iOS simulator, which is running on Mac machine. I've connected to Xamarin Mac Agent. Agent run on the same Mac machine as the iOS simulator. I've faced with exception "iOS tests are not supported on Windows" when i'm trying to use something like this: app = ConfigureApp.iOS.StartApp(); I'm understand that I can't run iOS tests on Windows, but I want to run it on iOS simulator on Mac. Could someone explain me how can I do this? Is it possible? And a have another question. As a said I've