Archive

Archive for March, 2012

Install Testlink in Windows machine

March 6, 2012 2 comments

Testlink is an open-source management tool which includes test specification, planning, reporting, requirements tracking and collaborate with well-known bug trackers.

System Requirements:

• MySQL 4.1.x and higher
• php 4.3.x and higher
• Webserver (Apache 1.3.x or 2.0.x and higher, IIS 3 and higher, etc.)

Installation:

1. Download XAMPP for windows here. Latest version of xampp includes the following, one package that caters to the system requirements of Testlink.

  • Apache 2.2.21
  • MySQL 5.5.16
  • PHP 5.3.8
  • phpMyAdmin 3.4.5
  • FileZilla FTP Server 0.9.39
  • Tomcat 7.0.21

2. Double click xampp-installer.exe to start installation. From the installation wizard, under Service Section, install Apache, MYSQL, Filezilla as service

3. Select Testlink version to dowload here

4. Unzip testlink.tar file to your desired folder

5. Rename the folder to ‘testlink’ and copy it to your \xampp\htdocs folder (e.g. C:\xampp\htdocs\)

6. In your browser access http://localhost/testlink/install/index.php

7. Select New Installation

8. Provide Testlink admin and Database admin login creadentials

Testlink admin login/password – admin/admin (or whatever login/password you like)

Database admin login/password – root/<empty> (this is the default login/password of MYSQL for xampp)

9. After completing the installation, you can now access http://localhost/testlink/login.php and start using Testlink by logging in as admin/admin or creating a new user

Using Android Emulator for Mobile Testing

March 5, 2012 Leave a comment

One of our project required us to test their application in mobile phone – Android or iPhone. In my first attempt to do mobile testing, I found this handy tool created by Google. Let me summarize my Android SDK setup in 3 steps – install Android SDK, create Virtual Device and use emulator!

Pre-requisite: Java

Install

1.  For 64bit Ubuntu, you’ll need to install the 32bit libraries

 ~$ sudo apt-get install ia32-libs
 

2.  Download appropriate Android SDK here (in my case I chose  android-sdk_r16-linux.tgz)

3.  Unzip file in your desired folder

4. Complete Android SDK installation and updates

Go to the android-sdk-linux_x86/tools/ directory and run the Android program to open the Android SDK and AVD manager.


~$ cd ~/android-sdk-linux/tools/
~/android-sdk-linux/tools$ ./android

Create Virtual Device

You can create an AVD or Android Virtual Device  via the AVD Manager or the command-line

1. Using AVD Manager


~$ cd ~/android-sdk-linux/tools/
~/android-sdk-linux/tools$ ./android

Go to Tools > Manage AVD

Click ‘New’ button to create new AVD

Input name, target, sd card, skin, hardware configurations

Click ‘Create AVD’

2. Terminal

android create avd -n <name> -t <targetID> [-<option> <value>] ...

e.g. android create avd -n my_android1.5 -t 2

For more instructions see here

Use!

You can use your Android emulator in two ways:

1. Using AVD Manager

~$ cd ~/android-sdk-linux/tools/
~/android-sdk-linux/tools$ ./android

Go to Tools > Manage AVD

Select Virtual Device to use, then click Start

2. Launch emulator using command-line

~$ cd ~/android-sdk-linux/tools/
~/android-sdk-linux/tools$ ./emulator -avd avdname

See more emulator options here

Now you’re ready to test your mobile application in Android! :)

Categories: qa tools Tags: , ,
Follow

Get every new post delivered to your Inbox.