README for DOM API Test Execution
Solaris
-
make changes to variables
-
BLACKWOOD_HOME
-
MOZILLA_FIVE_HOME
-
JAVA_HOME
-
TEST_PATH
-
source mozilla.csh this will set up the environment
-
Edit BWProperties file and change the locations for variables
| BW_TESTDIR |
Absolute Directory Path where file BWTestClass.lst is located. |
| BW_LOGDIR |
Absolute D.irectory Path where log files need to be created. |
| BW_THREADMODE |
Indicates whether to execute tests in single-thread mode[S]
or multi-thread mode[M]. Takes values S/M . |
-
Copy test.html and test.xml
files to your web-servers DOCUMENT_ROOT ( By default it is assumed that
they can be accessed as http://[server name]/text.html
or http://[servername]/~[username]/text.html).
-
Invoke autorun.sh from command prompt.
-
The results are recorded in HTML file BWTest.html
and in log file BWTest.log Individual test
Log files are also found in 'log' directory.
To Invoke a specific test
case
sh autorun.sh -t org.mozilla.dom.test.AttrImpl_getName
NOTE:All Test Cases
are recorded in file BWTestClass.lst.ORIG
ASSUMPTION: I assume
that u have copied the files test.xml and test.html to your DOCUMENT_ROOT
of your WebServer.
The URL it tries to load is http://[servername]/test.html.
If it is set in users public_html then open file autorun.sh
and change DOCROOT accordingly.
Windows NT
-
make changes to variables
-
BLACKWOOD_HOME
-
MOZILLA_FIVE_HOME
-
JAVA_HOME
-
TEST_PATH
-
TEST_URL
-
execute mozilla.bat from command prompt.
this will set up the environment for this command
prompt.
-
Edit BWProperties file and change the locations for variables
| BW_TESTDIR |
Absolute Directory Path where file BWTestClass.lst is located. |
| BW_LOGDIR |
Absolute D.irectory Path where log files need to be created. |
| BW_THREADMODE |
Indicates whether to execute tests in single-thread mode[S]
or multi-thread mode[M]. Takes values S/M . |
-
Copy files test.htmland test.xml
into some document directory of HTTP server. TEST_URL environment variable
should contain the URL of this directory.
For example, if you placed the files in the
root directory of HTTP server "myserver",
then value of TEST_URL should be "http://myserver".
-
Invoke autorun.pl from command prompt.
The results are recorded in HTML file BWTest.html
and in log file BWTest.log Individual test
Log files are also found in 'log' directory.