Это видео недоступно.
Сожалеем об этом.
Appium Beginner Tutorial 2 | How Appium Works
HTML-код
- Опубликовано: 19 авг 2024
- FREE Courses - automationstep...
Udemy - www.udemy.com/...
Training by Raghav at your venue - raghav.qna@gmail.com
Training schedule - automationstep...
Appium works in a client-server architecture
Appium is an ‘HTTP Server’ written using - Node.js platform
Client libraries
Java
Python
C#
Javascript
Ruby
PHP
Robot Framework
Desired Capabilities
Desired capabilities are a set of keys and values sent to the Appium server to tell the server what kind of automation session we're interested in starting up
Useful links
Appium official documentation
appium.io/docs/...
Appium Design
appium.io/docs/...
Desired Capabilities
appium.io/docs/...
#AppiumBeginnerTutorials
----------- UI TESTING -----------
Selenium Beginners - bit.ly/2MGRS8K
Selenium Java Framework from Scratch - bit.ly/2N9xvR6
Selenium Python - bit.ly/2oyMp5x
Selenium Tips - bit.ly/2owxc50
Selenium Builder - bit.ly/2MKNtlq
Katalon Studio - bit.ly/2wARFdi
Robot Framework with RIDE- bit.ly/2Px6Ue9
Robot Framework with Eclipse - bit.ly/2N8DZxb
----------- API TESTING -----------
Web Services (API) - bit.ly/2MGafL7
SoapUI - bit.ly/2MGahmd
Postman - bit.ly/2wz8LrW
General - bit.ly/2PYdwmV
Katalon Studio API Testing - bit.ly/2BwuCTN
----------- MOBILE TESTING -----------
Appium - tinyurl.com/y3...
Mobile Playlist - bit.ly/2PxpeUv
----------- CI | CD | DEVOPS -----------
Jenkins Beginner - bit.ly/2MIn8EC
Jenkins Tips & Trick - bit.ly/2LRt6xC
Docker - bit.ly/2MInnzx
----------- VERSION CONTROL SYSTEM -----------
Git & GitHub - bit.ly/2Q1pagY
----------- PERFORMANCE TESTING -----------
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
----------- PROGRAMMING -----------
Java Beginners - bit.ly/2PVUcXs
Java Tips & Tricks - bit.ly/2CdcDnJ
GROOVY - bit.ly/2FvWV5C
----------- IDE -----------
Visual Studio Code - bit.ly/2V15yvt
----------- MAVEN -----------
Maven - bit.ly/2NJdDRS
----------- OTHERS -----------
Redis- bit.ly/2N9jyCG
Misc - bit.ly/2Q2q5xQ
Tools & Tips - bit.ly/2oBfwoR
QnA Friday- bit.ly/2NgwGpw
Sunday Special - bit.ly/2wB23BO
Ask Raghav - bit.ly/2CoJGWf
Interviews - bit.ly/2NIPPxk
All Playlists - bit.ly/2LSiezA
Never Stop Learning,
Raghav
You can support my mission for education by sharing this knowledge and helping as many people as you can.
You are so up to point and patient in teaching. Thanks a lot for your efforts.
You're welcome Madhuri
Simple and best explanation of how Appium works internally.
Thanks Raghav :)
You're welcome Ashwajit
Somehow I find the challenge lies only in the set up of Appium on windows machine. Once it is all set, you are good to go. Following your Appium videos for windows. Thank you Raghav!
Most welcome Mukta
Thanks done
2:30 appium flow, it’s a nodejs server and the client can be in multiple languages
most welcome Mostafa
Good Teaching skills
Thanks Pankaj
Best explanation in such a simple and soothing manner.. Best part is that whatever u teach hits directly and get set permanently maathaye ;-) ..... Khub bhalo :-)
Happy to see your message Tanushri. Humbled
You are always lifesaver for me . Testing guru....
Thanks a lot Madhavi, humbled
Hi Raghav, thank you for your videos! I've learned a lot with you.
I have a question, I hope you can answer me
The question is: Can i use Appium to do tests on an Android native app which communication protocol is UDP
Hi Daniel, we can do a test on Android Native app, I am not sure on the communication protocol, will need to check online or try it out
Its easy to understand as you covered Selenium Webdriver already in very easy manner.
Thanks for watching Sarang
Thank you so much Sir. I am too late to find your videos on RUclips. But i believe it is never to late to learn.
Yes it's never too late to learn - automationstepbystep.com/online-courses/
Exactly what I needed now.
Great to hear that
Really Helpfull! Thank you from Germany!!
You're very welcome Ali
Thanks Raghv for clear explain
Most welcome Senali
Thanks for the tutorial I was looking exactly for this !
You're welcome
Awesome Sir🎉
Thanks Sagar
thanks sir. you are awesome. Love from Pakistan....
Most welcome Saeed
thank you
Most welcome Ahmet
Thanq
Most welcome Prikshat
Thanks. Highly appreciated. It is detail and crisp info. Thanks alot
You're welcome Rashmi
Thanks raghav for such nice explanation.. hope to see you making more videos on Appium
Sure Rupak, I will
Thank you very much. Nice explanation!
You're welcome
thanks for the tutorial, is very good
You are welcome Gabriel
Thanks Raghav !
You're welcome Arpit
Great 👍
Thank you
Hi Raghav, can u please tell where is XCUITest present , if it is in laptop then in which folder
Hi Sanskar
XCUITest is located in the following folder on a Mac:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/PrivateFrameworks/XCUITest.framework/Versions/A/Resources
You can also find XCUITest in the following folder on a Linux or Windows machine:
```
/usr/local/Cellar/xcuitest//Resources
```
Where `` is the version of XCUITest that you have installed.
You can use the `xcrun` tool to find the location of XCUITest on your machine. For example, to find the location of XCUITest on a Mac, you would run the following command:
```
xcrun -find XCUITest
```
This will return the path to the XCUITest framework
@@RaghavPal Thanks a lot 🙏🙏
Thank you sir
You're welcome Saranya
Thank you for the great tutorial videos.
How can I connect multiple real devices (Android, iPhone) to a remote (not LAN) Appium server? Is it ever possible?
One good option will be to use cloud services like AWS, Browserstack, Saucelabs etc
@@RaghavPal Thank you so much for the valuable informations.
Thanks Raghav. Can you please make an advanced series with appium together with containerized emulators, real phones/ ios devices, connecting with CI/CD tools etc. If you have already done in youtube or Udemy could you pls share the link? It will be much appreciated.
Hi Paso, sure, I will plan on it
@@RaghavPal Hi, is there any update in regards to this. It really is an informative tutorial sir
Thank you Raghav for this video and currently am doing RPA uipath automation so if I learn appium then how it is useful for me?
Hi Rajesh, Appium is the most widely used platform for mobile automation testing, Even some commercial tools use Appium libraries at the backend. So having appium skills will definitely be an advantage along with other skill set
@@RaghavPal oh ok Raghav, Thank you for your valuable reply and defenately I will learn appium from you.
Hello sir! I am a Quality Analyst and was looking forward to learn the automation part. Since I am not from IT background, I am not known to any of the programming languages so when I was going through this appium course, I see that one should know any of the 1 programming language. Can u guide me for it? To what extent one should know the programming for appium?
Hi Prachi, you can plan to learn Java or Python, can get tutorials here - automationstepbystep.com/
Can you please give me some tips related to mobile testing for company. I am fresher
Hi Avantika,
Some general tips
1. Understand the application
2. Analyse and select the best test automation tool, platform for the application
3. Look at the test cases and check Automation Feasibility
4. Do a POC, automate a sample test to see how it works
5. Select the automation tool that can handle your user scenarios
6. See reporting features
7. Analyse cost, people, time etc
Hi, NodeJS is not needed for appium desktop right?
Yes
Sir how can I access your notes related to mobile testing ?
Amar
I keep all relevant notes in the description section of the video
At the end of the video you mentioned as Notes in description. But I couldn't find any notes ☹️☹️
Sorry for that Narendra, I have added the description
Hello, how can i auto import any .csv file and then tell the user any specific details it asks
Hi Prachi,
To auto-import a CSV file and provide specific details to the user in Appium, you can use the following steps:
Create a function in your Appium test script that reads the CSV file and extracts the required information. You can use Python's built-in csv module to read the CSV file.
Add a file chooser dialog box to your Appium test script using a library like tkinter. This will allow the user to select the CSV file they want to import.
Once the user selects the CSV file, call the function you created in step 1 to extract the required information.
Use the logging module to log the extracted information to the console or a log file. This will provide specific details to the user about the imported data.
Here's some sample code that demonstrates how to read a CSV file and extract data using the csv module:
import csv
def read_csv_file(file_path):
with open(file_path) as csvfile:
reader = csv.reader(csvfile)
for row in reader:
# Extract the required information from each row
column1 = row[0]
column2 = row[1]
# Log the extracted information
logging.info(f"Column 1: {column1}, Column 2: {column2}")
And here's an example of how you can add a file chooser dialog box using tkinter:
import tkinter as tk
from tkinter import filedialog
def choose_csv_file():
root = tk.Tk()
root.withdraw()
file_path = filedialog.askopenfilename()
return file_path
csv_file_path = choose_csv_file()
read_csv_file(csv_file_path)
You can customize this code to suit your specific requirements, such as adding error handling for invalid CSV files or logging the extracted information to a log file instead of the console.
why dont i use selendroid directly instead of appium??
Hi Ahmed, Appium is more preferred as you can do both android and iOS automation with Appium. Can check some diff here - saucelabs.com/blog/selendroid-vs-appium-which-to-choose-for-your-mobile-app-testing
Hi Raghav, I need help as I want to swipe up the android chip components. But I am not getting any help from internet. Pls give me some idea.
Hi Veena, i will need to check and can take some time
Hi Raghav any idea regarding swiping android chip components
No Veena
Hi Raghav, I am getting error in appium doctor and also not able to run script-
C:\Users\Admin\AppData\Roaming
pm
ode_modules\appium\build\lib\main.js: error: argument --android-coverage: expected one argument
Hi Harshal, pls check the installation or do a reinstall
Hi Raghav, after restart I resolved it, but now I am facing to resolve this error- Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability (WARNING: The server did not provide any stacktrace information)
Could not parse W3C capabilities: 'platformName' can't be blank
[info] [35m[Appium][39m Trying to fix W3C capabilities by merging them with JSONWP caps
PlatformName is already added-
cap.setCapability("PlatformName", "Android");
Check the case platformName
@@RaghavPal Its resolved, the issue was package name, so downloaded another app, 'App Package' to get the exact package name and activity, still getting this error in the appium log, but app launching without any issue. So no problem for now.
Hi Raghav - How I can connect with you I want to talk to you in person?
By the way thank you for your useful videos.
Hi, you can tell me here or email me
I do not have your email address.
Hi Rahgav - I sent a request to your skype, waiting for you to accept it. Thank you!
can email me learnwithraghav@gmail.com
Hi Raghav, I am curious to know how do we test Interruption in Mobile App Testing. It would be great if you direct to me to a good tutorial or study material on this. Thanks very much
Hi Swati, is this what you are referring to - www.guru99.com/interrupt-testing.html
Why appium server was written in nodejs?
Hi Love, Node JS is an open source, cross-platform runtime environment for server-side and networking applications.
So first as appium is open source, we need to setup on some open source env like NodeJS
NodeJS has event-driven programming to web servers enabling development of fast web servers in Javascript.
Asynchronous I/O
Thanks for reply
I am not able to perform any action although I am able to invoke app comfortably#appium
Will have to check logs
How I can make a subtitle on the new system of RUclips? unhappily the automatic traduction have some errors, and for other language peoples this can dificult to understand what you're saying.
Hi José, not sure on this
Amazing learning. How can I connect with you in LinkedIn?
Thanks Mayukh, you can let me know your queries here
@@RaghavPal I have created the setup as per your guidance. Issue is,for AndroidDriver or AppiumDriver mobile element is not getting supported. How can I fix it?
Mayukh
If you are facing an issue with the Appium setup and mobile element is not getting supported for AndroidDriver or AppiumDriver, there are a few things you can try to fix the issue:
Check if you have the correct version of the Appium server: Make sure that you have downloaded the correct version of the Appium server that is compatible with the version of the Android SDK you are using. You can check the Appium documentation to find out which version of the server is recommended for your specific configuration.
Check if the desired capabilities are set correctly: Verify that the desired capabilities for the AndroidDriver or AppiumDriver are set correctly in your test script. Make sure that you have specified the correct device name, platform version, and app package and activity names.
Check if the Appium server is running: Ensure that the Appium server is running and listening on the correct port. You can check the Appium logs to see if there are any errors or warnings that may be causing the issue.
Try updating the Appium client libraries: If you are using an older version of the Appium client libraries, it may be worth updating to the latest version. This can help to ensure that you have access to the latest features and bug fixes.
Try using a different locator strategy: If the issue persists, you can try using a different locator strategy, such as XPath or CSS selectors, to locate the mobile elements in your test script.
If none of these steps help to fix the issue, you may need to seek assistance from the Appium community forums or consult the Appium documentation for additional troubleshooting steps.
Dear Raghav, So nice contents… thanks for your help. I have sent you LinkedIn request if you can accept please. I wanted to discuss some training program and project support if possible… thanks!
Sure, will check Kripa