Download Latest Version TestMax.jar (256.7 kB)
Email in envelope

Get an email when there's a new version of TestMax

Home
Name Modified Size InfoDownloads / Week
TestMax.jar 2014-01-27 256.7 kB
TestMax FAQ.pdf 2014-01-17 623.7 kB
TestMaxProject.zip 2014-01-17 87.3 MB
TestmaxPresentation.pdf 2014-01-10 21.9 MB
ReadMe.txt 2013-12-16 3.1 kB
Totals: 5 Items   110.1 MB 0
READ ME

How to create database for demo?

1) Create demo db instance using Cassandra, mysql or oracle. Your database instance name can be anything
2) Create 2 tables which is available in TestMaxProject/data/config/create_database.sql
3) Create table using this script
4) Make changes in db_demo.xml with you db info
5) You can create multiple tags for different database connections and use these tag as dbname in your test configuration
<sql name="q1" dbname="demodb" >
 Look at SQLTemplate.xml file located under TestMaxProject\data\module\Template path
6) Use these below attribute for oracle if you only returning dbms_output as csv (xls with column name and data row) file format 
dbmsoutput="yes" dbmstable="yes" dbmsoutputkey="Assert"

How to setup TestMax Env?

1) Download the TestMaxProject.zip
2) Unzip the project
3) In Eclipse create a new Java project pointing to the path you unzipped
4) Select the project and go to the project properties in Eclipse TestMaxProject-->Properties-->Java Build Path and make sure there all jars are added from the lib directories. If you are using Cassandra database add all jars from \lib\jdbc
5) Select TestMaxProject -->Run-->Run Configurator-->Java Application -->Click New --> Select Main Class Name=scm.wm.runner.TestRunner. Give Configuration Name=TestMax which will appear with this name under Java Application in the Run Configurator
6) Open Folder TestSuite\SampleTest.xml. Uncomment the test suite you want to run 
7) Select TestMax dropdown menu under the Eclipse Run Green traingular button.

How to run your TestSuite?

1) Go to \data\TestSuite folder
2) Add your Test Suite under uncommented portion in the XML file
3) For Non browser Test like Database, JUNIT or TestNg test cases remove  browsers, baseurl attributes
4) For browser Test use these 2 attributes. Use FireFox -16 for firefox test
5) If you want to run your test in multiple browsers then set browsers=firefox;chrome for example. 
5) If you are running dataset driven frontend tests then , you can use more thread maximum up to 4 for all browsers together


Jar files you need:

TestMax.jar
apache-mime4j-0.6.jar
commons-codec-1.3.jar
commons-httpclient-3.0.1.jar
commons-logging-1.1.1.jar
cssparser-0.9.7.jar
dom4j-1.6.1.jar
httpclient-4.2.1.jar
httpcore-4.2.1.jar
httpmime-4.2.1.jar
jaxen-1.1.3.jar
jcommon-1.0.16.jar
jfreechart-1.0.13.jar
jsch-0.1.48.jar
junit-4.8.1.jar
log4j-1.2.15.jar
mysql-connector-java-3.1.14-bin.jar
ojdbc6.jar
poi-3.9-20121203.jar
selenium-server-standalone-2.35.0.jar
xercesImpl-2.8.1.jar
xmlutil-1.0.4.jar
xstream-1.4.4.jar

Also below jars from xstream

cglib-nodep-2.2.jar
dom4j-1.6.1.jar
jdom-1.1.jar
jettison-1.2.jar
joda-time-1.6.jar
json-20080701.jar
kxml2-2.3.0.jar
kxml2-min-2.3.0.jar
stax-1.2.0.jar
stax-api-1.0.1.jar
wstx-asl-3.2.7.jar
xmlpull-1.1.3.1.jar
xom-1.1.jar
xpp3_min-1.1.4c.jar


For support

Please send email to 

jana.srimanta@gmail.com or file a ticket. You can also use discussion board and put your topics. You will get your answer very fast
Source: ReadMe.txt, updated 2013-12-16