Thursday, September 19, 2013

How do you install an android application through terminal in a Mac system

Installing application

- Open terminal and change directory to platform tools folder 

- Type ./adb devices to check if device is connected.

1) Normal installation type
./adb install .apk (file location)

2) If there are more than 1 devices connected then type
./adb -s (device number) install .apk (file location)
Please note: You can see the device number from ./adb devices

3) If you are connected to emulator and you want to install the apk only to device then type
./adb install -d .apk (file location)
Please note if there are multiple devices connected then an error is displayed.

4) Re-install the application
./adb install -r .apk (file location)

5) Install in sd card instead of internal storage
./adb install -s .apk (file location)

Few other commands which are useful

1) To get log from your device
./adb logcat

2) Uninstall application
./adb uninstall (pacakage_name)

3) Uninstall application without removing data and cache
./adb uninstall -k (pacakage_name)

4) Start server to ensure its running
./adb start-server

5) Kill server if its running
./adb kill-server

Saturday, September 14, 2013

10 things you will hear from an Android developer.

1. Have they completed this feature in iOS
2. Please do not compare our build with iOS.
3. We cannot provide any animation because android doesn't support those animations.
4. You cannot find a single android application without a crash. Nothing is stable.
5. Its not like iOS, we have to support multiple resolutions.
6. No, Its a feature in Android
7. Its a devices issue, we cannot do anything about it.
8. Its a Google developer phone, memory problem.
9. Sorry, we cannot customize anything. Its better to use built-in android things.
10. I hate apple

Thursday, September 12, 2013

Different type of QA.

Listed below are the few types of QA you find in any organization.

Extra active QA
100% active while testing. These kinda QA's would exactly know where, why, when and how the application would crash.

Perspective QA
- Always things about how an end-user would use the application.

Quick QA
- This QA just tests certain main features and gets the build approved.

Verbal QA
- Tests the application and sits with the developer and discusses defects verbally and doesn't log it in the tracker.

High-per active QA
- Doesn't take breaks and always concentrates on breaking the code.

Social QA
- Always socializes with other QA and tries to gain knowledge from other QAs.

Abusive QA
- Doesn't like the product he is testing and always cribs about why he opted testing c.

Lazy QA
- Tests with zero enthusiasm. Run the application for 10 mins and gets involved with some other work.

Semi Active QA
- These kinda QA are good at testing but would be active in certain intervals of time.

Developer's boy QA
- This kind of QA's always inform about the bug to the developer and asks him if he can log it in the tracker.

So which category do you fit?

Saturday, September 7, 2013

In-App purchase for iOS (Old)

You find a game on the app store which is free and your excited to find out that it's free, So you are playing it and after you reach a certain level a pop up comes out informing you to buy the next level. OUCH! Bad thing to happen isn't it :D Those kinda games are called free minimum games. You need to purchase in order to play a further level. So as a QA you need to know everything about In-App purchase. Here you go

There are 5 kinds of purchase types
1. Consumable
2. Non-Consumable
3. Auto-renewable
4. Non-renewable
5. Free

- Consumable purchases are those which could be purchased again and again.
Ex: Coins, Cash. Energy, Lives, etc

- Non-Consumable purchases are those which are purchased once and is applicable to all the registered devices.
Ex: Levels, certain filters in photo and video apps.

- Auto-renewable purchases are those which renew subscriptions automatically.
Ex: Newspapers and Magazines, Monthly Benefits in-game (Adds gold, coins, etc)

- Non-Renewable purchase are those which has subscriptions for example 1 year without renewing for next year
Ex: Annual subscription for Magazines

- Free purchase are like auto-renewable but renews it for free.
Ex: Free contents with Newspapers

Things to remember

- Create a New apple test account to test with In-App purchases in the sandbox environment.
- Do not sign in your test account through settings, sign in through the application/game itself when accessing the purchasable content. If you log-in through setting you cannot purchase the content (**Test environment).

- Make sure that the receipt validation process is used in the application through your server in order to reduce hacks.

- If you have purchasable contents it is better to have it downloaded from a server rather than having it in package binary of the game as its easier for hackers to hack if its in binary.

- A detailed description has to be provided to the user informing about the money getting deducted automatically if its auto-renewable purchases.

- In-App purchase should be an intentional purchase and not accidentally. Apple rejects application which has purchases unintentional.

- Make sure to have a good customized dialog box informing about what content would be obtained if In-App purchase is performed to increase the chance of purchasing.

Test Cases

- Have Restore button in your game/application if it is a Non-consumable product. As user restore he shouldn't be charged with any real money again.

- Pricing information should be shown based on the region-specific currency i.e for Indian users it should be shown in Rupees and not in Dollars.
Note: Make sure the Artwork fits into the given box which shows the pricing information irrespective of region.

- Make sure a No Internet Connection alert is put up when user tries to access the In-App purchasable content.

- Restrict In-App purchase through settings / Disable In-App purchase: Alert should be put up informing about In-App purchase disabled while trying to access the content.

Thursday, September 5, 2013

Things to do when you are bored with testing

1. Change routine
If you follow a routine while testing, change it. Start testing in a different way.

2. Set a goal
Try setting a goal like to find 10 critical bug in the build. This will really help.

3. Motivate yourself
Even if you find a small bug try motivation yourself and praise yourself for finding the bug

4. Write blogs about testing
You know why I started the blog :P As you blog you would know the capability of how good you are in testing

5. Discuss testing strategies with teammates
Best way to learn and to know about how other teammates work.

6. Try understanding technical stuff
Discuss with developer on how he implemented a feature and try breaking the code.

7. Ask for change
If you are really bored with a project ask your manager to put you in some other project or team.

8. Change your company
This sounds a bit crazy but its better to work in some other place if you find your job boring

9. Try automation
Try learning new automation for mobile and web application.

10. Change field
Try learning new programming language and apply for a developers post.