Procedure:
The
project
in
which
the
Custom
Actions
are
written,
the
TestHarness.java
should
be
written
in
the
same
project.
Make
sure
that
TestHarness.java
is
in
the
default
package
only.
This
project
must
contain
the
references
of
the
below
jar
files
and
any
other
jar
files
that
may
have
been
used.
junit-4.8.1.jar
mysql-connector-java-5.1.6-bin.jar
log4j-1.2.17.jar
- The TestHarness.java should be written as follows:
...
3. Call the static method of the callController class. Pass the String Array created in step b.
For example, callController.main (String Array)
4. Insert a debug point in the Custom Actions.
5. Debug the Test Harness in Eclipse. The debug point in the Custom class should be inserted.
6, . Sample TestHarness.java is present in the <QualitiaInstallationFolder\Help Folder>.