9
votes
What are 'MUST' test cases to test Push Notification for Android app?
Here are some Test cases
Verify the notification received even if the app is open.
Verify the notification received even if the app is closed.
Verify the notification received even if the device is ...
6
votes
Accepted
Why does element.displayed? throws exception instead of boolean false?
$driver.find_element(:xpath,element2)
Above, you are trying to find an element.
.displayed?
Now you are trying to check the state in a element.
The exception is thrown by the first computation; ...
4
votes
Accepted
How to resolve - "adb server version (32) doesn't match this client (36); killing..."
Faced this issue on Mac:
I have tried different solution, But below works for me -
Uninstall "Vysor" plugin if you have installed for Chrome
Under Home folder > find .Android folder and move to ...
4
votes
Want to move from development to QA
An interview is an interview, you should be interviewed for any position that you apply.
If you have 1y experience as an Android developer does not mean that you are overqualified for a QA role, even ...
4
votes
Accepted
How do I continuously stream Logcat data from a usb connected device to a file on PC until I decide to disconnect or stop testing?
adb logcat -v long time > C:\Users\username\folder\logcat.log
3
votes
How to resolve - "adb server version (32) doesn't match this client (36); killing..."
I had the same issue. I realized that I updated all my packages in the SDK manager recently. And having a second look I saw that I had the Android SDK platform tools installed twice (24.0.1 and 23.0.3)...
3
votes
Will android 5.0.1 sdk package work for android 5.0.4?
I think you have asked wrong information.
While automating Mobile browsers/applications we will use appium & this will work for ANDROID with above API-17 level. It means you must have Android ...
3
votes
Why does element.displayed? throws exception instead of boolean false?
You are checking that an element that doesn't exist is displayed. Elements must exist if they are displayed so you are failing before you get to the .display?
For the findElement part, you need to ...
3
votes
What is the difference among App CPU, System CPU and User CPU
These terms are probably used to mean the following:
System CPU - the percentage of CPU capacity the entire system is using.
User CPU - the percentage of CPU capacity the current user is using. This ...
3
votes
Accepted
How do we perform installation testing of a native Android app on different devices
There are several apps that support testing such as:
SauceLabs
AWS Device Farm
Xamarin Test Cloud
BrowserStack
Perfecto mobile
Test Object
Bugsnag
Bugsnag has modules to test mobile applications in ...
3
votes
Differences between Android emulators / iOS simulator and real devices for mobile web testing
There will be differences between emulators/simulators and actual devices. Android emulators just emulate the screen size and pixel ratio and run a stock version of Android. Many of the major ...
3
votes
Accepted
How to always allow access to phone data automatically for USB connection of Android 8?
Updating the driver for Samsung Mobile USB Composite Device to the latest version should resolve this issue.
For Windows 10:
Start
Device manager
Navigate to USB Controllers
Find Samsung Mobile USB ...
2
votes
What are 'MUST' test cases to test Push Notification for Android app?
Check if Push Message is received when Device is locked.
Check that the notification received even if the app is not running.
Check that the notification received if the app was open or using another ...
2
votes
Android App api testing with mock
It should be realtively easy to setup a server that behaves as your API, but always returns the same values so you can test against it.
You just need to make sure you can redirect the traffic from ...
2
votes
Accepted
What issues, when automating responsive mobile sites, don't appear on a desktop
Michael Agree. Faced same condition before. As experienced earlier few things might help you at some extend.
You need to convey them the pros & cons of the automation testing.
You need to give ...
2
votes
Accepted
How to resolve Could not start a new session? UnreachableBrowserException
Hope you are using appium server with Appium application.
Solution:
Open Appium.exe
Go to settings and click on it.
Select "Over ride existing sessions" and click on it.
Bingo you are done.
2
votes
Accepted
How to automate WEBVIEW in Native Android application?
If you are using Appium or Selendroid to automate this WebView, you may simply use the inspector to locate the element/elements used for Bold/underlined text. Once you have located the element, simply ...
2
votes
Accepted
How to test a application which is having multiple recent screen?
Prior to raising a question to the development team, you should refer to the software requirement and or software design documentation first, if any. Check in the requirement or design, how the ...
2
votes
Security testing tools for android and ios apps
I don't specifically know any security testing tools for mobile, but I wouldn't rely on them because you won't learn security testing by only using tools. Try to manually test for security ...
2
votes
Security testing tools for android and ios apps
Many passive scanners exist to give holistic views of both a device and services running on it. So, while running a scan against a device with the application running and its ports open will give you ...
2
votes
Accepted
Appium is get an error "unable to create new remote session"
Seems like session between client and server is failing to get initiated. I noticed that URL you use for Appium server is "http://0.0.0.0:4723/wd/hub". This could be an issue, since as I understood ...
2
votes
JMeter Proxy setting for Android
You may need to populate the password field too. In some android devices, the password field needs to be added too, you cannot leave it blank, even if you are already connected to the network. It may ...
2
votes
How to create android Emulator using command line
I've been working on something similar myself recently, and had similar issues with outdated and unclear instructions. Here's what I got to work for me:
To create a new device run avdmanager create ...
2
votes
How to write test cases of an application which has almost same functionalities on its web and mobile app(ios + android)
Yes, you have pointed out clearly that the chat application meant for both web and mobile devices.
An application which is responsive has different UI views based on the environment in which it is ...
2
votes
Accepted
Cannot find an element with Xpath in Appium
When querying Android apps with Xpath there is no id attribute. There is a resource-id attribute instead. Appium is doing work behind the scenes to still provide By.id as a locator despite this.
By....
2
votes
Nested explicit wait does not work in Appium
When you use xpath that is to locate nested elements you have to start your query from .. Like String query = ".//*[contains(@resource-id, 'delivered_indicator')]";
https://selenium.dev/selenium/docs/...
2
votes
Nested explicit wait does not work in Appium
Solution:1
From your code “wait.until (ExpectedConditions.visibilityOfNestedElementsLocatedBy (lastMessage, By.xpath(query)))”
The expectation of the method (visibilityOfNestedElementsLocatedBy) used ...
2
votes
Appium finding an element that need to be scrolled into view
For Android:
You can scroll till you don’t find element with given resource id. This can be achieved with UiAutomator2as automation engine. You need to use automation name as UiAutomator2 in desires ...
2
votes
Accepted
Windows + Android emulator : How to fix "No internet/Internet not working for android emulator" on windows 10?
Solution to fix emulator issue:
Open Control Panel
Click on Network and Internet
Click on Internet and Sharing Center
Click on your Wi-Fi Connection name
Click on Properties
Then select Internet ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
android × 180appium × 63
automated-testing × 53
mobile × 42
selenium-webdriver × 27
ios × 26
java × 20
mobile-automation × 18
manual-testing × 11
android-automation × 11
performance × 6
c# × 5
load-testing × 5
iphone × 5
jmeter × 4
selenium2 × 4
testcase × 4
python × 3
test-design × 3
browser-automation × 3
unit-tests × 3
uiautomation × 3
eclipse × 3
web-service × 3
test-management × 2