3
votes
Accepted
Selenium TestNG - java.lang.NullPointerException in automation testing
In the test you use a property driver which has not been instantiated, because you create the driver into local a variable called Driver. See the case-difference? The class property driver has a ...
2
votes
Accepted
Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?
I would probably find a element you can find and use an offset from that location. See this to get a Point from element: http://appium.io/docs/en/commands/element/attributes/location/
To click on ...
2
votes
Appium : Best way to automate e-Signature scenario using Appium?
Try using testRigor. It is as easy as:
drag from "signaturePad" with offset "0,0" to "signaturePad" with offset "100,100"
tap "Done"
Disclaimer: I'm a co-founder of testRigor.
2
votes
appium-doctor --android returns error AppiumDoctor ✖ android could NOT be found in /Library/Android/sdk! on macOS
This answer helped me to resolve the error -
android could NOT be found in /Users/{user_name}/Library/Android/sdk!
Sharing a screenshot for helping the community
2
votes
To enhance my android automation skills which apps will provide different types of element to practice?
Just to practice you can start with basic and default application like calculator
If you are done with basic stuff and want to interact with diff types of elements then you can consume Amazon/Facebook ...
1
vote
Accepted
How to cross app test on Android?
Here's a possible suggestion to help you resolve your query,
First, you need to understand that Appium is a popular open-source library used for mobile test automation, but it is mostly used for ...
1
vote
Launch firefox browser on Android devices with Appium
You can try
DesiredCapabilities dc = new DesiredCapabilities();
dc.setCapability("appPackage", "org.mozilla.firefox");
dc.setCapability("appActivity", ".App");
1
vote
Whatsapp Web QR code Scanning using Appium Java
I solved this recently by requesting that Dev add an attribute to the QR code element that Appium could extract and run with. You aren't testing the QR code but the flow the QR code allows. You can ...
1
vote
Accepted
android : How to fix? - ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not enabled due to current app not in whitelist
After searching on Google & suggested by @pavelsaman, I took following steps and this error particularly got resolved :
Re-install [Uninstall and install again] the application
Open mobile ...
1
vote
Accepted
react-native + android error : How to fix? - java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
Verify which gradle version installed on your machine and make changes in my gradle-wrapper.properties file to
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
Note - for ...
1
vote
Appium Pagefactory throws noSuchMethodException when running from POM
it's a bit embarrassing, (because i remembered I did this before)
After doing an mvn clean, and an mvn compile again,
Then the issue disappeared. something probably got stuck somewhere and needed a ...
1
vote
Accepted
Discriminating between two identical elements when they are both "displayed" and "enabled" but only one is actually visible
I believe the UI has a certain hierarchy and normally object hierarchy has ordered structure (like XML). That means that when you add an element you don't just add it to a random place but to a ...
1
vote
Appium :Click on capture image button of inbuilt camera in mobile app. is it possible?
I can't say for sure yes but I do have a trick I have used in the past. So, you'll want to open the Appium Inspector session. If you can find the selector then you're off to a good start. If the ...
1
vote
Launching Twitter through Appium on a real device results in an error
I managed to fix it :)
The launchable activity was .StartActivity.
1
vote
NullPointerException error in POM code
1. you are not passing any driver instance to the Dashboard DashboardPage
2. You are trying to access local variable 'driver' which is not initialized yet
Solution:
Add :
public void launchapp() ...
1
vote
Permissions error trying to run Appium test on Android
This was the solution that helped me:
enable USB debugging, in USB debugging (Security settings)
Install via USB options in the device you are using.
1
vote
Accepted
Permissions error trying to run Appium test on Android
I suspect your problem lies with the errors:
java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager....
1
vote
how to find element by xpath for android appium
Get your developers to add element ids, finding elements in this fashion is error prone and breaks your tests whenever the app changes in ways that are hard to diagnose and repair quickly. This kind ...
1
vote
While following Page Object Model, how handle Fragments in Android
You can use the below mentioned approach that we usually follow in our software testing companies for mobile app testing services.
In page object model, each fragment will be considered as a separate ...
1
vote
While following Page Object Model, how handle Fragments in Android
Suggestion :
Instead of method which will return different screens - If you could verify after selecting this; what you should see & assert if you are able to see, will solve your problem.
1
vote
Accepted
What could be some reasons appium automation tests pass on home wifi but fails on work wifi?
If I was the network engineer of your work, one "easy way" to create this situation is to block requests from your tests - causing timeouts. I could even do it randomly, just to make your tests even ...
1
vote
How do I setup and get started with Appium on Ubuntu?
Do not install nodejs through apt-get, which will need sudo rights and appium will not work if node is installed as sudo user. If you have already installed remove it using
sudo apt-get remove nodejs
...
1
vote
How can I test iOS & Android mobile applications using Microsoft Visual Studio?
Option #1: Microsoft Visual Studio App Center Test is a test automation service for native and hybrid mobile apps, also known as Test Cloud. Tests written using supported frameworks can be run with ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
android-automation × 41appium × 30
mobile-automation × 17
selenium-webdriver × 11
automated-testing × 10
android × 10
java × 7
testng × 3
python × 2
c# × 2
uiautomation × 2
browser-automation × 1
test-automation-framework × 1
xpath × 1
javascript × 1
api-testing × 1
page-objects × 1
mobile × 1
quality-assurance × 1
robotframework × 1
visualstudio × 1
rest-api × 1
ios × 1
coverage × 1
firefoxdriver × 1