-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Ref] iOS support #1
Comments
@manishPatwari However, I got another issue that after clicking on the connect device, it was disconnected and below was the log thrown:
|
@TuHuynhVan Please give the device information which you have used. We have tried this in real device and didn't face this issue. Device information will help us to debug it further. |
@manishPatwari
|
@TuHuynhVan Thanks for the info! We will test on lower OS versions and try to debug this issue. |
Thanks @shubhankaryash |
@TuHuynhVan I tried this on iPhone 7 with 10.2.1. I was able to connect to the socket. Do make sure that your system and mobile are connected to the same network, have no proxy and the localhost has been replaced with the ip. As far as the crash is concerned, I will try to get an iOS 9 device and give an update. |
@shubhankaryash as your guess, the second iPhone (version 10.3.2) was not on same network with the node server. I changed it to the same and I was able to connect and interact with it. The version 9.3.5 is still crashed... Anyway, thank you and the team so much! Pls let me know what should I do for the version 9.3.5 |
@TuHuynhVan Glad we could resolve the iOS 10 issue. Rendering the screenshot from the device involves a lot of data being sent over the network. Hence it is still a bit slow even after the considerable optimisations we have done. We are still looking at solutions to compress this data and try to make this quicker. I will inform you once I am able to get an iOS 9 device and test on it. |
@shubhankaryash |
@shubhankaryash And can I still run automation test (which requires WDA involved) on same target device? Thank you so much! |
@TuHuynhVan You always need to run the tests through XcodeIDE/XcodeBuild. Having it installed beforehand and running it wont work. As far as running multiple tests on a single device is concerned, I am not sure but I think you can check by running them through the terminal. I tested it out on iPadMini 9.3.5 and like you said it crashed. We are getting the screenSize with 0 dimensions from the API FBApplication has provided. |
@shubhankaryash Thank you for your confirmation. Let me: To make sure that we can use the device for both purpose. |
@Team, Greetings and congrats for successfully achieving this. I tried this to install on real device IOS Version 11.0.1. and able to install WD and able to build the project. But i could not see the device in the browser. It says no device. When i check the console i see the below error, WebDriverAgentRunner-Runner[2838:17916155] Task <09BB3D98-698A-42E9-9576-E4683841A2A3>.<1> finished with error - code: -1001 Task <09BB3D98-698A-42E9-9576-E4683841A2A3>.<1> HTTP load failed (error code: -999 [1:89]) Seems like i could not connect to Socket. My phone and Mac is in same network. I tried multiple ways by turn the proxy off etc., but no luck. Requesting your support here. I can see the Simulator without any issues. I have issues in real device only. Please help. Also mention what IOS versions are supported. |
Attaching the log for reference. |
Hi, I resolved the previous issue, It is my bad that i have not giving the device ip . Now i can connect more devices parallel. But can you help how to inspect element in that. Two column, Tree of elements and Inspector are displayed blank. What to do to inspect element. Advance Thanks. |
@rdhandapani88 : Currently we have disabled inspect element because of performance issue. We will have a button and when its needed it can be enabled. But currently inspect is not available. |
@manishPatwari Great thanks for the excellent work from you and your team!
These error message show up in Xcode IDE over and over again, and the 8000 webpage keeps "No Device connected". More Details:
The error message with ios 11 iphones has bothered me for quite a long time, will really appreciate it if you guys have any ideas:) |
@Catrinacen This should not be an OS specific issue because we have been able to run the tests successfully on iOS 11. I will try to get my hands on iPhone 8 Plus/ iPhoneX and give an update on it. |
@shubhankaryash Thanks for your response:) |
@Catrinacen Sorry for the late response but I have no context about the issue with the licensed machines in China. Unfortunately I won't really be of much help in this. However in case you do find a solution, I request you to post the same here as it would be helpful to other folks facing the same problem in the future. |
@shubhankaryash Thanks for your kind response:) Hope that could be helpful. |
@Catrinacen Thanks! |
Hi , I have tried with few devices but i used to get disconnected very soon. Anyone else is facing the same issue or get any workaround for the disconnection issue. I tried in iPhone and iPad with large memory it works for 5-10 minutes low memory devices got disconnected even early. Any suggestion is highly appreciated. Thanks, |
@sus0bhanpanja Yes, this issue is already reported. You can check @shubhankaryash finding here. |
Hello guys, Im just getting started with stf... As I can see, you are able to use some ios devices ... is there a guide that I could follow to set my environment with android and ios? tx |
Hi @ngbrito This project is independent from STF and is not integrated into it. If you want to use iOS devices you can try the guide in the README. Regards. |
Hello @guadaran , I tried to set it on my machine but at the very first command, I get this error
Do you have any ideia what Im missing? |
You need to install https://cocoapods.org on your machine |
Hello guys, Im getting this error: "linker command failed with exit code 1 (use -v to see invocation)" And I can't fix it. Can anyone help? |
Hello guys, Im getting this error when I try to start the server: $sh ./Scripts/start-server.sh Error: listen EADDRINUSE :::8000 Can u help? |
Hello guys, I could build the project and start the server however, when I run this line in terminal:
I get the following error: IDETestOperationsObserverErrorDomain Code=6 I already restarted device and computer. Still getting this error Also, when I go to xcode and test WebDriverRunner then execute the above line, I get no error but the device does not appear in the browser? By the way, when I try with a simulator, it works just fine. Please guys, can you help? |
Original Issue : openstf/stf#64
Comment :
openstf/stf#64 (comment)
The text was updated successfully, but these errors were encountered: