Thursday 26 September 2013

TestLink configuration on Windows

Download the document

Today, I installed testlink. And after I select 'new Installation' and choose 'I agree' option, it failed at the second step. The failed message are as following:

Checking if /var/testlink/logs/ directory exists [S] Failed!
Checking if /var/testlink/upload_area/ directory exists [S] Failed!

Resolution/Workaround:

In C:\xampp\htdocs\testlink-1.9.8\config.inc.php file, change

$g_repositoryPath = 'C:\xampp\htdocs\testlink-1.9.8\upload_area';
$tlCfg->log_path = 'C:\xampp\htdocs\testlink-1.9.8\logs';

Run Selenium 2(WebDriver) scripts using ANT and generate results in ReportNG format

ReportNG
ReportNG is a plug-in of TestNG. ReportNG generates good reports than TestNG. TestNG has some interfaces that allow you to modify the behavior of TestNG, they call it listeners. One of the listeners is  ReportNG.

Sample Reports

Prerequisites:
1. JAVA
2. TestNG
3. WebDriver
4. ANT
5. ReportNG
6. Eclipse

Set ANT environment on Windows:
Download ANT1.9.2
Extract the zip folder(Eg:C:\apache-ant-1.9.2-bin)
Go to My Computer Properties->Advanced System Settings->Environment Variables->System/User Variables
Create a new variable Name:ANT_HOME and value:C:\apache-ant-1.9.2-bin
Edit the PATH variable and add the %ANT_HOME%\bin
Open Command prompt and type ANT
Note: Some times it's showing tools. jar is required
          Copy the tools. jar from Java (JDK) lib and paste into JRE lib;
The below message has shown when above message is not occurred
           Buildfile: build.xml does not exist!

           Build failed
Ant environment has successfully created.

See my previous posts How to configure TestNG and WebDriver in Eclipse.

Note:Before launching Eclipse, install java and set the path,class path

Go to file tab and download the project.


Saturday 14 September 2013

Run Turbo C on windows 7 x86 and x64 using DosBox

Download DosBox and Turobo C from the below links:

TurboC
DosBox

Install DosBox and launch the DosBox
Extract the Turbo C package into the drive (Eg:C:\Turbo C)
Go to DosBox and type mount C C:\
type C:
type cd Turbo C
type install.exe
While Installatio process you can give the Turbo C installation path(Eg:C:\TC)
After Installation
type cd..
type cd TC
type TC.exe

If u have any doubts in the configuration Browse the below link:
http://www.youtube.com/watch?v=8ZIQkXSJGfQ