Test on latest iOS minor versions
The iOS minor version feature is currently in Beta and may involve further changes.
Testing your app on latest iOS minor versions is important for the following reasons :
- Test the app’s compatibility with newly released minor versions
- Test your app updates on latest minor versions
BrowserStack now allows you to test your apps on the 2 latest iOS minor versions.
To run tests on the latest
or latest-1
supported iOS 17 minor version, provide capabilities in your test scripts:
If you are using BrowserStack SDK, you can set the following capability within the browserstack.yml
file:
Capability | Value | Description |
---|---|---|
platformName |
ios | Choose iOS mobile platform |
platformVersion |
17 latest | Any device on latest supported iOS 17 minor version will be allocated. Currently, 17 latest maps to an iOS device running 17.5 |
platformVersion |
17 latest-1 | Any device on latest-1 supported iOS 17 minor version will be allocated. Currently, 17 latest-1 maps to an iOS device running 17.3 |
BrowserStack SDK is a plug-n-play solution that takes care of all the integration steps for you. Using the BrowserStack SDK is the recommended integration method for your project. To know more, visit the SDK core concepts page.
Use the following code snippet to enable passcode protection:
Capability | Value | Description |
---|---|---|
platformName |
ios | Choose iOS mobile platform |
platformVersion |
17 latest | Any device on latest supported iOS 17 minor version will be allocated. Currently, 17 latest maps to an iOS device running 17.5 |
platformVersion |
17 latest-1 | Any device on latest-1 supported iOS 17 minor version will be allocated. Currently, 17 latest-1 maps to an iOS device running 17.3 |
Examples
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platformName", "ios");
capabilities.setCapability("platformVersion", "17 latest");
var capabilities = {
"platformName" : "ios",
"platformVersion" : "17 latest",
}
AppiumOptions capabilities = new AppiumOptions();
Dictionary<string, object> browserstackOptions = new Dictionary<string, object>();
capabilities.AddAdditionalCapability("platformName", "ios");
capabilities.AddAdditionalCapability("platformVersion", "17 latest");
desired_cap = {
"platformName" : "ios",
"platformVersion" : "17 latest",
}
capabilities = {
"platformName" => "ios",
"platformVersion" => "17 latest",
}
Please note that in iOS minor version workflow as described above, devices will only be dynamically allocated. Therefore, to run tests on a specific iOS minor version you must specify platformName
& platformVersion
capabilities as described above and remove deviceName
capability from the desired Appium capabilities set.
Capability | Value | Description |
---|---|---|
platform |
ios | Choose iOS mobile platform |
os_version |
17 latest | Any device on latest supported iOS 17 minor version will be allocated. Currently, 17 latest maps to an iOS device running 17.5 |
os_version |
17 latest-1 | Any device on latest-1 supported iOS 17 minor version will be allocated. Currently, 17 latest-1 maps to an iOS device running 17.3 |
Examples
desiredCapabilities.setCapability("platform", "ios");
desiredCapabilities.setCapability("os_version", "17 latest");
var capabilities = {
'platform' : 'ios',
'os_version' : '17 latest'
}
capability.SetCapability("platform", "ios");
capability.SetCapability("os_version", "17 latest");
desired_cap = {
'platform': 'ios',
'os_version': '17 latest'
}
desired_caps = {
'platform' = 'ios',
'os_version' = '17 latest'
}
Please note that in iOS minor version workflow as described above, devices will only be dynamically allocated. Therefore, to run tests on a specific iOS minor version you must specify platform
& os_version
capabilities as described above and remove device
capability from the desired Appium capabilities set.
Frequently Asked Questions (FAQs)
1. Which iOS minor versions will be supported on BrowserStack App Automate?
Starting from iOS version 17.3, we will be supporting the 2 latest minor versions on iOS 17 & above.
2. Can I provide specific minor versions such as 17.1 or 17.4 on BrowserStack App Automate?
Currently, No. To select a minor version, use the latest
or latest-1
flag in os_version
capability. It further helps ensure your App Automate tests run on the latest supported iOS minor versions at any given point of time without requiring any test script updates at your end.
3. When will a newly released iOS minor version be available on BrowserStack App Automate?
We will strive to support every newly released minor version within a reasonable timeframe from their release date on a best effort basis. As and when new iOS minor versions are released on BrowserStack App Automate, we will update relevant documentation and notify the customers.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!