Friday, July 29, 2011

Installing Testlink on Windows Servers

Greetings everyone,


Like many I have the need to implement a test case management suite. Being knee deep in MSDN licensing there isn't a need to stand up a new linux box or install apache on a windows server that already has IIS installed.... So for those of you wrapped in windows here's a walkthrough for standing up Testlink on your windows box.
  1. Download latest testlink from http://sourceforge.net/projects/testlink/files/TestLink%201.9/TestLink%201.9.3/testlink-1.9.3.tar.gz/download
  2. (2003 or 08 servers) Using the web platform installer install the latest version of php from http://blogs.iis.net/bills/archive/2006/09/19/How-to-install-PHP-on-IIS7-_2800_RC1_2900_.aspx
  3. Windows 7 - Download the latest version of php from http://www.windows.php.net/downloads.php 
  4. Extract php to c:\php5
  5. Add to your path the location of your libmysql.dll
  6. Update your php.ini file
    • Enable mysqli extension
    • Set the extensions dir 
      • extension_dir = "ext" 
    • set the max execution time
      • max_execution_time = 120
    • set the default socket timeout
      • default_socket_timeout = 86400
  7. Configure IIS
    •  Start --> Control Panel -->Programs -->Turn Windows Features on or off and check on the Internet Information Services entry.
      •  Activate the World Wide Web Services/Application Development Features/CGI node and also Web Management Tools/IIS Management Console
    •  Restart iis - iisreset from a command prompt
    •  Start the IIS Management Console
      • Double click the Handler Mappings
      • Click Add Module Mapping on the right column
      •  In the Add Module Mapping dialog
        •  Request Path = *.php
        •  Module = FastCgiModule
        •  Executable = c:\php5\php-cgi.exe
        • Name = PHP
        • Click yes to create a FastCGIApplication
  8. Install MySQL
    • Be sure to  run the MySQLInstanceConfig.exe to configure server settings
  9. Run the Testlink installer http://localhost/testlink
    • Once you have configured and secured Testlink and MySQL your ready to go!

Thursday, July 7, 2011

Syncing your Itunes library with your android phone.

So you want to sync you itunes library with your android device? 

First, download itunes agent
After install the application runs in the system tray.
Plug in your android phone using your USB cable. (note: if your android phone prompts you for a connection type select to use as a Disk Drive) 
Open the drive from your computer and create a folder called Music.
Click the iTunes Agent icon in the system tray and select preferences. 
Leave all Agent check boxes checked
Provide a name. e.g HTC Incredible 2
Select iTunes as the Synchronize pattern
Click Choose to select your Music Folder (this is the Music folder you created on your phone. When selected it will be displayed as "Music" in the Music folder field)
In the Recognize by folder/file field select the Music folder again on your phone. This will create a .ita file that directs iTunes Agent to the folder to sync with.
I Use device name to Associate with playlist as it helps keep iTunes clean. 
Click Save

Next launch iTunes and you will see Devices in your playlists. Copy the music you wish to have on your phone to the playlist. 
Open the iTunes Agent and Synchronize Devices

Next step is on to your phone.
I prefer Cubed for Android (also known as 3) but your mp3 player is entirely up to you!

Enjoy!