2

I have created an application in IBM MobileFirst Platform 7.0 using Jquery Mobile for android devices. My has app has more than 10 pages and each page contains Jquery mobile widgets like list view, Grid view, tables etc.

When I installed the app on android device, it behaves fine.

When I tried to test the app using IBM MobileFirst Platform Test Workbench 7.0, while recording it takes so much time for performing all actions. For example, click menu icon to open panel, which is taking more than two minutes.

App was tested in following devices and emulator:

1. Arm emulator (4.4.2, API Level 19)
2. Micromax A116
3. Samsung Galaxy Grand 2

I have followed these links:

Testing mobile first applications using test workbench

Recording tests from the Android mobile test client

I have increased the heap size to see ,is there any change in performance. But still no luck.

1. Emulator - 256M
2. Eclipse - Min Heap:1024M Max Heap:2048M
Idan Adar
  • 44,156
  • 13
  • 50
  • 89
sasi
  • 512
  • 4
  • 27
  • Hi, on which device to you record please ? – dom Apr 21 '15 at 07:09
  • Snapshot could be the origin of the problem. Huge resolution of the screen can lead to such behavior. Can you try on emulator by decresing the size of the screen please ? – dom Apr 21 '15 at 13:33
  • @dom this is fine when we are working in the Emulator. If we are testing in the device this may fail. Can we disable the snapshot while we record? Is there a way that we can set a check point[ex - while loop] whether the page/content is loaded. – dhineshsundar Apr 21 '15 at 14:03
  • @dom is there a way to avoid taking screenshots while recording? – sasi Apr 22 '15 at 10:31
  • no, screenshots are always taken during playback & recording. – dom Apr 23 '15 at 06:48
  • You can try to increase the memory in your emulator setting – dom Apr 23 '15 at 06:48
  • @dom, as I told earlier this can be work around for an emulator. But how to achieve the performance in Real device. Increasing the Heap cannot be done in real device. – dhineshsundar Apr 24 '15 at 08:22
  • Any possible way to improve the Test script execution time in Android devices? – dhineshsundar May 04 '15 at 07:09

1 Answers1

0

It sounds like a device issue, where it is not powerful enough.
Try with a top end device, like a Nexus 5 or 6 or Galaxy s6.

Idan Adar
  • 44,156
  • 13
  • 50
  • 89