Tag Info

Hot answers tagged

5

Here's a few ideas I can think of: Can you connect the device via wi-fi and then kill the network? If you have access to the web server, can you turn it off from the other end so the app on the device doesn't get responses for a while, then turn it back on? Can you change the phone settings to use airplane mode?


4

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 ...


3

If your budget allows it, a base station simulator is the best solution. The average price range is 100-200K$ plus some engineer time to learn, configure and operate the simulator. You use it instead of a live network, and it allows you different (simulated) network types and conditions. For example you can simulate packet loss and other network ...


3

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 ...


3

Firstly you need to become a member of Apple's developer program, and understand how in app purchase works. As a starting point you should look to Apple's documentation here: https://developer.apple.com/in-app-purchase/. Apple provides sandbox environments to facilitate testing, and it is all covered in the documents and past WWDC sessions. Once you ...


2

You can figure out the possible test area by asking a few questions to your team. Such as how many products should be offered, what their prices are, and if their purchase is restrained in some way (time window, inventory limit, account status, etc). From this you can start making tests that canvas the in-app purchase functionality.


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

I am going to cover this is two parts planning and execution: Planning this sort of testing should be relatively simple and done in a few minutes with a whiteboard, keeping in mind what the requirements of the app are. Then you should consider. Changing network speeds (slowing down and speeding up). Moving around ( leaving, joining and switching between ...


2

You commented saying you are using mobile data so you mean GPRS data? - Write a script that you launch before your program and will activate the airplane mode. Else: - Try to remove the SIM card during your test. - Go somewhere where you have less network as a basement. - Last chance, take a box and cover it of aluminum, put the phone inside, the network ...


2

This sounds like the perfect scenario for a test stub. You should look into what actual data the application will process (NMEA stream, real time GPS feed, KML file etc). Once you understand the model, you will need to record or generate a test file that matches what you want to test, and then inject it into the application via the test stub.


2

We'll need more information to have a better answer. In the meanwhile here are some options- Buy a GPS simulator. It costs a few 10K's$ but will solve your problems since it generates "real" GPS signal. As a bonus it will also test your GPS receiver, and your application with non-ideal GPS conditions. Feed the application faked coordinated (see kiwimatt ...


2

You could to create a Test-specific build which stubs the input GPS data. By having a data-input interface (in code) you could have fake GPS information fed in - I'm not sure what the data is or how it will look, but whoever developed the application should be able to engineer this. While this is going to be a build which is never to be released to ...


1

Your question is rather vague. There are different types of email protocols, and your overall test strategy depends on which protocol(s) your client supports. But, some basic areas for testing email clients on a mobile device include Setting up client on device Compose card Read card List view Send/receive Attachments, Message encodings (Unicode ...


1

A partial answer: email rendering is very important. Many emails, like newsletters, marketing materials, etc put a lot of effort to make their emails beautiful. Having the HTML render properly on a mobile client takes effort. One type of test is the acid test: http://www.email-standards.org/acid-test/ You could also do side-by-side comparisons for many ...


1

Start by learning something about SMS encoding for example from wikipedia Then try to understand how phones decode and encode SMSs I think you'll have a clearer idea of how and what to test.


1

If you are running on linux, there are WAN emulators like netem which allow you to inject network errors (packet loss, latency, etc.) Wikipedia has a list of fault injection tools for other platforms. Good luck


1

I found the service that I was looking for by searching my browser history - http://appkitbox.com/en/testkit The best part I like about them is for a relatively inexpensive $10/hour I can rent any device and test my app on it. (I am in no way related to this service that I am recommending). Hope this helps the community at large - those who are developing ...


1

The answer depends on type of tools you would like to use. If you are familiar with agile software development and want your developers to implement and maintain test automation on UI level that you can consider to use developers focused tools Android: robotium(built on top of Instrumentation) ui automator(from Google) Calabash iOS: UI ...



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