Browsing Archive: June, 2010

Perl Script for DB backup

Posted by Blogger Tech on Tuesday, June 15, 2010, In : Testlink 
#!/usr/bin/perl

## DB info struct
##{ host, db, username, password}
@DBsToBackup =(
##host 1
['localhost', 'testlink', 'root', 'testlink']
##host 2
#['192.168.0.2', 'database5', 'username', 'password']
);

$backupdir = 'C:\\TestlinkDBBackup';

print "Starting dump of databases...\n\n";

foreach $dbinfo (@DBsToBackup){
($Second, $Minute, $Hour, $Day, $Month, $Year, $WeekDay, $DayOfYear, $IsDST) = localtime(time) ;
$Year += 1900 ; $Month += 1;
$outputFilename = sprintf("%04d%02d%02d[%02d%02d%02d]", $Year, $Mont...
Continue reading ...
 

Commant to Restore Database Backup

Posted by Blogger Tech on Tuesday, June 15, 2010, In : Testlink 
>mysql -u user -p pass - D testlink < dbbackup.sql
Continue reading ...
 

PHP Script for Testlink Database Backup

Posted by Blogger Tech on Tuesday, June 15, 2010, In : Testlink 

Here is the PHP script for getting the backup of Test Link database:-

################################################# 

<?php
$host = "localhost";
$database = "<DBName>";
$user = "<User Name>";
$pass = "<Password>";

$dbh = mysql_connect($host, $user, $pass) or die ("Can't connect to MySQL");
mysql_select_db($database) or die ("Can't connect to db");

$bckp_file = $database.date("Y-m-d-H-i-s").".sql";
$command = "mysqldump -h$host -u$user -p$pass $database > $bckp_file";
$database > $bckp_file;

...

Continue reading ...
 

Testlink 1.9.4 beta

Posted by Blogger Tech on Tuesday, June 15, 2010, In : Latest Teslink Available 
Hi All ,

The latest testlink we have is Testlink 1.9.4 and you can download it from this link:

http://sourceforge.net/projects/testlink/files/Development%20and%20Testing/1.9/testlink-1.9beta4.zip/download

and you can also download XAMPP

http://sourceforge.net/projects/testlink/files/







Continue reading ...
 

Permission levels in Testlink

Posted by Blogger Tech on Monday, June 14, 2010, In : Testlink 
Test Link is built with 5 different permission levels built in. These permission levels are as follows:
Guest: A guest only has permission to view test cases and project metrics.
Tester: A tester outside of the company that only has permissions to run tests allotted to them. (initially tester)
Senior Tester: A tester can view, create, edit, and delete test cases as well as execute them. Testers lack the permissions to manage test plans, manage products, create milestones, or assign righ...
Continue reading ...
 

Integration of Bug Tracking Tool that has not mentioned in the Test Link Configuration file.

Posted by Blogger Tech on Monday, June 14, 2010, In : Testlink 
Integration of Bug Tracking Tool that has not mentioned in the Test Link Configuration file.

1.Open the config.inc.php or custom_config.inc.php.

2.Go to the [Bug Tracking systems] section. Add one more entry under this. The example shows the <TEST> is the name of bug tracking tool.       
    * @var STRING TL_INTERFACE_BUGS = ['NO', 'BUGZILLA', 'MANTIS', 'JIRA', 'EVENTUM','TEST']                           
    * <TEST> : edit configuration in TL_ABS_PATH/cfg/<test>.cfg.php

3.Go to the directory ...
Continue reading ...
 

How to Configure Bug Tracking tool

Posted by Blogger Tech on Monday, June 14, 2010, In : Testlink 
Integrating Jira with Testlink

Edit config.inc.php in teslink directory

$g_interface_bugs='JIRA';

    Edit jira.cfg.php in testlink\cfg

    Define ('BUG_TRACK_DB_HOST', '127.10.11.1');
    Define ('BUG_TRACK_DB_NAME', 'jiradb');
    Define ('BUG_TRACK_DB_TYPE', 'mysql');
    Define ('BUG_TRACK_DB_USER', 'root');
    Define ('BUG_TRACK_DB_PASS', 'root');
    Define ('BUG_TRACK_HREF', "http://localhots/helpdesk/browse/");
    define('BUG_TRACK_ENTER_BUG_HREF',"http://localhost/helpdesk/secure/CreateIssu...
Continue reading ...
 

How to Configure SMTP in TestLink

Posted by Blogger Tech on Saturday, June 12, 2010, In : Testlink 
Open config.inc.php from testlink folder

 $g_tl_admin_email = ‘admin@abc.com';  # for problem/error notification
 $g_from_email = ‘XYZ@abc.com';  # email sender
 $g_return_path_email  = 'no_replay@127.0.0.1';

// SMTP Configuration
$g_smtp_host = 'server_name.com';  # SMTP server must be configured

Continue reading ...
 

Mobile Testing

Posted by Blogger Tech on Saturday, June 12, 2010, In : Mobile Application Testing 

This is a gud link http://mobiletesing.blogspot.com/

Continue reading ...