I am getting the error “Unable to determine the simulator version for (UDID of mobile) “ Steps Followed
1-Added the ENABLE_TEST_CLOUD code in AppDelegate.cs and added the iOS project reference to the UI Tests 2-Selected the IOS Project à Debug|iPhoneSimulator à iPhone 11 iOS 13.0 3-Tried to debug the tests 4-At the line return ConfigureApp.iOS.DeviceIdentifier(“UDID”).AppBundle(“Path of .app”).StartApp(); getting the above mentioned error.
Can you help me to solve the above problem, i am facing this problem and not able to resolve from past 30 days. Any help will be appreciated. Thank you.
Why don't you use AutomationIds instead of picking out some ids from the screen? AutomationIds will be the same between platforms and we end up with less logic in our UiTests. PS: Great that you mentioned AutomationIds at the end :-)
This is not how my Xamarin UI Tests project got configured. The UI test template generates a Project with AppIniitializer.cs and Test.cs only. I was hoping that there would be some clues on where all the log files get stored. How I can capture Test Log Files Screenshots to a obvious location. (The documentation suggest use of AndroidAppConfigutor class. But no examples of its use in AppInitializer are provided. So its all much too awkward to use.
How can I use the alias Query to get the text from the query? e.g: using Query = System.Func; Query textA; Query textB; Query btnC; public examplePage(IApp app) { textA = c => c.Marked("textBlock1") textB = c => c.Class("FormsText").Index(1) btnC = c => c.Marked("buttonId") } I want to return the text string from the textblock or other elements using alias query somehow. Is this possible? Something like: public string txtBlockOne() => textA.Text; or public string txtBlockTwo() => textB().Text; Note this example asks for AppQuery arg but no idea what to pass it
Woot! Woot! James is back in the house
Nice video...Is there a way to create Test Suite and integrate that too appCenter CLI for distributed testing
I am getting the error “Unable to determine the simulator version for (UDID of mobile) “
Steps Followed
1-Added the ENABLE_TEST_CLOUD code in AppDelegate.cs and added the iOS project reference to the UI Tests
2-Selected the IOS Project à Debug|iPhoneSimulator à iPhone 11 iOS 13.0
3-Tried to debug the tests
4-At the line return ConfigureApp.iOS.DeviceIdentifier(“UDID”).AppBundle(“Path of .app”).StartApp(); getting the above mentioned error.
Can you help me to solve the above problem, i am facing this problem and not able to resolve from past 30 days. Any help will be appreciated. Thank you.
Why don't you use AutomationIds instead of picking out some ids from the screen? AutomationIds will be the same between platforms and we end up with less logic in our UiTests.
PS: Great that you mentioned AutomationIds at the end :-)
This is not how my Xamarin UI Tests project got configured. The UI test template generates a Project with AppIniitializer.cs and Test.cs only.
I was hoping that there would be some clues on where all the log files get stored. How I can capture Test Log Files Screenshots to a obvious location. (The documentation suggest use of AndroidAppConfigutor class. But no examples of its use in AppInitializer are provided. So its all much too awkward to use.
How can I use the alias Query to get the text from the query?
e.g:
using Query = System.Func;
Query textA;
Query textB;
Query btnC;
public examplePage(IApp app)
{
textA = c => c.Marked("textBlock1")
textB = c => c.Class("FormsText").Index(1)
btnC = c => c.Marked("buttonId")
}
I want to return the text string from the textblock or other elements using alias query somehow.
Is this possible? Something like:
public string txtBlockOne() => textA.Text;
or
public string txtBlockTwo() => textB().Text; Note this example asks for AppQuery arg but no idea what to pass it
var text = app.Query(textA)[0].Text
They must be trolling us! Programmers don't use a light themed IDE!
Yes in Xamarin it is true, however, WPF Developers usually Do - we have preview that actually works and it works best in light
@@mwardell18290 they do when the are presenting ;)
Blue (Extra Contrast) ftw
👍
Good