Wednesday, May 6, 2015

How to install and configure Testlink

Assalamualaikum and Hye Guys.

Wanna share on my own experience installing and configure Testlink in Ubuntu 14.04

- Java JDK
- MySQL Server
- Apache Web Server
- PHP5

a. This tutorial was created using the following version of each software needed.
- Ubuntu 10.04 i386 as OS.
- TestLink 1.9.2
- MySQL 5.1
- Apache2

b. The installation of prerequisites is detailed at the end of the document.

c. As a personal recommendation, before start the testlink installer in the browser, set up the files and prerequisites to make the installation experience faster and easier.

Let’s Go!

1. Download & install some necessary packages
sudo apt-get install php5-mysql php5-pgsql php5-gd php5-ldap php-pear

2. Edit the php.ini file located in /etc/php5/apache2 and set the following parameters:
max_execution_time = 120
session.gc_maxlifetime = 2700

3.Restart the apache server

4. Download testlink: 

5. Unpack your testlink package, change the name and copy to your /www apache directory:
5.1 Unpack
tar zxvf download
5.2 Change the name
mv download testlink
5.3 Copy to the /www directory
sudo cp -r teslink-1.9.13 /var/www/html/testlink

6. Once you have it in your /www/html/ directory change the permissions of some folders in your testlink directory:
# chmod 777 gui/templates_c
# chmod 777 logs
# chmod 777 upload_area

7. Create new directory in /var/
mkdir testlink
In /var/testlinlk/ create another directory
mkdir logs
mkdir upload_area

7. Go to your browser and access the testlink installer at: localhost/testlink and follow the instructions in your screen.

8. If everything went well installer will tell you that the configuration file was not written, to do this, go to /var/www/testlink and create a file named with the information provided in the installer.

9. Now you can close your browser for a while.

10. The last step is change a configuration file by editing the file in /var/www/testlink/config.inic.php and set the following parameters:

$tlCfg->config_check_warning_mode = 'SILENT'
$tlCfg->api->enabled = TRUE;
$tlCfg->exec_cfg->enable_test_automation = ENABLED;

11. Done!. Now you can go to localhost/testlink and login with the username: admin and password: admin

Tuesday, April 28, 2015

Introduction to Testlink

Assalamualaikum and hye guys

Testlink - One of the testing tool that I would like to recommend to all testers out there. It is a Test Management Tool that can help you guys to keep track all test cases systematically. If you are still using MS Excel spreadsheets, this would be the best time to move on with Testlink. No worry about the license coz Testlink is open source project.

Benefits of Testlink

  • Supports multiple projects
  • can import/export project
  • can integrate with many bug tracking tool
  • have filter based on keywords, version 
  • can assign test cases to multiple users
  • System generated reports in various formats
For my environment, testlink indeed plays its role perfectly. my team consist of 4 test engineer including me. Our project is using agile web development. Development in few sprint and every sprint we will run 30 samples of all test cases we have. 

Integration with bug tracking tool
Testlink able to integrate with Mantis. Therefore it is easy for us to track the bug is from which sprint and which cycle. We also able to issue the bug to mantis directly in execution section of Testlink.

Im Back

Assalamualaikum and hye guys.

Alhamdulillah now im back not as student anymore but as Test Engineer. Sound pretty cool right? hahah

Saturday, November 17, 2012

Programming Competition

Assalamualaikum and Sawadhikhap..

For this entry I would like to share about mathematical programming contest. ACM-ICPC, Al-Khawarizmi, and Aturkreatif. Have you heard about it? Actually I just entered one of the competitions I mentioned before, it quite tough. Some of the questions given were clearly stated the objective but having a few conditions that need to follow were challenging.

Special thanks to my University for sponsored me and my friends to participate, lecturers who highly motivated us and my beloved friends. Although our team couldn’t managed to win the competition we have something to share with you guys for the future planning.

  1. Most of the participant who managed to solves many problems usually active in Top Coder. Do visit this website and become a part of that community.
  2. For the beginners who want to see the example and answer of the problem, you can always visit to this site. It contains past set of acm icpc problem.
  3. There is one reference book that commonly used to solve this problem. Programming Challenges: The Programming Contest TrainingManual.
  4. Next is to learn from our colleagues in other University.

I hope some of these tips can help you in the future competition. If you want to try in the pc square environment, I can configure it for you(just for my university). =P 

Tuesday, February 28, 2012

Encapsulation in Java

Today i will demonstrate how to use Encapsulation in Java.
EnCAPSULation = Capsule means it is data hiding.

It is 1 of 4 fundamental in OOP concept. The others are Inheritance, Polymorphism and Abstraction.
Google it to know more :)

In this tutorial we will create two java file
public class Customer {
    private String customerID;
    private String customerName;
    private String address;
    private int pinCode;
    public String getCustomerID() {
        return customerID;
    public void setCustomerID (String myCustomerID) {
        customerID = myCustomerID;

    public String getCustomerName(){
        return customerName;
    public void setCustomerName (String myCustomerName){
        customerName = myCustomerName;

    public String getAddress () {
        return address;
    public void setAddress(String myAddress) {
        address = myAddress;
    public int getPinCode(){
        return pinCode;
    public void setPinCode(int myPinCode){
        pinCode = myPinCode;
 public class EncapsulationTry{
    public static void main (String [] args){
    // Creating object of Customer Class
    Customer customer = new Customer();
    /* Calling setter methods for setting the values of instance variables */
    customer.setCustomerID ("0123");
    customer.setCustomerName ("MFZ");
    customer.setAddress ("Seremban,Negeri Sembilan, Malaysia");
    customer.setPinCode (70400);
    /* Calling getter methods for printing the values of instance variables */
    System.out.println ("Customer ID :" + " " + customer.getCustomerID());
    System.out.println ("Customer Name:" + " " +  customer.getCustomerName());
    System.out.println ("Customer Address:" + " " + customer.getAddress());
    System.out.println ("Customer Pin Code:" + " " + customer.getPinCode());

Then compile all the java file and run the EncapsulationTry.class
Analyse the result and code, InsyaAllah you can get the point.