Skip to content
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

Could anyone manage to integrate and run tests using Appium ? #89

Open
mbilbiesi opened this issue Nov 20, 2020 · 5 comments
Open

Could anyone manage to integrate and run tests using Appium ? #89

mbilbiesi opened this issue Nov 20, 2020 · 5 comments

Comments

@mbilbiesi
Copy link
Contributor

Hi again !

I am trying to run tests on appium server on the mobiles which are already used by stf_ios_support , I am facing issue when Appium is trying to create a driver; it complains about the ports which are already reserved by stf_ios_support

currently i am having two devices connected to stf and reserving ports 8100 and 8101, I tried to change maintain the ports from test side by giving another ports using the capability wdaLocalPort to something which is not used by ios_stf (i.e 8102, 8103) ; then I ran the tests and it worked; but the devices are not controllable anymore after this run; somehow the wda is killed !

Is there any guidance in how to use ios_stf_support beside Appium ?

@nanoscopic
Copy link
Collaborator

Works fine for me / I and my team used it regularly together with stf_ios_support at TMobile.

The key is you have to pass a special option to re-use an existing local port / already running WDA since otherwise Appium tries to start its own copy of WDA.

@mbilbiesi
Copy link
Contributor Author

Unfortunately, all my tries are not working; i tried to apply all possible capabilities related to re-use the existing WDA session under https://github.com/appium/appium-xcuitest-driver, but i am still struggling to avoid closing the session which is created by stf-ios-support !

Do you still remember what was this key we need to pass to re-use local port ? :)

@koltevinod1
Copy link

Works fine for me / I and my team used it regularly together with stf_ios_support at TMobile.

The key is you have to pass a special option to re-use an existing local port / already running WDA since otherwise Appium tries to start its own copy of WDA.

which key do you mean??

@koltevinod1
Copy link

Unfortunately, all my tries are not working; i tried to apply all possible capabilities related to re-use the existing WDA session under https://github.com/appium/appium-xcuitest-driver, but i am still struggling to avoid closing the session which is created by stf-ios-support !

Do you still remember what was this key we need to pass to re-use local port ? :)

use "webDriverAgentUrl"

@Immanuel-Codoid
Copy link

Hi @mbilbiesi have you sort out how to integrate appium automation on ios device using stf_ios_support, if so, kindly help me out and share your experience on it. Will be very much helpful if you share any repo that has that implementation. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants