Thursday, October 31, 2013

Should you encrypt your application preference file ?

Do you know there are websites which provides you with preference file where you can get unlimited coins or premium cash for any games. You don't need to root your iPhone or an Android phone. Only software you need to download is iFunbox. There are many other software's like iFunbox but i have checked with only iFunbox.

What is preference?
Preference is a file where you save most of the data of  game or application in iOS. Most of the game developer don't encrypt the preference which lead to most hackers changing the values thereby increasing the coin or premium cash count.

What does iFunbox do?
iFunbox is a software which reads package contents of App store build and allows you to write certain data too. Its like File manager for Android but the software is for Mac. iFunbox does many things, but i am concentrating only on preference part, just Google to find out more about it.

What does a hacker do with preference?
Hacker just downloads the preference file from library or any other place where the developer has saved the preference file through iFunbox and just changes the value of the preference.

Why is it easy to change the preference ?
Most developers would give names like Coins, Cash, power-up etc strings in preference where even a noob can find out.

As a tester we have to make sure that preference file should be a non editable file. Ask you developer to encrypt the preference file before providing the build to App-store to ensure there wont be any preference hack in your application. Make sure you have this case in your TSP or release checklist.

P.S
I have not provided the link to software nor the websites because its not legal thing to do :/

Sunday, October 27, 2013

10 general questions asked during a test Audit.

1. Tell me about your application/game?
2. Which all platforms does your application support?
3. Which is the least OS and hardware supported by your application?
4. What are your roles and responsibilities?
5. Tell me about your team ? Who is the PM, TA, SE, BCP of your project?
6. Can you tell me what are all the test strategies you carry out during testing?
7. What are all the documents prepared for your application/game?
8. What is file size of your application?
9. What document have you referred to write the TSP/SmTP/STP?
10. Is it localized to any language? What document do you refer?

Saturday, October 12, 2013

Basic use of Instruments for iOS and Mac application

Instrument tools is used to collect performance data of your iOS or Mac application. It also has a record option to record the whole data collected from your application. I use instruments tool to check with real memory and fps. Memory through Activity Monitor and fps through core animation. 

1) How do i download Instrument tool ?
- Instrument tool comes with Xcode 4 toolset. Xcode can be downloaded from Mac App store

2) How do you check with real memory and virtual memory?
- Select Activity Monitor through library and then select the target application and hit record button. In log section you would be listing with real memory and virtual memory of the application. You can also check with CPU utilization too.

3) Where is library, how to select target application and where is record and log section?
- Screenshot would explain you everything


 4) How do you check with FPS?
- Select Core animation in library section and then select the target application and then hit record button. You would be listed with FPS of your application.

Thursday, October 10, 2013

LDPI MDPI HDPI XHDPI XXHDPI


BrandDevicesPixel Per inch (ppi)
SamsungSamsung Galaxy Ace mdpi 165
Samsung Galaxy Tab 10 inch tabletmdpi 149
Samsung Galaxy Tab 2 10 inch tablet mdpi 149
Samsung Galaxy S hdpi 233
Samsung Galaxy S2 hdpi 217
Samsung Note xhdpi 285
Samsung Note 2 xhdpi 267
Samsung Galaxy S3 xhdpi 306
Samsung Nexus 10 inch tablet xhdpi 299
Samsung Galaxy S4 xxhdpi 441
Samsung Galaxy S5 xxhdpi432
MicromaxMicromax Canvas 2 A110 hdpi 196
Micromax Canvas Doodle A111 hdpi 185
Micromax Canvas 2 + A110Q hdpi 196
Micromax Canvas HD A116 xhdpi 294
Micromax Canvas 4 A210 xhdpi 294
Micromax Canvas Magnus A117 xhdpi 294
Micromax Canvas Turbo xxhdpi 441
HTCHTC Wildfire mdpi 125
HTC Desire hdpi 252
HTC Desire S hdpi 252
HTC Sensation hdpi 256
HTC Desire X hdpi 233
HTC One S hdpi 256
HTC One V hdpi 252
HTC Nexus One hdpi 252
HTC One X Xhdpi 312
HTC One xxhdpi 469
HTC One X+ xhdpi 312
HTC One M8 xxhdpi 441
GoogleGoogle Nexus One hdpi 252
Google Nexus S hdpi 233
Google Nexus 7 2012 hdpi 216
Google Nexus 7 2013 xhdpi 323
Google Nexus 4 xhdpi 318
Google Nexus 10 xhdpi299
LGLg Optimus one mdpi 180
Lg Optimus S   mdpi 180
Lg Optimus V  mdpi 180
Lg F70 mdpi 199
Lg G2 mini hdpi 234
Lg L90 hdpi 234
Lg G Pad hdpi 273
Lg Nexus 4 xhdpi318
Lg Nexus 5 xxhdpi 455
Lg G2 mini hdpi 234
Sony XperiaSony Xperia mini   mdpi 192
Sony Xperia P hdpi 275
Sony Xperia S xhdpi 342
Sony Xperia J hdpi 245
Sony Xperia Arc hdpi 233
Sony Xperia Pro hdpi 265
Sony Xperia Z xxhdpi 441
Sony Xperia Z2 xxhdpi 424
MotorolaMotorola Droid mdpi 265
Motorola Defy hdpi 265
Motorola Razr XT910 hdpi 256
Motorola Moto G xhdpi 326
Motorola Moto X xhdpi 312

If you dint find the device which you were searching please check this link to find few more devices which were added.

http://qualitytestingtips.blogspot.in/2016/02/brand-devices-pixel-per-inch-ppi.html

How do you identify ?
You identify the category by just checking the DPI
ldpi - 120 dpi
mdpi - 160 dpi
hdpi - 240 dpi
xhdpi - 320 dpi
xxhdpi - 480 dpi
xxxhdpi - 640 dpi

Will be updating with few more devices soon :) help me out if i am wrong or you can add some more devices in list if you know in which category the devices falls in.