DOM API Core Level 1 Installation Procedure For Solaris
PreRequisite:
Should have Mozilla installed and have the executable
'apprunner'.
-
Extract it in a particular location <installdir>.
tar xvf DOmTest.tar
It will create a DOMTest directory.
-
Edit the file <installdir>/DOMTest/bugsrc/bugmozilla.csh.
-
Change MOZILLA_FIVE_HOME
to point to directory where 'apprunner' is located.
-
Change JAVA_HOME to location
where JDK1.2 is installed for
-
Change BUG_PATH to point to
<installdir>/DOMTest
-
Copy file <installdir>/DOMTest/bugsrc/BWProperties
to MOZILLA_FIVE_HOME directory.
-
Edit MOZILLA_FIVE_HOME/BWProperties
file and change to point
to appropriate locations.
-
source <installdir>/DOMTest/bugmozilla.csh
-
copy <installdir>/DOMTest/bugsrc/test.html
to <DOCROOT>
of your Web Server on your local machine.
Execution of Tests
-
cd MOZILLA_FIVE_HOME (directory
where mozilla apprunner is installed).
-
Open the file 'BWTestClass.lst',
This lists out all the test cases. U could comment off the ones u
do not require (by '#' mark).
-
Execute the following from command line.
./apprunner
http://<local webserver>/test.html