This is how to deploy the "FindPres - Which US President?" application given in the OpenSTA site.
Step 1: Download and install XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe - Direct Link
Step 2: Download the “FindPres - Which US President?” application from http://opensta.org/demosite/
Step 3: Extract the zip file and your will get two files named “findpres.plx” and “potus.dat”
Step 4: Rename findpres.plx to findpres.pl
Step 5: Copy the two files “findpres.pl” and “potus.dat” and put it in to C:\xampp\htdocs folder
Step 6: In order for the database to retrieve results you need to do a slight modification in the findpres.pl file. You need to include the full path of the in database location and also escape the \ character.
In Line 7 replace:
my $database="potus.dat"; With
my $database="C:\\xampp\\htdocs\\potus.dat";
Step 1: Download and install XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe - Direct Link
Step 2: Download the “FindPres - Which US President?” application from http://opensta.org/demosite/
Step 3: Extract the zip file and your will get two files named “findpres.plx” and “potus.dat”
Step 4: Rename findpres.plx to findpres.pl
Step 5: Copy the two files “findpres.pl” and “potus.dat” and put it in to C:\xampp\htdocs folder
Step 6: In order for the database to retrieve results you need to do a slight modification in the findpres.pl file. You need to include the full path of the in database location and also escape the \ character.
In Line 7 replace:
my $database="potus.dat"; With
my $database="C:\\xampp\\htdocs\\potus.dat";
Step 7: Launch XAMPP from the Desktop shortcut “XAMPP Control Panel and Start” and Start “Apache”
Step 8: In the browser go to http://localhost/findpres.pl
The Which US President? Application should be up now.
To Login type a name for the UserId and reverse it for the password
Eg: Login ID : safraz
Password : zarfas
Thanks Koshika for helping me out on this one..
Happy Testing!!
Hi,
ReplyDeleteThis blog was really very helpful.
Thanks alot!
Supritha