Tag Info

New answers tagged

2

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.


0

Use Android Studio for taking such kind of profiling. Launch Android Device Monitor after connecting your debug device. Click on Start Method profiling Now, perform an activity that you would want to measure. Like, moving from one view to another that might also include some network communication with backend. Once the activity is completed, click on stop ...


0

I would recommend using Apache JMeter tool (free and open source) to simulate concurrent mobile application users activity. JMeter is capable of recording mobile traffic and replaying it with configurable number of virtual users. You can use either built-in HTTP(S) Test Script Recorder or Mobile Recorder service to capture the traffic.


0

If all you are interested in is how long an API call takes, just use PostMan. If you want to view how long it takes on your physical devices than you can use an Android phone with Chrome and a iOS device with Safari. Once setup, you can use the Network inspector tab of DevTools to monitor your requests.


0

I up-voted GKS1's answer because I have used Appium and it's great, once you get it setup. I will also recommend Telerik Test Studio if you have the funding. It currently only supports iOS but Andorid is coming soon. A major benefit is that it uses physical machines rather than the XCode iOS Simulator. I have found minor differences in emulated devices ...


0

Yes, if you are looking for tool similar to Selenium for mobile application testing, then you should go for 'Selendroid' Refer http://selendroid.io/ Selendroid is a test automation framework fully compatible with Selenium, that's why it is called as 'Selenium for Android'. It can be used on emulators and real devices and can be integrated as a node into ...


1

Have you looked at Appium? I haven't used it but I think it's pretty much selenium for native app testing. http://appium.io/


0

Neither uiautomator nor Appium will help you to identify webview elements. — You can do this with Chrome Developer tools, look at Remote Debugging on Android with Chrome guide. It will work for hybrid apps as well.


0

You should be able to use the Appium Inspector to find the xpath of the element, and then call xpath within your test cases. Appium also contains a step to switch contexts between native and web. I believe it is switch_context(context)


0

I can offer a new video tutorial: Testing Android apps with Appium - from setup to first test on OS X That might be very helpful for this purpose


0

Although you will be testing on different devices, the test cases should be the same for both operating systems. The test cases should define functionality and expected results given fixed inputs. Although Android and ios are different, I assume you want the application to functionally run the same in both environments.



Top 50 recent answers are included