Appium Beginner Tutorial 1 | What is Appium
HTML-код
- Опубликовано: 4 авг 2024
- FREE courses - automationstepbystep.com/
Appium official documentation
appium.io/docs/en/about-appium...
Appium platform support
appium.io/docs/en/about-appium...
Appium GitHub page
github.com/appium/appium
Appium client libraries (languages supported)
appium.io/downloads
#AppiumBeginnerTutorials
FREE Courses - automationstepbystep.com/onli...
Udemy - www.udemy.com/user/raghav-pal-3/
Training by Raghav at your venue - raghav.qna@gmail.com
Training schedule - automationstepbystep.com/trai...
----------- 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/y3c8ckz8
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
Udemy Courses - www.udemy.com/user/raghav-pal-3/
RUclips - / automationstepbystep
Never Stop Learning,
Raghav
You can support my mission for education by sharing this knowledge and helping as many people as you can.
Most awaited topic on our channel 😍, very simple explanation as always I needed 😊
Thanks for your message Sarang
Hi , Your tutorials are excellent. Very easy to understand and organized. Thank you for uploading 🙏
You are welcome Arti
Most Awaited series.. waiting for Appium tutorial from long time.. Thank you so much sir..
You're welcome Hari
Very nice explanation and I am following your Appium videos for self learning. Thank you so much for the playlist. It helps a lot Raghav. Thank you!
You are most welcome Mukta
you do good job breaking this is into bits. Thanks Mate
Done thanks
2:15 introduction slide
4:30 design flow
Great to know
As usual Great Explanation.Thanks a lot Raghav.
You're welcome Rajesh
Thanks Raghav ! Really helpful
Please create appium full series
I will do Arpit. Thanks for watching
Awesome tutorial. Keep doing great work Raghav. All the best!
Thanks a ton Ketan
Is there any tutorial how to integrate appium with Android Studio and run simple login automated script?
Hi Ketan, not much on Android Studio check all tutorials here automationstepbystep.com/
It would be nice if you can create with latest Appium and Android Studio Version. Simple login logout automated test with API Integration.
I will plan
Hi raghav, a big thank you for providing good content, I have one query, I have an application for the android and iOS, do I need to have two systems to perform the testing on both the platforms or on a single machine would be able to perform??
Hi Shabbir, in case you are having a mac os, you can do both android and iOS testing there. In case of windows, iOS testing will be difficult.
Thank you Raghav , for your kindness
You're welcome Jie
Thanks for the great explanation sir.
You're welcome Deepak
Wonderful videos Sir...thanks a ton.
You're welcome Abhishek
The way you explained native web nd hybrid 👍🏻
Thanks a lot Ayesha
Recently thought of learning mobile testing, and searched whether you've done a tutorial since you're the best teacher for me, who'd explain these things in really understandable manner. Thanks for this series. Already feel excited to learn. 🤗
Great to know this is helping Dushan.. can check all appium videos here - automationstepbystep.com/
Thanks for your tutorials. It helps me a lot in self-learning
Glad to hear that!
Very insightful video.. And your voice is so calming.. Thanks for sharing knowledge..😊
So nice of you Rizwana
Thanks a lot Raghav for help.
Most welcome Rahul
Your 🌟 Raghav just word are less to explain more excited to start appium
Great to know Nasreen, all the best
You are great, Sir!
Many thanks!
Thank you Raghav.
You're welcome Prasanth
Thank you So Much Very Rare And Very Useful
Most welcome
Great, thanks a lot!
You are welcome!
Hello teacher, do you have video for UFT/QTP workshop
Not yet
Hi Raghav.. Thanks for your wonderful videos with guidance. May i check if i can only have Appium Studio alone to substitute Appium Desktop Inspector+ IDE Eclipse? Is Appium Studio has all features that is in Appium Desktop+IDE Eclipse? Thanks
Yes, you can use Appium Studio as a standalone tool to substitute both Appium Desktop Inspector and IDE Eclipse. Appium Studio offers a comprehensive set of features that cover the functionalities provided by Appium Desktop and Eclipse, along with additional enhancements.
-
He is really Nice indeed!!
Thanks Rabaya
Hello Raghav
First thank you for your great efforts I'm always learning from you
I want to ask if I could start learning appium from this series or it needs an update?
Hi Hazem
You can start with this. You may have to check some online examples for new updates, but the flow and steps will remain same
Great explained 👌
Glad it was helpful Shahzaib
Hi Raghav, thanks , this is really helpful to me. I need some help, im trying to test an .apk built with ionic, I couldn't find the locators with Appium, there is another framework that you recommend? or a way to do it with appium?
Elfy
Locating elements in Ionic apps can be challenging as Ionic generates dynamic element IDs and relies heavily on accessibility IDs. If you're facing difficulties using Appium to locate elements in your Ionic app, consider trying the following approaches:
1. **Use Accessibility Identifiers:** Ionic apps generally provide accessibility IDs for their elements. You can use these IDs to locate elements using Appium's `accessibilityId` attribute selector.
2. **Inspect Elements with Appium Inspector:** Use Appium Inspector to visually inspect the app's elements and identify their accessibility IDs.
3. **Leverage Element Hierarchy:** Ionic apps often have a specific hierarchy of elements. Utilize this hierarchy to navigate and locate elements using their parent or child elements.
4. **Consider Alternative Frameworks:** Explore other frameworks like Robotium or Espresso that might offer better support for Ionic apps.
5. **Utilize Hybrid Tools:** Consider using hybrid tools like Selendroid, which combines UIAutomator and Selenium, to handle dynamic element IDs in Ionic apps.
6. **Consider Native Automation:** If you're unable to effectively locate elements using UI automation, consider using native automation techniques. Native automation requires interacting with the app's native code and APIs, which may require programming expertise.
Remember, locating elements in Ionic apps can be challenging, but with careful analysis, appropriate tools, and persistence, you can effectively automate your Ionic app using Appium or alternative frameworks.
Hi Raghav,
if an application works on web browser as well as mobile browser, can we automate the application using Appium?
Yes, you can do for mobile browser
Good explanation liked ur video
Thanks Meghana
Let's say I m currently on activity 1 and I clicked some button that led me to activity two now I have to click on a button on activity two, first ofc i would need to find that button's location like xpath, id, class. My question is, initially when my app lauched on activity 1 , i gave value to appActivity parameter activity 1 name, now as after clicking some button my app is on activity 2 and there i need to click some other button, do I need to change my appActivity parameter to activity 2 by writing driver. StartActivity(name) command and then find the button location or there is no need for that, system already knows the moment i landed on activity 2?
Hi Anmol, you may not need to provide all appActivities. Check this - discuss.appium.io/t/multiple-app-activites/14244/3
stackoverflow.com/questions/34587491/using-appium-to-test-multiple-activities
Hi Raghav Thank You for making this great tutorial series. I want to ask you that if there is a way to add unique id or identifier in mobile native pages for flutter android application so that it can be used for automation scripts. Please suggest something so that i can work with my developers to get this implemented.
Hi Rahul
There is a way to add unique IDs or identifiers in mobile native pages for Flutter Android applications so that they can be used for automation scripts. You can use the `accessibilityLabel` property to give each element a unique identifier. This property is also known as the `content description` on Android.
To add an accessibility label to an element, you can use the following code:
```
Widget myButton = TextButton(
onPressed: () {
// Do something
},
child: Text('My Button'),
accessibilityLabel: 'My Button',
);
```
Once you have added accessibility labels to all of the elements in your application, you can use them to identify the elements in your automation scripts. For example, the following code would find the `My Button` element:
```
// Find the element with the accessibility label "My Button"
WebElement button = driver.findElementByAccessibilityId('My Button');
```
You can also use the `accessibilityId` property to find elements in your automation scripts. However, the `accessibilityId` property is not as reliable as the `accessibilityLabel` property, because it can be changed by the developer.
I hope this helps
Can we use Appium for react native applications? or more broadly cross-platform apps?
Yes, you can
Very helpful video...
Glad to hear that Priyanka
Hi Raghav how are you and after long time I started to watch this appium tutorial. The right time has come now, I have been waiting for this good moment for appium tutorial so thank you for started this tutorial and could you say, for appium which language you are going to tell?
I am so glad to hear that Rajesh, for now, I will cover Java, but will take up other languages in the future.
@@RaghavPal super Raghav I am a java liker my expectation is true finally you made it Thank you so much Raghav am waiting your appium up coming videos...
Glad to know this Rajesh
Hi Raghav could you please provide link to one of your video: Scroll vertically using Appium
Hi Anand
I may not have a specific video on this, Can check all playlists here - automationstepbystep.com/
Hi sir, firstly thank you very much for your tutorials. Already learned a lot from your video. Much appreciated.
Will it be possible to do a new installation guide/setup for having appium up and running? I tried to follow this but lots are obsolete these days.
Yes, i will plan on new sessions soon
Hey Raghav, as its 4 years old tutorials ...not getting confidence to start it...can you suggest is it good to start or what are updates need to focus in 2023 or there no much difference yet and good to go?
Maddy
Yes, this is old, but will help you setup the framework. Moreover most of the issues and questions are covered in the comment section. Can check it whenever you are stuck or can send me a new comment
Hi Raghav
Thank you for wonderful explanation. Can Appium be installed on windows7 ?
Yes, you can, check the appium tutorials here - automationstepbystep.com/
Thanks for this informative videos. Can you please create playlist for appium studio. Many Thanks
I will try to do it Abhijit
Thanks sir
You're welcome Love
Hi Raghav. What is latest Appium version available ? Where I can find Appium Win 32 version ? As My OS is Windows 7 32Bit.
Hi Kedar, have you tried installing as shown in the video. I will have to check if there is a separate ver available for 32 bit
Hi Raghav, For flutter mobile application, developers are adding key at widget level as UniqueKey i.e key = ValueKey("key name"). There are visible in flutter inspector in android studio but I am not able to find them in uiautomatorviewer and appium inspector when inspecting native view. Is there any way to see those keys in uiautomatorviewer and appium inspector like we do in native applications.
Rahul
When working with Flutter applications, you can assign keys (such as `ValueKey` or `UniqueKey`) to widgets for identification. However, when inspecting the native view using tools like UIAutomatorViewer or Appium Inspector, these keys may not be directly visible. Let's explore how you can work with keys in Flutter and how to handle them during automation testing:
1. Understanding Keys in Flutter:
- In Flutter, keys are used to uniquely identify widgets. They help Flutter's reconciliation algorithm understand which widget corresponds to which element in the widget tree.
- Keys are essential for efficient widget updates, especially when widgets are added, removed, or reordered.
- There are different types of keys, including:
- `ValueKey`: Allows you to assign a specific value (e.g., a string) as a key.
- `UniqueKey`: Generates a unique key for each widget instance.
- Other keys like `ObjectKey`, `GlobalKey`, etc.
2. Visibility in Flutter Inspector vs. UIAutomatorViewer/Appium Inspector:
- When you use the Flutter Inspector in Android Studio, it directly interacts with the Flutter framework and can access widget keys.
- However, tools like UIAutomatorViewer and Appium Inspector interact with the native view (platform-specific elements) rather than the Flutter widget tree.
- Native view inspectors do not directly display Flutter widget keys because they operate at a different level.
3. Appium and Flutter Integration:
- To automate Flutter applications using Appium, consider the following:
- Use the `appium-flutter-driver` as the Appium driver for Flutter apps.
- Set the `appium:automationName` capability to `"Flutter"` to indicate that you're testing a Flutter app.
- Utilize the `appium-flutter-finder` library to select widgets using Flutter-specific attributes (similar to how you do it in Flutter integration tests).
- For example:
```javascript
// Select a TextField by its ValueKey
await driver.waitFor(find.byValueKey('myTextField'));
```
4. Appium-Flutter-Driver and appium-flutter-finder:
- The `appium-flutter-driver` is an experimental driver for Flutter apps in Appium.
- It allows you to interact with Flutter widgets using Flutter-specific attributes.
- The companion finder library, `appium-flutter-finder`, provides additional capabilities for locating widgets.
- You can find the Java implementation for `appium-flutter-driver` on GitHub [here](github.com/truongsinh/appium-flutter-driver).
5. Best Practices:
- Prefer using semantic labels (e.g., `Semantics` widgets) in your Flutter app for accessibility.
- If you need to automate specific widgets, use the `byValueKey` method provided by `appium-flutter-finder`.
Remember that while native view inspectors won't directly show Flutter widget keys, using the right tools and libraries (such as `appium-flutter-driver`) allows you to interact with Flutter widgets effectively during automation testing
---
I have not experince in web automation but did I can start learning automation for mobile app ? what is first I did automate the web app or mobile app?
Hi, generally users start with web app
In mobile the setup part is little extra
Hello Raghav... Appreciate all your efforts.
Can you please consider making a series for Detox mobile testing from WIX.
Sure,, i will plan
HI Raghav,
I am getting following error
adb clearing user data is forbidden.
Would u please suggest any resolution for this
Hi Ankit, I got this from a user comment
The root cause is the device does not allow cleanup adb command. Then, appium fails because of failing cleanup.
noReset True skip to cleanup, so it works.
Following links will be useful
github.com/appium/appium-desktop/issues/1340
github.com/appium/appium/issues/12196
Hi, followed the steps and configured Android setup and mobile script is running when it is only step definition but it is failing when we add the page class and am getting null pointer exception at Page initiate step
Hi Shruthi, most probably some value is not getting referenced properly in your code, will need to check the detailed logs and troubleshoot
Hi Raghav can you suggest how to print exception or stack trace of failed test cases in extent report so that the exception logs of failed test cases can be captured in extent report itself.
Rahul
## Printing Exception or Stack Trace in Extent Reports
Here are two common ways to achieve this in Extent Reports:
1. Using `log()` with exceptions:
```java
try {
// Your test logic here
} catch (Exception e) {
test.log(LogStatus.FAIL, "Test Failed due to Exception: " + e.getMessage());
test.log(LogStatus.FAIL, "Exception Stack Trace: " + ExceptionUtils.getStackTrace(e)); // Apache Commons Lang library required
}
```
* This captures the exception message and stack trace using `Apache Commons Lang library`'s `ExceptionUtils.getStackTrace(e)`.
* Remember to include the library (`commons-lang3-3.12.0.jar`) in your project.
2. Using `Throwable` in `fail()` method:
```java
try {
// Your test logic here
} catch (Exception e) {
test.fail(e); // Passes the entire exception object
}
```
* This automatically logs the exception message, stack trace, and other related information in the report.
* No additional libraries are required, but the output might be more verbose.
Additional Tips:
* Consider using different log levels (e.g., `ERROR`, `WARN`) for specific scenarios.
* Customize the log message to provide more context about the failure.
* If using frameworks like TestNG, leverage their exception capturing mechanisms and integrate them with Extent Reports.
* Explore third-party plugins or integrations with Extent Reports that might offer more advanced logging features.
Remember: Always prioritize understanding the reason for the failure over just copying the stack trace. Analyze the logs to identify root causes and troubleshoot effectively.
Hi! thanks for you tutorial, I have a question. Can i create an app for automating the interaction with another app? I means a bot application what run in android for automating other app
Camilo
I am sure there will be ways.. I am not aware of this much.. can check online
sir i like your tutorials. sir i have question,
how to click on RecyclertabLayout automatically.
in my RecyclertabLayou there are 18th tab in future there may be add more tab .
how can i perform this operation
i am working on Espresso.
Hi, I may not have a ready solution for this and will need to check online
Are you creating a series for Appium? Must say I've waiting for this! :)
Yes Jorge
clearly
Thanks for watching
Thanks Raghav for such informative session. Can you please help me to understand.. why you have mentioned robot framework as a language?
Ram
let me know where exactly (timestamp)
hi Ragav, it is possible to automate registration of what's app using Appium ?. how do we get OTP ? do you know if tehre is other service etc we can you for this automation. Thanks for help
Hi Mili, using appium you can do, check some examples online
Hi , is it possible to launch 2 app via appium on Simulator /Emulator. if yes how
Hi Mili, have not tested, but should be able to do. Some references
github.com/appium/appium/issues/3637
appiumpro.com/editions/28
ok perfect :)
Thanks
Hello Raghav, can you please suggest on how to automate a particular element which is not an activity but a window component. It is a type of notification based on display over other apps settings. When I tried to inspect using Appium Inspector, it is not showing the locators for specific element and highlights entire screen. However, when I tried to inspect same using other automation tool Maestro, locators for same element are displayed. So, can you please suggest some way to automate it using Appium?
Hi Aakash
The reason why Appium Inspector is not showing the locators for the specific element is because it is not an activity.
Activities are the top-level components of an Android app, and they are the only elements that Appium Inspector can inspect. Window components, on the other hand, are lower-level components that are nested within activities.
There are a few ways to automate a window component using Appium. One way is to use the accessibilityId property. The accessibilityId property is a unique identifier that is assigned to each element in an Android app.
You can use the accessibilityId property to find the window component in your automation script.
For example, the following code would find the window component with the accessibility ID "my_notification":
// Find the element with the accessibility ID "my_notification"
WebElement notification = driver.findElementByAccessibilityId("my_notification");
Another way to automate a window component using Appium is to use the xpath locator. The xpath locator is a powerful locator that can be used to find elements based on their position in the DOM tree. However, the xpath locator can be difficult to use, and it is not always reliable.
For example, the following code would find the window component with the XPath expression //
android.widget.RelativeLayout[@content-desc='my_notification']:
// Find the element with the XPath expression //android.widget.RelativeLayout[@content-desc='my_notification'] WebElement notification = driver.findElementByXPath("//android.widget.RelativeLayout[@content-desc='my_notification']");
@@RaghavPal Thanks a lot sir for a quick and detailed reply🙌 I will try these solution and check which one works best for me. Thanks again🙏
Hi @@RaghavPal, I tried your mentioned solution but the problem is I don't see the accessibility id as well because that particular element does not get highlighted when I hover/click on it using Appium inspector. It highlights entire screen or other elements except this one. Unable to share screenshot here or else I would have posted it here for your better understanding.
will need to check and try from some online examples
Hi @@RaghavPal, we found a solution. The element was not set as focusable by the dev while implementing. After making it focusable, we are able to inspect that particular element.
Only catch is that, because only that particular element is in focus, I can inspect/click any other element until I dismiss the focused element.
Finding a solution for the same.
Thanks!
How to automate autocomplete text field? How to select items based upon suggestion?There is no tutorial about this one in any educational resources.Becoz suggested items won't be fetchable by appium? Also some approach mentioned key code combo(key down and enter) but nothing is working.Pls help me
Hi Venky, I will plan to add tutorials on these topics
hi Sir,
i am unable to connect my device via vysor.
My developer mode is on and usb debugging is also on. and once i run the adb command on cmd, i also receive the device id but my screen is not visible on visor plateform on laptop
Do i need to instal ADB Drivers in pc also??
Hi Jyoti, try getting the latest ver or try with the vysor desktop app
what is about monkeyrunner tools for testing?
Hi Jones, I have not used it personally, Can get info from here
developer.android.com/studio/test/monkeyrunner
stackoverflow.com/questions/12294780/how-to-use-monkey-and-monkeyrunner-tools-for-android-testing
hi Raghav, Thank you for uploading Appium videos :-). I have recently started working on Appium . I am trying to use fingerPrint login via Emulator . I am seeing this exception 'java.lang.ClassCastException: io.appium.java_client.AppiumDriver cannot be cast to io.appium.java_client.android.AndroidDriver
'. can't find solution on net :-(. thanks in advance
Hi Mili, can you declare android driver instead of appium driver like
driver = new AndroidDriver(new URL("127.0.0.1:4723/wd/hub"), cap);
Thanks Raghav for providing solution for my issue , I will be required to change the AppiumDriver I am currently using with pageObjectFactory and this will also required to refactor complete code which is shared by other team so ,I will not be able to just replace it :-(
Hello sir, I have the knowledge of manual testing and I want to start automation can I start appium? I don't have knowledge about any framework..
Please reply..
Hi Avantika, yes, you can, If you can get some basic programming like java knowledge
Thnku sir
I have the knowledge of basic java
Great, then start on it
Once I have run appium server on MAC then getting error-An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in ["/usr/local/Caskroom/android-sdk/platform-tools/adb","/usr/local/Caskroom/android-sdk/emulator/adb","/usr/local/Caskroom/android-sdk/cmdline-tools/latest/bin/adb","/usr/local/Caskroom/android-sdk/tools/adb","/usr/local/Caskroom/android-sdk/tools/bin/adb","/usr/local/Caskroom/android-sdk/adb"]. Do you have Android Build Tools installed at '/usr/local/Caskroom/android-sdk'? unable to fix it can u pls guys help he, thanks in advance---
Hi Mukesh, pls check if you have ANDROID_HOME in your env variables. This will help
discuss.appium.io/t/original-error-could-not-find-adb-please-set-the-android-home-environment-variable/21528/4
stackoverflow.com/questions/51532706/an-unknown-server-side-error-occurred-while-processing-the-command-original-erro
Also check other comments
Raghav, I am trying to run code and I am getting this error. An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Can you give me suggestion what could be the problem? Thanks in advance.
Hi Vrutika, detailed logs would have helped. Pls check your android setup and settings on mobile. Pls see the related video here - ruclips.net/p/PLhW3qG5bs-L8npSSZD6aWdYFQ96OEduhk
Hi ,Raghav ,i have gone through your all appium sesion videos, and realy u have explained a very easy and quick learnig process. A very thank ful to you .
I have request pls make a domy appium project using pom ,appium,testng ,extentReports framework from sratch and add some domy site with some module automation in mobile app ,pls pls it ll very helpful. I am working in web and want to switch to appium site.pls help
Hi Kartik, you're welcome. I will try to do this soon
I have 3.5 yoe manual sir can I learn appium is it good or not for better packages
Appium is good along with other relevant skills
Hello friend, please can you make a video with robotframework? It will be amazing....thanks for all support
Yes I will do in future Vinicius
Please make video on RPA and which tool is good for career for experienced.
Sure Rishi, will plan on this
Do you have a video on running multiple Android devices in parallel using appium ?
Not yet Allen
love you
I hope it helped you.
Hi Raghav, Appium script runing on real device taking so much time for every sinple click and verification For 4 button clicks it will take more then 4 min, Is there any way to run it faster ? On appium studio recorded steps get run faster can we run out test on physical device connected to machine and run using Appium studio ?
Hi Pravin, can use cloud platforms like Browserstack, Saucelabs, etc.
Hi Raghav,
My Code is on Windows machine and want to execute the script on ios simulator which is on Mac Book.
1. Appium is running on Mac machine with the mac machine ip
2. Execution triggered from Windows machine but getting following error
Error-->HTTPConnectionPool(host='192.168.1.102', port=4722): Max retries exceeded with url: /wd/hub/session (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
any suggestions is appreciated
its communication issue, will need to check the setup again
Hello Raghav , If we need to automate a desktop application on macOS , which tool should be used ? Can we use appium for that or in combination of appium and selenium , can we do that ? please suggest !thank you!
Kristy
To automate a desktop application on macOS, you have several options. Let's break it down step by step:
1. Automator: macOS comes with a built-in tool called Automator, which allows you to create workflows to automate repetitive tasks. It's quite powerful for basic automation but might not be suitable for more complex testing scenarios
2. AppleScript: Another built-in option is AppleScript, which can be used to script and automate tasks on macOS. It can be integrated with Automator for more advanced workflows
3. Appium: Appium is primarily known for mobile app testing, but it also supports desktop application testing on macOS through the `appium-mac2-driver`. This driver allows you to automate macOS applications using Appium
4. Selenium: Selenium is mainly used for web application testing and doesn't natively support desktop application automation. However, it can be used in combination with other tools for hybrid scenarios.
### Can Appium be used for macOS desktop automation?
Yes, Appium can be used to automate macOS desktop applications using the `appium-mac2-driver` This driver enables Appium to interact with macOS applications, making it a viable option for desktop automation.
### Combining Appium and Selenium
While Selenium is not designed for desktop application automation, you can use Appium for desktop automation and Selenium for web automation in a combined testing framework. This approach allows you to leverage the strengths of both tools for different parts of your application.
-
@@RaghavPal Thank you so much Raghav for your response ! I am trying to use appium's Mac2driver ! Have you done any video on that ! I am trying to learn on it and could not find any good source ! If you did cover that topic , can you please share the link to that ? Thanks again for the help!
Not done any video on this.. will need to take online help
👍
hi where we get full tutorial
Can check all here - automationstepbystep.com/
Hello Raghav, I am able to see until 5th Video only.To watch from 6th video do I need to Join?
Hi Vinita, those videos are in processing, You will get all in a few days
@@RaghavPal thank you.. Your videos are really helpful. You are doing a great job.
Upload video about Actions and Selecting an element using co-ordinates
I will work on that Sandeep
I am having career gaps in 6 years in qa functional testing which is better option to get back in workforce. Please kindly suggest me sir.
Vali
Here are some options that you can consider to get back in the workforce as a QA functional tester after a 6-year career gap:
* **Update your skills and knowledge:** The tech industry is constantly evolving, so it's important to keep your skills and knowledge up to date. You can do this by taking online courses, attending conferences, and reading industry publications.
* **Get certified:** Getting certified is a great way to demonstrate your skills and knowledge to potential employers. There are a number of QA functional testing certifications available, such as the ISTQB Foundation Level Certification and the Certified Software Tester (CSTE) certification.
* **Network with other QA professionals:** Networking is a great way to learn about new opportunities and to get your foot in the door. Attend industry events, join online forums, and connect with people on LinkedIn.
* **Volunteer your time:** Volunteering is a great way to gain experience and to build your portfolio. You can volunteer your time to a nonprofit organization or to a local tech company.
* **Start your own business:** If you have the skills and experience, you can start your own QA functional testing business. This can be a great way to be your own boss and to set your own hours.
No matter which option you choose, it's important to be persistent and to never give up. The tech industry is a great place to work, and there are many opportunities for QA functional testers. With hard work and dedication, you can get back in the workforce and have a successful career.
Here are some additional tips that may help you get back in the workforce as a QA functional tester after a 6-year career gap:
* Be prepared to answer questions about your career gap. Be honest and upfront about the reasons for your gap, and explain what you have been doing during that time.
* Highlight your transferable skills. Even if you haven't been working in QA functional testing for the past 6 years, you may still have transferable skills that are relevant to the job. For example, if you have experience in customer service, you can highlight your ability to communicate effectively and to resolve customer issues.
* Be positive and enthusiastic. Show the interviewer that you are excited about the opportunity to work in QA functional testing and that you are eager to learn new things.
* Practice your interviewing skills. The more you practice, the more confident you will be when you are actually interviewing for a job.
I hope this helps
Hello Raghav
I am getting error after starting start session in appium server
An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability
Hi Pavan, as mentioned in the message in your desired capabilities add platformName e.g.
"platformName" : "Android"
Hi, Can you please tell us the what is the Minimum Mac book configuration required for Mobile automation.
Hi Shruthi, in general any good configuration for programming should work with min Processor 2.7 GHz and Memory 8 GB
Thank you
Hi Raghav - Nice videos you have created. thanks for that. Can you please suggest to me how to handle OTP verification in an application using appium?
Hi, Usually if the scenario of OTP authentication is not very critical and based on ROI calculations, sometimes we skip this in automation, Else we have the options:
1. Have a static OTP in test env
2. Get OTP from a DB
CAn check more here - discuss.appium.io/t/q-how-to-automate-otp-verification/19679
stackoverflow.com/questions/31982131/how-to-test-otp-verification-with-appium
@@RaghavPal - Thanks for the reply Raghav. But the scenario is I can't able to go to next screen without verifying mobile number through OTP and it's a live app so I can't able to generate static code also. So it's really helpful if you upload the video on your channel. - Thanks a lot
I will plan, May not be very soon, but will add to my list
Hi Boss, how to automate REACT app on android by appium with java
Hi Saiful, I have not yet tested it, here are some pointers to get you started
bitbar.com/blog/testing-react-native-apps-on-android-and-ios/
www.headspin.io/blog/testing-react-native-apps-with-appium
@@RaghavPal Thanks
please help with appium for reactNative apps
I will check if I can do a session on that.
Hello Master
I need something like Appium in automating android apps
The problem with me I don't want all these steps to get starting playing my code like linking Nox or Emulator with Appium and so on
Hi Andre, will need to check on this
@@RaghavPal Ok
Hello Raghav Plz tell me Which is best Appium ya Browserstack in mobile app testing. Which is use ? Bcoz Appium not understand& very hard all setup as well as functionalities . in future demand which is best tool appium ya browserstack.
Shiv
Appium and Browserstack are different platforms
**Appium** is an open-source test automation framework for mobile apps. It supports native, hybrid, and mobile web apps, and can be used with a variety of programming languages and frameworks. Appium is known for its flexibility and extensibility, but it can be difficult to set up and use, especially for beginners.
**BrowserStack** is a cloud-based platform that provides access to a fleet of real devices and browsers for testing. It also offers a variety of mobile app testing tools, including Appium. BrowserStack is easy to use and provides a fast and reliable way to test mobile apps on real devices
You can use Real/Virtual devices from browserstack in your Appium framework. That way you can skip the efforts of setting up and using your physical devices
I have installed appium-python-client after that while execution i get a error no module name appium webelement
pls check this stackoverflow.com/questions/55913978/unable-to-resolve-no-module-named-appium-error
U r very sweet and kind
Thanks
Can you develop a automation web software.
will need more details on this Ahmad
can i have this ppt download link, Sir.
Hi Jyoti, not handy with me as of now
while running appium test cases it is giving me below error - An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: socket hang up. could you please help me. im unable to proceed further . each and every test case is giving me this error.
Hi Shweta, Can you check by providing the port no in Desired Capabilities as shown here discuss.appium.io/t/webdriverexception-message-an-unknown-server-side-error-occurred-while-processing-the-command-original-error-could-not-proxy-command-to-remote-server-original-error-error-socket-hang-up/26921/2
Also check with a diff ver of appium
Bro is this a complete playlist for appium?
Yes, can check here automationstepbystep.com/
Original error: Could not sign with default certificate. Original error Command 'C:\Program Files\Java\jdk-14.0.1\bin\bin\java.exe' not found. Is it installed? but in command prompt i can see my java version
Hi Abhilash, is your java setup correctly on the system along with env variables. You can check java installation video here ruclips.net/p/PLhW3qG5bs-L_qj1L5hnHvJYeFpQ_g4UuU
Do appium support flutter application? please tell me
Hi Gaurav, pls check this discuss.appium.io/t/is-appium-available-for-flutter-apps/24287
github.com/truongsinh/appium-flutter-driver#:~:text=Fork%2067-,Appium%20Flutter%20Driver%20is%20a%20test%20automation%20tool%20for%20Flutter,Appium%20mobile%20test%20automation%20tool.
@@RaghavPal but i will steps but i want to know its appiicabke on flutter application??
I have not tried to use flutter with appium so not very sure and trying to get information online
@@RaghavPal ok thanku
Hi Raghav, when will create Cypress.io lessons?
Hi Heri, I have other topics to do before Cypress.io. Can take some time
@@RaghavPal Looking forward for your cypress content and the integration with a CI.
i installed as per your tutorial but iam getting an error as mentioned below
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: Cannot read property 'toLowerCase' of undefined (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 182 milliseconds.
pls need your support
Hi Koundiny, where exactly in code does this error is thrown from . Pls check
pls may agile tutorial series
I will do Shaheer
Can you make a video on how to validate toast message in Android and iOS ?
I will try to create a tutorial Rajat
Hi raghav sir i have a 3+ yrs of exp in manual and automation testing but iam not getting calls on that skills and i want to do appium. In market appium is trending or not ? please tell me sirr
Hi Shubham
According to the 2023 IT skills and jobs report by Burning Glass Technologies, Appium is a trending automation testing framework. It is used to automate the testing of mobile applications on Android and iOS devices. Appium is a popular choice for automation testing because it is open source, cross-platform, and easy to learn.
Here are some of the reasons why Appium is trending in the market:
* It is open source. This means that it is free to use and modify, which makes it a popular choice for both small and large businesses.
* It is cross-platform. This means that it can be used to automate the testing of mobile applications on Android and iOS devices. This makes it a valuable tool for businesses that develop mobile applications for both platforms.
* It is easy to learn. The Appium API is well-documented and there are many resources available to help developers learn how to use it. This makes it a good choice for businesses that want to start automating their mobile testing but don't have a lot of experience with automation testing frameworks.
If you have 3+ years of experience in manual and automation testing, then you have a good foundation to learn Appium. Appium is a powerful automation testing framework that can help you automate the testing of mobile applications. If you are looking for a trending automation testing framework to learn, then Appium is a good choice.
I hope this helps
@@RaghavPal thanks sir ,
Very Useful Videos🙂 But i am unable to find written notes the notepad file
Hi Vishal, I add the notes in the description section