Xamarin Test Recorder is not run on real device - xamarin.android

I followed the steps below:
Connect Device to PC (USB Debugging is ON)
Go to Test class on VS 2015 enterprise
Click on Record New Test button
Choose APK file
Observed: Nothing happen

Related

VS 2019 Archive Manager never finishes Archiving the (iOS) app bundle

I'm attempting to Archive my iOS app bundle using Visual Studio 2019 Version 16.11.1 and it never finishes. Just sits there sliding back and forth. Anyone know what that's about?
*** Screen Shot ****
To archive a Xamarin iOS project,
Check if build succeeded, or will be some exception logs in "Output" view
Check Mac connection is fine, which means a green monitor as below.
Choose your configuration correctly (e.g. release for archiving)
Select a real device (NOT a simulator) with correct Provisioning before starting as below.
Updated as archive is available for iphone only.
Reference link in comment.
https://social.msdn.microsoft.com/Forums/en-US/e55d3b38-4b05-4454-8d78-d29f5fe714cb/can-we-manually-install-an-xamarin-ios-app-to-a-simulator-without-deploying-via-visual-studio?forum=xamarinios

Xamarin.Forms: Debug on iPhoneSimulator

I'm trying to debug a simple new Xamarin.Forms application on the IPhoneSimulator.
I'm using Windows, and I'm paired to a macbook in my network.
The Xamarin.Forms template runs fine, but when I'm calling the Xamarin.Essentials.SecureStorage API
var timer = new Timer(5000);
timer.Elapsed += async (sender, e) => {
timer.Stop();
await SecureStorage.SetAsync("message", "Hello world");
};
I'm getting the following error:
System.Exception: Error adding record: MissingEntitlement
So I edit my Entitlements.plist and enabled the KeyChain entitlement. Tried to debug again, still the same error. So I go to project properties > iOS Bundle Signing and set the Custom entitlements to my Entitlements.plist. This somehow switches the scheme to Manual Provisioning.
Could not find any available provisioning profiles for MyApplication.iOS on iOS
So I did what this answer said: https://stackoverflow.com/a/51615262/8941307. Now I'm still getting the MissingEntitlement exception.
When I remove the Custom Entitlements and switch back to Automatic Provisioning, I'm able to run the app again, but off course without the SecureStorage.
Do I need to have a $ 99 subscription to test these features like SecureStorage on the IPhoneSimulator? Would this work when using a physical iPhone?
EDIT
I'm able to debug the sample project from XCode from my macbook on my iPad (physical), but apparently I can't get it working with Visual Studio for Mac on my iPad. I'm getting the following error:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets(3,3):
Error: Could not find any available provisioning profiles for
Helloworld.iOS on iOS.
What am I still missing in VSMac?
Also I already trusted my developer account on my iPad, hence why I'm able to run the sample from XCode.
I've used XCode 12.1, located at /Applications/Xcode.app
You could create a free Apple Account for testing .
1. Sign into Xcode with personal apple account
Start Xcode on your Mac
Choose the Xcode → Preferences menu and navigate to the Account pane
Click the +-button in the bottom-left corner and choose Apple ID
Log in with your Apple ID email address and password .
You now have access to your Developer Account in Xcode . The developer account you added is called “Personal Team”, which should show up in the list on the right.
2. Run Apps on real device
Make sure your iPhone (or iPad) is connected to your Mac via USB. When your iPhone prompts you to confirm connecting to your Mac, tap Trust.
Then, in Xcode, choose the Window → Devices and Simulators menu. Select your iPhone from the list, and then click the Enable Device for Development button. (Depending on the context, this may not be a necessary step.) It’s also smart to enable the Connect via network option, which lets you debug apps on your iPhone without connecting via USB.
Now you can test your code with Auto Provisioning both on simulator and real device .
Very weird, but I played around with the settings of my project.
I followed the instructions in the following link: https://learn.microsoft.com/nl-be/xamarin/ios/get-started/installation/device-provisioning/free-provisioning?tabs=windows#limitations. This ensures that an app is deployed on your ipad, using XCode, with the same app-id you'll eventually use in Visual Studio. You need to have the same Bundle Identifier as the one you'll eventually use in Xamarin.iOS.
After this, I've used the following settings in my iOS project:
According to this link I also ensured I am signed in. After this, I had to restart my Visual Studio For Windows, and I was able to debug on my iPad from my PC.

Firebase test lab with iOS app - the app installed but did not open

I have a firebase project, I try to run my app in the test lab with a small test that I created, the app installed but when the test lab tries to open the app didn't open and the logs show's the next errors in the logs:
1."Couldn’t communicate with a helper application".
2. "Failed to get automation session for --project name--: Couldn’t communicate with a helper application. - ..project local test URL..."
The Xcode simulator shows me that my test pass and the Archive.zip file added.
If the app will open I think that the test will pass.
Thanks!
Please can you provide a matrix-id for your run? The test needs to have run in the last month.
It is also best to use the Firebase Test Lab Slack channel or Firebase Support for these kind of questions about individual test runs.

Facebook WebDriverAgent: How to run it without Xcode

I want to run WebDriverAgent app without Xcode, like Seetest application which works independently
https://experitest.com/mobile-test-automation/
Do you mean you want to run your automated test on iOS app with just SeeTest and without using Xcode?
If so then you need to do following steps:
Install SeeTest (Licensed or Trial version)
Create a DEF file for iOS device
Connect the iOS device to your computer
Record n play the steps required / Write your own code in the lang you are comfortable.
Execute the script.

Add Build to TestFlight on IOS

I upload my application to Itunes Connect using "Application Loader" It's successffuly uploaded and the build version appears in activity tab
but when trying to add any build to test it not appear in testflight tab
Moreover, when i navigate to testing group and try to add build nothing appear
P.S : My Application Developed using xamarin.form (Visual Studio on mac)
Just wait for some time, App processing may take longer to process
have a look
http://www.brynbodayle.com/fixing-a-testflight-build-stuck-processing-in-itunes-connect/

Resources