#appium #appium_desktop #learn_appium Inspect iOS iPhone/iPad native apps using Appium desktop app on Mac OSX Installation Tutorials : • Installations On Mac
Same way I have also installed appium but when i give all the capabilities and click on start session, getting an error that not able to find udid or simulator. But the simulator ia already opened and udid ia also correct. Can you suggest me what exactly i need to do to solve the problem
0.0.0.0 is NOT "localhost" (localhost is 127.0.0.1); 0.0.0.0 means to bind to all available addresses (which includes localhost and any other adapters configured).
Hi, it's a good tutorial. I like it but could you please tell me how to get apk file and ios dev app like you have? Do I need to create them myself? Thank you..
If you are looking for iOS apps for your practice purpose, then there are 2 ways to achieve this. One is through pre-installed app and another is open source apps via download, build and install procedure. Both videos are listed below.Check thi out for iOS : czcams.com/video/tKh-TqEpX8o/video.html
You should watch my earlier video's where i have automated the first native appium test. Also you can watch below video and use references under comments and description sections. czcams.com/video/LHrryK_2drA/video.html czcams.com/video/L5y1nLCAEV8/video.html This will be helpful for you !
You should see it, which appium desktop version you are using? Mac or Windows? Try to uninstall and re-install it again. Also, check out my video, where i have shown how to install appium desktop, may helps you.
You should have an .ipa file in your system which will gets installed into your iPhone. So, you need an .ipa file somewhere located in your system not from your phone. If its already installed in your phone, then you can mention only bundleid, but not the file path.
i followed ua video, but i am getting An unknown server-side error occurred while processing the command. Original error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/radamaticsolutions/Documents/iOSAutomation/Myapp.app/Info.plist' error
Check with the developer ... i guess build is not a proper build. You can right click on Myapp.app and extract it; also look for the Info.plist file inside extracted folder, which is missing as per to the error. Which has to be present under any .app file.
If you are looking for iOS apps for your practice purpose, then there are 2 ways to achieve this. One is through pre-installed app and another is open source apps via download, build and install procedure. Both videos are listed below.Check thi out for iOS : czcams.com/video/tKh-TqEpX8o/video.html Check this out for free apps : czcams.com/video/g_MiyrmpQaM/video.html Kindly subscribe and share with your friends.
Hi Praveen, I done all the connections for the appium and it was successful.But my scripts are on window machine and i had taken a remote of mac machine. when i am executing it from window machine it is showing me this error ": The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.. " Can you help me out how to resolve this ?
@@DimplePatel_Tester ok .. i am assuming that, you have remote mac machine and appium server and your app is on the same mac machine. You have written your test script on windows and then try to executing the test. You have provided appium server ip address of remote mac machine where appium server is running. If this is the flow you are following then your scripts should executes. Please confirm.
@@AutomationStudiochannel yes correct I m using the ip address of Mac. Is there any possibility that Mac system had blocked the input request from outside??? As we are having Mac from the cloud.
@@DimplePatel_Tester yes, may be ip address is restricted by mac You can mail me your code to mail id p.ashapure@gmail.com i will see if can help you in this issue.
Hi Could you just please help me out how to find element on a React native app, Native app Iam able to find Id of all element but on react native its keep on changing like dynamic element....
Hi I want invoke app on my real device but its invoking app in simulator always ..how can i fix this ? Please let me know if there is video already available for same. FYI, below are the dependencies I am using: { "platformName": "iOS", "deviceName": "test-iphone6Plus", "platformVersion": "12.1", "automationName": "XCUITest", "bundleId": "", "xcodeSigningId": "iPhone Developer", "xcodeOrgId": "", "ipa": "/Users/manish.arya/Desktop/PayUnow 2019-01-11 12-51-28/PayUnow.ipa" }
OMG. that. the click sound is very annoying ...since your volume is low and. incase if I raise the volume , suddenly you click and that click sound is so annoying
Hi, I have given all the desired capabilities but when i enter instruments -s device i couldn't find my device.Can you suggest me the steps to be followed. Thanks in advance
It may help you : Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Praveens-MacBook-Pro:~ praveenashapure$ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates Praveens-MacBook-Pro:~ praveenashapure$ sudo xcode-select --switch /Library/Developer/CommandLineTools Password: Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance Praveens-MacBook-Pro:~ praveenashapure$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices Then it started working for me :)
Hi, Launching iOS App on Appium Inspector displays horizontal view (Sideways) shown in image1 below rather than vertical view. I am using Appium v1.18.3 (latest) and I tried to uninstall and reinstall the Appium but could not fix the issue. (Wish I had your email to send you screenshots to better understand)
How should I resolve error "Unable to launch WebDriverAgent because of xcodebuild failure:"Command 'Scripts/bootstrap.sh -d' exited with code 1" Please help on this
Yes, I have installed both and configured. I was able to connect and launch app also but the moment I updated my app with new version provided by developer, I am getting a new issue. The issue is, WDA build is successful but it is not getting installed on simulator and I am unable to connect Appium Inspector
When I am trying to connect Appium Inspector it's giving error as unknown bundle Id. But the bundle id is the same for app it doesn't changes. Please help me on this
@@monalisabarik8139 Please let me know the capabilities which you are using to initiate the ios driver, Also, i would like to know about the xcode version which you are using in your machine. Are you using simulator or real device ? If device then device version as well.
Hi Sri, im getting below error when tapped Start session: An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/var/folders/d0/9xtp4cp12m53dr10ypqzryvsm17q_r/T/202146-42008-gvmku4.5o844/BbStudent.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
For simulator, you need .app file not .ipa file. .ipa is build for real devices where .app file is build for the simulator devices, hence architecture in the build types are different.
Mouse noise is annoying but the video is fantastic. Great job
Sure, from next video onwards will take care !
Great job! simple to understand Appium from your channel. Keep it up.
I am a beginner study Appium, this video is so great. Thanks :)))))
Glad it was helpful!
excellent beginning I will continue all sessions and learn it , thanks
The mouse click is very annoying thou
My apologies, it was my from first videos where i was using a bad recording software :(
Please mute those mouse clicks they are pretty annoying. How can you self handle that sound.
Sure, from next video onwards will take care !
Same way I have also installed appium but when i give all the capabilities and click on start session, getting an error that not able to find udid or simulator.
But the simulator ia already opened and udid ia also correct.
Can you suggest me what exactly i need to do to solve the problem
Dose your appium supports simulator ios version ?
This loud sound of every click :(
0.0.0.0 is NOT "localhost" (localhost is 127.0.0.1); 0.0.0.0 means to bind to all available addresses (which includes localhost and any other adapters configured).
Hi, it's a good tutorial. I like it but could you please tell me how to get apk file and ios dev app like you have? Do I need to create them myself? Thank you..
If you are looking for iOS apps for your practice purpose, then there are 2 ways to achieve this. One is through pre-installed app and another is open source apps via download, build and install procedure. Both videos are listed below.Check thi out for iOS :
czcams.com/video/tKh-TqEpX8o/video.html
You should watch my earlier video's where i have automated the first native appium test.
Also you can watch below video and use references under comments and description sections.
czcams.com/video/LHrryK_2drA/video.html
czcams.com/video/L5y1nLCAEV8/video.html
This will be helpful for you !
Hi, thanks for the video. Have a question, can I use ipa file instead app file?
yes, you can but using direct on device instead simulator
@@AutomationStudiochannel hi there! That being said, where I can locate the udid of the real device?
Also, you can try on emulator as well, give a try
@@chaptures-chapladin6676 here is the link for the same : www.itexico.com/blog/find-unique-device-identifier-udid-on-the-iphone
could you please mute mouse clicking sound when you record videos.
Sure .. i will for the new video recordings !
It helped a lot..Thank you
Hi praveen ,
I am not able to lunch the .iap file . App got installed but not lunching through appium .please help
Are you trying on simulator or on real device? Share me the error what you are getting on Appium server console please.
Hey Praveen, In my appium server the "Automatic Server" option is invisible, could you please explain why am I seeing that ? and how can I fix it?
You should see it, which appium desktop version you are using? Mac or Windows? Try to uninstall and re-install it again. Also, check out my video, where i have shown how to install appium desktop, may helps you.
I want to inspect the elements of Native iOS app that's installed in iPhone. Can you guide me on how to get the app path from the phone?
You should have an .ipa file in your system which will gets installed into your iPhone. So, you need an .ipa file somewhere located in your system not from your phone. If its already installed in your phone, then you can mention only bundleid, but not the file path.
May i know why i keep getting this error which is "No WDA on device and connect "ECONNREFUSED 127.0.0.1:8100" when i am trying to start the session?
You should refer this video czcams.com/video/elEIIqw2dgI/video.html
i followed ua video, but i am getting An unknown server-side error occurred while processing the command. Original error: Could not extract Info.plist from application: Plist file doesn't exist: '/Users/radamaticsolutions/Documents/iOSAutomation/Myapp.app/Info.plist' error
Check with the developer ... i guess build is not a proper build.
You can right click on Myapp.app and extract it; also look for the Info.plist file inside extracted folder, which is missing as per to the error. Which has to be present under any .app file.
Hello i love your videos, i'm stuck i dont have any .app, how can i get some so i can get advanced in your training
If you are looking for iOS apps for your practice purpose, then there are 2 ways to achieve this. One is through pre-installed app and another is open source apps via download, build and install procedure. Both videos are listed below.Check thi out for iOS :
czcams.com/video/tKh-TqEpX8o/video.html
Check this out for free apps :
czcams.com/video/g_MiyrmpQaM/video.html
Kindly subscribe and share with your friends.
Hi Praveen,
I done all the connections for the appium and it was successful.But my scripts are on window machine and i had taken a remote of mac machine. when i am executing it from window machine it is showing me this error ": The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream..
"
Can you help me out how to resolve this ?
The app which need to install into simulator need to be present in mac remote machine and you have to mention the same path. Are you sure about this?
@@AutomationStudiochannel I am sure I had entered the correct path
@@DimplePatel_Tester ok .. i am assuming that, you have remote mac machine and appium server and your app is on the same mac machine. You have written your test script on windows and then try to executing the test. You have provided appium server ip address of remote mac machine where appium server is running. If this is the flow you are following then your scripts should executes. Please confirm.
@@AutomationStudiochannel yes correct I m using the ip address of Mac. Is there any possibility that Mac system had blocked the input request from outside??? As we are having Mac from the cloud.
@@DimplePatel_Tester yes, may be ip address is restricted by mac You can mail me your code to mail id p.ashapure@gmail.com i will see if can help you in this issue.
Hi Could you make videos about read write data excel file with java eclipse in appiumfor IOS automation ?
yes ! Soon you will get the post for the same
Can i know: Do we can do this automation from Apium installed in windows platform to induce touch (Invasive) in specific XY Coordinates.
Hi Could you just please help me out how to find element on a React native app, Native app Iam able to find Id of all element but on react native its keep on changing like dynamic element....
I didn't tried with react native till now. If possible could you sent me simulator build for the same to try ? Share with me on p.ashapure@gmail.com
Automation -Studio thanks for reply... I'll share the build on this mail
Can anyone say how to handle frame in web application in iOS Device.
Try to handle same as iFrame in selenium if its web app
Else watch this video : czcams.com/video/jz-37KmMX2k/video.html
What's wrong with ur mic
Hi I want invoke app on my real device but its invoking app in simulator always ..how can i fix this ? Please let me know if there is video already available for same.
FYI,
below are the dependencies I am using:
{
"platformName": "iOS",
"deviceName": "test-iphone6Plus",
"platformVersion": "12.1",
"automationName": "XCUITest",
"bundleId": "",
"xcodeSigningId": "iPhone Developer",
"xcodeOrgId": "",
"ipa": "/Users/manish.arya/Desktop/PayUnow 2019-01-11 12-51-28/PayUnow.ipa"
}
Capabilities seems to be fine. Is the ipa file which you are using is from debug build ?
using udid in desired capabilities will let appium know it is real device not simulator
Loud clicking is so distracting !!!
Will be improving on this :)
OMG. that. the click sound is very annoying ...since your volume is low and. incase if I raise the volume , suddenly you click and that click sound is so annoying
My apologies, it was my from first videos where i was using a bad recording software :(
@@AutomationStudiochannel No worries, although your vlog was very informative...Good job, keep posting :)
Hi, I have given all the desired capabilities but when i enter instruments -s device i couldn't find my device.Can you suggest me the steps to be followed. Thanks in advance
instruments -s device command is only for simulators not for real device
It may help you :
Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices
xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Praveens-MacBook-Pro:~ praveenashapure$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
Praveens-MacBook-Pro:~ praveenashapure$ sudo xcode-select --switch /Library/Developer/CommandLineTools
Password:
Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices
xcode-select: error: tool 'instruments' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Praveens-MacBook-Pro:~ praveenashapure$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
Praveens-MacBook-Pro:~ praveenashapure$ instruments -s devices
Then it started working for me :)
Thanks
Just curious to know, do we have any other alternate to inspect elements for iOS native apps?
It is the best solution as per to my knowledge, but you can also explore other appium supported tools
Hi need one help I am unable to click on elements inside collection view in iOS app, although it has both accessibility id and xpath.
You need to store all elements into a list of mobileelements and then need to iterate it till you find the element to click on it
Mouse noise is very annoying specially with head phone :(
Apologies, it was first video series and recording didn't went well. But, i will be happy, in case if it is helpful for your
Hi,
Launching iOS App on Appium Inspector displays horizontal view (Sideways) shown in image1 below rather than vertical view. I am using Appium v1.18.3 (latest) and I tried to uninstall and reinstall the Appium but could not fix the issue. (Wish I had your email to send you screenshots to better understand)
p.ashapure.tutorials@gmail.com
Can we get any ipa for practice purpose?
You can create it from any online open source project for your device here is my video link : czcams.com/video/g_MiyrmpQaM/video.html
github.com/appium/appium/blob/master/sample-code/apps/TestApp.app.zip
How did you access the simulator terminal?
I don't know how to help me please
Its a mac terminal, you can press COMMAND + SPACE key on mac and type 'terminal' and can use shown commands in video
thanks for the video! but please upgrade or put your mic further away from your mouth and remove the click sounds, it's very annoying.
Thank you ! Will follow your suggestion from upcoming videos ! Please subscribe and stay tune with us :)
Hi this is helpful for me..i need support for iOS automation can you help on that?
yes
When i start the app it showing fully selected page..i couldnt inspect an element
Is that app is native app or web app or Hybride app?
@@AutomationStudiochannel
iOS app
@@AutomationStudiochannel
Ios native app..devoped in flutter
For android its working..im able to inspect element
How should I resolve error "Unable to launch WebDriverAgent because of xcodebuild failure:"Command 'Scripts/bootstrap.sh -d' exited with code 1" Please help on this
have you installed carthage ? Also, is your WDA agent is configured correctly ?
Please refer my these videos : czcams.com/video/elEIIqw2dgI/video.html and czcams.com/video/WlazfN0eUHc/video.html
Yes, I have installed both and configured. I was able to connect and launch app also but the moment I updated my app with new version provided by developer, I am getting a new issue.
The issue is, WDA build is successful but it is not getting installed on simulator and I am unable to connect Appium Inspector
When I am trying to connect Appium Inspector it's giving error as unknown bundle Id. But the bundle id is the same for app it doesn't changes. Please help me on this
@@monalisabarik8139 Please let me know the capabilities which you are using to initiate the ios driver, Also, i would like to know about the xcode version which you are using in your machine. Are you using simulator or real device ? If device then device version as well.
Is Xcode mandatory to run the iOS mobile inspector?
yes
Appium is quit unexpectedly after running a test....any solutions for that?
I need more info, can you please paste the appium server error which you are getting
@@AutomationStudiochannel click and reopen to application again
Which platform iOS/Windows?
Which appium version?
Appium CLI or Desktop?
Can we do this in windows with iPhone?
Will upload soon video for that
Please do subscribe for the updates
The click sound of your mouse is very high and very annoying! The quality of your mic is not good. Sometimes there is a lot of noise.
Apologies, it was first video series and recording didn't went well. But, i will be happy, in case if it is helpful for your
disliked the video for the mouse clicks noise
My apologies, it was my from first videos where i was using a bad recording software :(
Please edit out the loud mouse click -- it's very difficult/painful to listen to your videos. In fact I had to stop after 30 seconds.
My apologies, it was my from first videos where i was using a bad recording software :(
Hi Sri, im getting below error when tapped Start session:
An unknown server-side error occurred while processing the command. Original error: Simulator architecture is unsupported by the '/var/folders/d0/9xtp4cp12m53dr10ypqzryvsm17q_r/T/202146-42008-gvmku4.5o844/BbStudent.app' application. Make sure the correct deployment target has been selected for its compilation in Xcode.
ipa file not installed
For simulator, you need .app file not .ipa file.
.ipa is build for real devices where .app file is build for the simulator devices, hence architecture in the build types are different.