Hot answers tagged

8

Some ideas for the GPS part, based on my experience testing GPS's: Do field tests, and choose you locations wisely- from totally open skies to crowded tall buildings with limited to no GPS reception, from standing still to driving slow and fast, change heights during the tests (GPS is less accurate in reporting heights), choose different times of day, ...


7

The main differences between Appium and AndroidDriver/iPhoneDriver are architectural. The AndroidDriver/iPhoneDriver work the same basic way - they are applications you launch on the phone that create a webview that you can remote control with selenium. The limitations to this approach are: No control over hardware/operating system. Webviews are not a ...


6

There are number of tools available in the market like:- a) Robotium b) Uiautomator c) Espresso d) Appium e) Calabash But my experience -I can suggest you Appium is the best tool for both Android & iOS mobile testing. I'm working on appium from last 6 months in my organization it is pretty good. The main advantages of using Appium is- cross-platform ...


5

You need to install the selenium bindings for Python. Try this: sudo pip install selenium


5

Don't take this the wrong way, but first make the case to us. You say you feel there is need for one; could you elaborate on this feeling? Get into specifics, and put them into your question. After all, if you can't convince a room full of people fired up about QA best practices that you need one, you sure as heck won't be able to convince a manager who has ...


4

I would recommend staying with your web solution, and modifying for mobile. There are plenty of tutorials on how to capture mobile traffic through fiddler on the net. Eric Lawrence wrote a blog post about how to do this last december. Depending on your company, this may require additional effort dealing with infrastructure departments to ensure that you ...


4

Use a variable attenuator between your device and AP, there are manual and controllable models and it's relatively cheap. You'll have to connect it to the Wi Fi antennas using an RF cable , or put your device into an RF insulated box, which in turn is connected to the attenuator. Your application probably doesn't see the signal strength reports directly, you ...


4

If it's a mobile application, presumably you have the handset to test it on (my old mobile shop had every handset in-house...quite an inventory). You should physically move around to get varying WiFi signal strengths. If you don't want to use your feet, you can begin wrapping aluminum foil around the handset until the signal dies down, or throw it in a ...


4

I am the author. Actually this is a patch-like binding. You should know what I said in step 2. You need to download the source code of official Python bindings for Selenium and then copy my patch to the source files and install the patch source code, as mentioned in step 3 and 4.


4

I suggest you to use adb (Android Debug Bridge) tool (part of Android SDK). So, install application under test on target Android device or emulator. And you should run application to get current activity and package name. So, after running app execute the following commands from command line (android-sdk/platform-tools/adb): adb shell dumpsys window windows ...


3

One way is to look at the past. Point out cases where you saw differences between android models that were significant enough to require code changes. Thus, you have a strong case for suspecting that newer models might hold similar surprises.


3

If you want to build your own there is a screencast on how to do beta invites in Ruby on Rails here railscasts.com/episodes/124-beta-invitations. You might be able to adapt that solution to fit your needs.


3

To be honest, this is not something I've ever done from the professional side. However, from a user side here's a suggestion that I get from World of Warcraft by Blizzard. When I log into my WoW app on my machine, there's a "splash" screen that comes up before I get to my main account login that gives different news feeds, articles, ads, etc., related to ...


3

While working on several projects I've described the following procedure to install Appium: Download Android SDK https://developer.android.com/sdk/index.html Extract Android SDK to /usr/local/adt/ unzip -qo adt-bundle-*.zip -d /usr/local/adt Set ANDROID_HOME and JAVA_HOME environment variables export JAVA_HOME=$(/usr/libexec/java_home) export ANDROID_HOME=/...


3

You'll need the Android SDK at least for adb, otherwise you will not be able to communicate with a device. You are confusing the IDE either Eclipse or Android Studio and the enabling environment. Just install the SDK, or check if it is not already installed since AFAIK it is now part of Android Studio installations.


3

Yes, it’s possible to get code coverage using Appium. We had similar issue few years back on using Appium and Emma (not Jococo, but I believe your problem can be solved using the same technique used by my team). To get the instrumentation detail, in console type "adb shell pm list instrumentation" after you installed the instrumented app on to your device/...


2

What I do when testing the same code under 4 different OS's is to identify the common parts, then I build a plan where each OS is tested for it's unique part plus some of the the common part, making sure everything is covered at least once. From time to time we rotate the tests between OS's or repeat some test on a different OS. All of the above must be ...


2

I found this site which does pretty much most of what we needed and seems to fit the bill nicely, at least for distribution of the app. http://www.airdrop.me/


2

I have a moderate amount of time spent with the emulator, but rarely use it for testing. My experience has been mostly with games and other performance intensive applications. Many times the emulator led to false positives for me in regard performance, or led to race conditions that could not be reproduced on a device. But, what little work I have done ...


2

I have done a vast amount of testing on Android devices and on the Emulator. There is a disparity between the emulator and real devices when it comes to networking. There are .apk add-ons for the emulator that you can install to help the network functionality, which brings it closer to being reliable. Besides network connectivity, the emulator is accurate ...


2

I have never come across a defect which persists in android emulator and not on real device. This has been my experience with both web and android app testing on android emulator 4.0 and above. Though I can not firmly say that there are no discrepancies between emulator and real device but if cite some examples on, then you may receive better responses. ...


2

Welcome Habba, This is a variant of the problem that is faced by website developers everywhere. Ultimately it needs to be about where do you want to focus your time and efforts. Just like a website, or java client app, no program will run perfectly everywhere. This is the exact reason why Java was referred to as 'write once, test everywhere'. This exact ...


2

Similar question posted on Software Testing Club Robotium looks like it help fulfill some of your needs? (props to Stephen Janaway)


2

The best choice for Android is GenyMotion. GenyMotion emulator runs really fast and supports all modern desktop OSes. To install APK file you just drag-and-drop it on emulator window.


2

It looks like you did not define Java. Please add JAVA_HOME to .bashrc


2

I know you can do this using Appium and launching the Chrome browser app. The set up is quite a bit more then selenium AndroidDriver. I have gotten pretty close to doing it. If your developing on windows, one hurdle is the framework seems to be written and maintained by all Mac users so the windows support and documentation is quite scarce. Also you will ...


2

Personally I always get a bit concerned about "what should I test" questions around security testing, because if you need to ask, you really shouldn't be doing security testing. That said you need to start with a threat model do determine the potential attack vectors and then proceed from there. Your application really needs to follow some form of Security ...


2

I just set the Selendriod up last week with this guide on the official site selendroid.io/setup.html. It's a step by step since System Requirements to the first test case. I think it's a good kickstart, pretty straight forward. You could post for a specific question, if you are struggling in any step. Hope it helps,


2

You can try this tools: Grid Wichterle https://play.google.com/store/apps/details?id=eu.inmite.android.gridwichterle&hl=cs Pixel Ruler http://www.pixel-ruler.net/ Disclaimer: I'm author of the second one :-)


2

If you can install 3rd party App on phone or emulator , I recommend you to install "Apk Info" It always help me to get package and activity.



Only top voted, non community-wiki answers of a minimum length are eligible