The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

9

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


9

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


5

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 can suggest you Appium is the best tool for Android & iOS mobile testing. I'm working on appium from last 6 months in my organization. The main advantages of using Appium is: cross-platform Backend is Selenium so you will get all selenium functionality Able to test iOS and Android Continuous integration support Doesn't require access to your source ...


2

All tools I know for iOS apps testing are: Apple Instruments (UIAutomation) JavaScript-based testing solution from Apple. Includes record-and-play. Better to use with tuneup-js library. Appium; ios-driver These two use Selenium / WebDriver API and support many languages. Appium is multi-platform, faster developed and supported, has more users. Easy ...


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

As far as I know there are no known iPhone emulators for windows on which you can test iPhone applications. The only alternative I can think of is installing Mac OS X in a virtualbox virtual machine and run XCode and the iOS emulator in an virtual machine. Although this might be a legal issue, since you are not allowed to virtualize Mac OS X under Windows. ...


2

Currently I also test a app with notifications and after upgrading the app, the badge count is still present. The app control the badge. An application is responsible for managing the badge number. If the application does not clear the badge, the push message(s) will remain in the notification center. After an application receives a push notification, it ...


2

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 them a brief about the use of automation as well. I mean with lesser knowledge one can expect to much from you. You need to take initiatives to keep balance ...


2

If your page reloads during waitForElement function execution then you have to refresh element by finding it once again. Try to use selector as parameter an not the element and use findElement function: function waitForElement(selector, timeout, step) { if (step == null) { step = 0.5; } if (timeout == null) { ...


1

As someone already mentioned there are a number of devices or testing services available and most have either a free tier of usage or some amount of time where the service is free. These work in the short term but can be a bit slow: BrowserStack SauceLabs Amazon Device Farm Realistically if you are doing any any serious or long term testing you'll want to ...


1

Browserstack have recently added iPhone X to their real device list. It'll cost you, and the price will vary depending on where you are and what you want out of it, but you can spin up an iPhone X (among loads of other phones) within 60 seconds.


1

If you have OS X Yosemite and iOS 8 or anything higher than that, try, Connect your iPhone, iPad or iPod touch to your Mac via a Lightning Cable. Open QuickTime on your Mac, and select File > New Movie Recording. A recording window will appear. Click the arrow next to the Record button, and select your iPhone from the dropdown menu that appears. Click the ...


1

If you have to UI testing for web applications, you can make use of selenium. http://docs.seleniumhq.org/download/ It will help you create automated tests as you can recrd your UI actions and them re-play them back at a later point of time. Now when we are doing the UI testing, what we can do is we can change the user agent in our web browser to simulate an ...


1

If you are going to build mobile apps, you need the right tools for the job. For the iPhone you need a mac. (Apple's license agreements require it.) You can get a mac mini from $599 US brand new, less if you go second hand. You will also need real test devices. Simulators alone are not good enough.


1

I have used a lot of frameworks, and in my personal experience appium is easier, simpler, stronger than the rest of frameworks. I have tried with calabash, appium, ranorex. Every week appium has updates and bug fixes. And personally the python binding is a blessing.


1

For iOS ONLY. You can install on your MAC "Network Link Conditioner", it allows you to simulate different connection profiles (3g, DSL, Edge, WIFI average good or lossy connectivity, no connection). Once you select your profile, you need to connect your iOS phone to your MAC (hotspot wifi) and test your app.


1

If you are using an iOS6 device and are a registered developer, you can use the network link conditioner to simulate a large variety of network types. See here for a detailed how to.


1

Unless you application is an app to accurately measure wifi signal strength then you haven't provided enough information about your app. Do you really expect different functionality from your application if the signal strength attenuated? Or are you trying to assess performance issues? Controlling signal strength accurately (in a controlled environment) ...


1

According to the MonkeyTalk website currently they do support HTML reporting. From the feature list: HTML, XML, xUnit reporting for tests and suites MonkeyTalk provides detailed and summary reporting, with screenshots that let you zero in on test failures. Reports come ready-to-view in HTML with complete, step-by-step detail. MonkeyTalk's ...


1

MonkeyTalk waits and retries automatically for all commands. By default it retries for 2s, if you want to wait longer, just put a bigger number in the timeout column in the MonkeyTalk IDE. For example, 5000 would retry for 5s. See MonkeyTalk Spec: Command Timings for details.


1

Have you considered Telerik Test Studio for iOS? http://www.telerik.com/automated-testing-tools/ios-testing.aspx


1

SeeTest from Experitest is a cross-platform tool for iPhone, Android, WindowsMobile, Symbian and Blackberry. The Object identification is based on 4 methods: image recognition Native ID Text recognition and Web DOM. I think you can give a try to this tool.


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