AutoExpense Steps to run on command line:
Run.bat file can be executed :
java -Dfile.encoding=Cp1252 -classpath "C:\Users\Public\Jars\AutoExpenseModV1.4.28.2019.jar;C:\Users\Public\AutoExpenseModV1\bin;C:\Users\Public\Jars\fontbox-2.0.4.jar;C:\Users\Public\Jars\pdfbox-2.0.4.jar;C:\Users\Public\Jars\commons-logging-1.1.2.jar;C:\Users\Public\Jars\Selenium\client-combined-3.141.59.jar;C:\Users\Public\Jars\Selenium\client-combined-3.141.59-sources.jar;C:\Users\Public\Jars\Selenium\libs\byte-buddy-1.8.15.jar;C:\Users\Public\Jars\Selenium\libs\commons-exec-1.3.jar;C:\Users\Public\Jars\Selenium\libs\guava-25.0-jre.jar;C:\Users\Public\Jars\Selenium\libs\okhttp-3.11.0.jar;C:\Users\Public\Jars\Selenium\libs\okio-1.14.0.jar" test.UserInput
I. Required Jars ( need to down load from Maven Repo : Url: https://mvnrepository.com/
- fontbox-2.0.4.jar
- pdfbox-2.0.4.jar
- commons-logging-1.1.2.jar;
- client-combined-3.141.59.jar;
- byte-buddy-1.8.15.jar
- commons-exec-1.3.jar
- okhttp-3.11.0.jar
- okio-1.14.0.jar
- AutoExpenseModV1.4.28.2019.jar
IE driver link:
https://www.seleniumhq.org/download/
The Internet Explorer Driver Server with 32 bit for windows 7 machine.
The Internet Explorer Driver Server with 64 bit for windows 10 machine.
Jar files Location: (need to place it on below location) Automation Project jar: (need to place in same location as Run.bat has this path)
IE Driver location:
To download IE driver: https://www.seleniumhq.org/download/ (test is configured to run on IE driver)
PDF file location and name:
Steps to run
Run below command in Command line (refer screenshot)
• Rename below file to Run.bat , place it in any folder and click
OR Copy paste below command to command line (refer below screenshot) java -Dfile.encoding=Cp1252 -classpath "C:\Users\Public\Jars\AutoExpenseModV1.4.28.2019.jar;C:\Users\Public\AutoExpenseModV1\bin;C:\Users\Public\Jars\fontbox-2.0.4.jar;C:\Users\Public\Jars\pdfbox-2.0.4.jar;C:\Users\Public\Jars\commons-logging-1.1.2.jar;C:\Users\Public\Jars\Selenium\client-combined-3.141.59.jar;C:\Users\Public\Jars\Selenium\client-combined-3.141.59-sources.jar;C:\Users\Public\Jars\Selenium\libs\byte-buddy-1.8.15.jar;C:\Users\Public\Jars\Selenium\libs\commons-exec-1.3.jar;C:\Users\Public\Jars\Selenium\libs\guava-25.0-jre.jar;C:\Users\Public\Jars\Selenium\libs\okhttp-3.11.0.jar;C:\Users\Public\Jars\Selenium\libs\okio-1.14.0.jar" test.UserInput