Naveen
Test Automation Engineer
JOKER:
This is my simple idea to create and Execute Testng Unit testcases with selenium in a much simplified manner as well as arranged reporting also.
Joker is fully developed in java for windows OS. Soon will be available for Mac and Linux
Please checkout once and let me know your comments.
Prerequisites :
1. Windows operating system Xp or prior. Prerequisites
2. JDK installation 1.6 or higher
3. Java.exe in Jre should be in
class path
·
Checking Java.exe is in class path :
Open Cmd in windows.
Type java –jar
, if its is showing the correct version of java means the class path is proper.
Else it will show the command is invalid.
4. Javac.exe in JDK should be in
classpath:
·
Checking Java.exe is in class
path :
Open Cmd in windows.
Type javac in
command prompt, if it is showing the source file not found then the path is set
correctly.
Else it will show the command is invalid.
5. Check the machine is having proper access rights. (If you don’t have
read\write permissions in program files the installation will not done
properly.)
6. Set the iexplore.exe path in the syatem environment path
How to install.
Download Joker from :
Alphabuild Joker.zip
Installation:
1. Unzip the package Alpha Build Joker
2. Click on the install.bat
3. Installed folder will be opened if the installation is success.
In some windows 7 machines c:\program files have some access restrictions so that the folder wont get moved to "program files". Then copy the folder in your desktop or my documents and Run Run.vbs file so it may throw an error.
Then got
Execution:
1 . Now double click on the Run.vbs file to open the Joker application.
2 .Example test cases will be already present in the application.
(if the testcase is having Selenium RC, then start the selenium server manually )
3 .
Joker
will start. Click on start button.
4 .
The Main page of the application will be open
5. Options
a. Add Test Suite will create a new test suite with the classes
included in that.
b. Add test case will add new test case to the current space.
c. Run Suites will show the existing suits created in the space.
d. Execution history will show the results of all executions done using Joker.
e. Config is not active in this version
6.Test Case: Create a new Test Case:
7. Create a New TestSuite
8. Run Suite:
Select the suites and click on run now button.
9. Go to result panel to view the testNG Result of the execution.
10. Debugging the joker.
If info file not found error is displayed means the space is not accessed correctly by joker. Then use the switch space button to rectify that.
Now provide the space path up to the Joker folder
eg:
Path:c:\Documents and Settings\Naveen\Desktop\Joker\
Naveen
mail me @: naveensmart87@gmail.com
Cell:+91-8438285374