Desired capability not working in latest appium - appium

Desiredcapabilities not supporting in latest appium version(io.appium > 5.0.0).Can you please suggest alternative for the desiredcapability to automate android App
I am using latest version of appium https://mvnrepository.com/artifact/io.appium/java-client/7.0.0.Desired capability is working less than <5.0.0 version

Upgrading both seleniumhq along with io.appium has solved this issue Earlier when I upgrade only io.appium below line was throwing error.
DesiredCapabilities capabilities = capabilities = new DesiredCapabilities();

Related

Android studio new version BumbleBee show error when run old project in IOS Device/Simulator in Flutter

It Will shows Error like this:-
After updating the Android studio it's throwing the error in IOS run
Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
CocoaPods not installed or not in valid state.
Error launching application on iPhone 13 Pro Max.
It's run easily in android device and when we run through terminal its runs easily.
I have the same issue and I am hoping they will fix it soon. But, running flutter run from the terminal window inside Android Studio works fine and I can build and deploy for Android and iOS devices. Not a great solution, but works for now.
Upgrade with the new version of Bumblebee resolve the issue for me
Version: Android Studio Bumblebee | 2021.1.1 Patch 1

What is latest in Appium version for iOS and Android?

What is new in Appium 1.13 version, can the same be used for automating both Android and iOS apps
There were few extra capabilities are added for Android. Appium is for Automating both iOS and Android. Please check the release notes here :
Appium Release V1.13

Details: Appium's IosDriver does not support xcode version 8.3.2

I am having difficulties running a mobile automated test.
I get the following error
A new session could not be created. Details: Appium's IosDriver does not support xcode version 8.3.2. Apple has deprecated UIAutomation. Use the "XCUITest" automationName capability instead. (Selenium::WebDriver::Error::SessionNotCreatedError)
I am currently using Xcode version 8.3.2 and Appium version 1.0.0.
Does anyone have any suggestions?
In Xcode 8, UIAutomation is deprecated and it supports XCUITest. So if you have written the desired capability for automation name as UI Automation, change it to:
desiredcapabilities.setCapability("automationName", "XCUITest");
Also, Xcode 8+ works only with appium 1.6+. So upgrade your Appium to the latest version.
Ref: https://github.com/appium/appium-dot-app/issues/575
The error message tells you that the IosDriver is deprecated. Take a look here: https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/4

Unable to run new Titanium app on iPhone simulator

Just created a new project and when trying to run on iPhone simulator I get the following error:
Accepted values:
8.0
[ERROR] : Invalid "--sim-version" value "7.1"
For help, run: titanium help build
I'm guessing it's due to the xCode update to the new version and the support for iPhone 6.
Anyone knows how to solve this?
I'm running against the latest Titanium SDK (3.3.0)
You need Ti 3.4.0, so update Titanium (Studio, SDK, NPM), then set up the newest version of Ti SDK in tiapp.xml, clean up your project and that's it!
(How to do the update): http://www.appcelerator.com/blog/2014/09/announcing-our-ios-8-support-with-appcelerator-sdkstudio-3-4-0-release/

Titanium SDK 3.2 [ERROR] : Invalid "--ios-version" value "7.0" 7.0.3

When I upgraded to titanium SDK version 3.2, I had an error when running on iOS says: titanium Invalid "--ios-version" value "7.0" Accepted values: 7.0.3, is there any possible way to solve this ?
I had the same issue.
I were able to solve it by changing the tiapp.xml node
changed
<sdk-version>3.1.3.GA</sdk-version>
to
<sdk-version>3.2.0.GA</sdk-version>
Hope this helps
minimum iOS version to work with Ti sdk 3.2.0 is 7 so you need to set iOS version to 7.
you can do that by right clicking on your project root folder then choose Run As-> Run Configuration option where you can set ios sdk.
Not really a fix. I have changed my project's sdk version to 3.2.0.GA (updated) then build my application via cli and execute the following command on the project directory:
titanium build --platform ios --ios-version 7.0.3
App build successfully (no errors encountered) and it opens the iOS simulator v7.0.3.
Update: Issue no longer encountered after updating titanium-studio to 3.2
Same issue.
Work fine with ti SDK 3.2.0
Ti SDK : 3.1.3.GA
Ti: 3.2.0
Alloy: 1.4.0 or 1.3.0
OS: mac os x 10.9.1
Same issue here.
Problem seems to be solved when building with the 3.2.0 SDK, however then other issues emerge.
I figured this out by just loading the xcode project from the 'build' folder and seeing the actual error that xcode was throwing. it told me that I had a 'module' that no longer supported 'NavigationGroup' class. I also installed the latest xcode updates and the latest Ti.Studio.
You need to change your sdk version in order to make it work with 7.0.3.
From the console:
ti sdk select 3.2.0.GA
You can find more info in the CLI documentation
Also make sure you update your tiapp.xml file as #Anand suggested
An update for Titanium SDK 3.1.3 has been released, the thing is 3.1.3 only supported up to iOS simulator 7.0, but now Appcelerator added support for 7.0.3.
Open ti.xml file
Under Build Properties, find the Titanium SDK field.
Select 3.2.0.GA
If it is not an option, go to menu option
Help > Check for Titanium Updates

Resources