-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different serenity.properties for iOS and Android Appium driver #1070
Comments
This is not currently supported. |
Ok, thanks for answer ;) |
@risinek currently I handle as below https://github.com/vikramvi/AppiumSerenityPOC/blob/master/serenity.properties But in this setup you can run on either of Android or iOS |
Hi All, I am trying to implement SerenityWithCucumber to execute on Browser Stack.Using a custom driver which reads the serenity.properties file and executes on the BrowserStack cloud server. However, thats the test execution. I want to be able to develop and test on my local machine. How do I manage that?
} |
Hi, is there a way to specify different properties for iOS and Android Appium driver? What I am trying to achieve is, that I want to have iOS and Android tests in one run. So I use
@Managed(driver = appium)
for both iOS and Android drivers, but I can't figure out, how to set serenity.properties for both Android and iOS and then somehow assign them to managed driver in specific class.Is it even possible to do so? Like adding some tag to
@Managed
to choose if I want to use Android properties for this instance of driver or iOS?Basically right now I have class for Android test steps and another class for iOS test steps. In both of them I initialize
@Managed(driver = appium) WebDriver driver
but the problem is, it doesn't know, which one to use.The text was updated successfully, but these errors were encountered: