You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Fanch- can you post the command used to use AndroidMobileCapabilityType.OPTIONAL_INTENT_ARGUMENTS? I think I see the issue but I want to get how to fix it straight.
We have two apps : in the first one which is a sort of launcher-switcher-, we can send an extra argument to launch the second one on the right environment.
I can see with 3.4.0/1.5.0 it doesn't launch the SplashScreenActivity, so there is a problem with the adb command generated.
Activity
[-]Appuie 1.5 support[/-][+]Appuim 1.5 support[/+][-]Appuim 1.5 support[/-][+]Appium 1.5 support[/+]imurchie commentedon Jan 22, 2016
If you update the
mobile-json-wire-protocolpackage to the latest (1.2.0) this ought to be fixed.TikhomirovSergey commentedon Jan 31, 2016
Related client and server bugs will be mentioned here
TikhomirovSergey commentedon Mar 3, 2016
It is finished.
Fanch- commentedon Mar 7, 2016
Hello,
It seems the AndroidMobileCapabilityType.OPTIONAL_INTENT_ARGUMENTS isn't working anymore.
Previously (client 3.3/server 1.4.16) when it worked -sending an extra arg- :
bashinfo: [debug] executing cmd: adb -s 4300e98bd23e11af shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n fr.leboncoin.delivery.debug/fr.leboncoin.ui.activities.SwitcherActivity -e env qa0"
Could it be a quote issue? We lost the adb command line information du to these list args.
Also, why does keystorePassword require a boolean?
bash"The desiredCapabilities object was not valid for the following reason(s): keystorePassword must be of type boolean."
romainlouvet commentedon Mar 7, 2016
Appium version : 1.5.0
Java-client version : 3.4.0
@TikhomirovSergey
When i try to execute command : driver.removeApp("fr.****");
[HTTP] --> POST /wd/hub/session/a939f1f2-742c-4217-b106-0c529966e23c/appium/device/remove_app [MJSONWP] Calling AppiumDriver.removeApp() with args: ["fr.leboncoin.Leboncoin","a939f1f2-742c-4217-b106-0c529966e23c"] [debug] [iOS] Executing iOS command 'removeApp' [HTTP] <-- POST /wd/hub/session/a939f1f2-742c-4217-b106-0c529966e23c/appium/device/remove_app 501 3org.openqa.selenium.WebDriverException: Method has not yet been implemented (WARNING: The server did not provide any stacktrace information)
SrinivasanTarget commentedon Mar 7, 2016
@romainlouvet Can you please reopen this issue? Its a valid bug.
@TikhomirovSergey FYI - https://gist.github.com/SrinivasanTarget/f724dd986701f029bdf4
@imurchie Could be a possible bug in server side?
romainlouvet commentedon Mar 7, 2016
@SrinivasanTarget I can't reopen :/
SrinivasanTarget commentedon Mar 7, 2016
OK will raise a new one @romainlouvet
imurchie commentedon Mar 7, 2016
Yes, the
keystorePasswordcap ought to be a string. Fixing.imurchie commentedon Mar 7, 2016
@Fanch- can you post the command used to use
AndroidMobileCapabilityType.OPTIONAL_INTENT_ARGUMENTS? I think I see the issue but I want to get how to fix it straight.Fanch- commentedon Mar 7, 2016
With the java-client :
Previously it was :
bashDesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("appPackage", ".debug");
capabilities.setCapability("appActivity", ".SwitcherActivity");
capabilities.setCapability("appWaitActivity", "***.SplashScreenActivity");
capabilities.setCapability("optionalIntentArguments", "-e env " + getQaEnv());
We have two apps : in the first one which is a sort of launcher-switcher-, we can send an extra argument to launch the second one on the right environment.
I can see with 3.4.0/1.5.0 it doesn't launch the SplashScreenActivity, so there is a problem with the adb command generated.
imurchie commentedon Mar 7, 2016
Ugh. Ok. I will try to come up with a general solution for this.
Fanch- commentedon Mar 7, 2016
I have added some precisions to my previous post :)
imurchie commentedon Mar 7, 2016
I don't know what that means.
imurchie commentedon Mar 7, 2016
keystorePasswordissue fixed inappium-android-driver1.6.15.Fanch- commentedon Mar 30, 2016
And your commit appium/appium-adb@176a3f9 fixed the issue with optionalIntentArguments, thx.