Wednesday, June 8, 2016

                        Please forward your resume to :
                                                                          Shalini.sreekumar@dh.com

Thursday, June 2, 2016

Wipro Job Opening .Net Dev


Thursday, April 25, 2013

Joker Framework which simplifies Selenium and TestNG Testcase executions

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

Thursday, January 17, 2013

Run Selenium Scripts from CommandLine



Hi everyone.

Some of you would have at least  tried Running selenium through any IDE's Like Eclipse or Netbeans.

Now I am sharing my idea how to run the scripts without using any IDE.
--------------------------------------------------------------------------------------------------------------
Step 1

Make a Folder named "TestLibrary"

Add your Selenium jar file in to that.

eg: C:\TestLibrary\SeleniumServer.jar
-----------------------------

Step 2: 

Create another folder "TestScripts"

Keep the Selenium scripts in this  folder:"TestScripts"

Eg: c:\TestScripts

Let "FirstScript.java" is kept in this folder

c:\TestScript\FirstScript.java

-----------------------------------------
Step 3:

open Cmd prompt

Run>cmd

type the command


javac -cp "c:\TestLibrary\SeleniumServer.jar" "c:\TestScripts\FirstScript.java"

or

javac -classpath "c:\TestLibrary\SeleniumServer.jar" "c:\TestScripts\FirstScript.java"

Now the file will be compiled to a class file named FirstScript.java
----------------------------------------------------

Next Run the script:

java -cp "c:\TestLibrary\SeleniumServer.jar" "c:\TestScripts\FirstScript"

or


java -classpath "c:\TestLibrary\SeleniumServer.jar" "c:\TestScripts\FirstScript"


Note: Start the Selenium server before running if the script is a RC script.

-----------------------------------------------------------------------------------------------------


have a nice tyme..




Saturday, February 11, 2012

Selenium Report Genaration

Report Generation and Framework Development

Selenium Natively won't suport report generation . There are many frameworks available wit java like Junit  and TestNG so we can use those frameworks for report generation of Selenium. TestNg is more Advanced compared  to Junit4 so we prefer TestNG which supports the report generation and Making of Test suite apart from that we can selectively run the test cases from the Test Suite using the TestNG.


Custom Framework development::


We can create custom frameworks according to our need on selenium. So that we can run the test suites and test cases as per our needs. The report generation can be done AS html or excel formats. And we can capture the screenshots of the test steps.

Naveen Test Automation Engineer


Basics about Selenium Tool

In my words:
Selenium is the best open source tool in the market for automating web applications. This is a Regression Test tool we can automate almost any web applications . This tool will support scripting in menu languages Like Java,ruby,php,c# etc..

I will be explaining this in the perspective of a java developer because I'm expertise in JAVA.

This tool Consist of three Parts
1. Selenium IDE
2.Selenium RC/webdriver
3.Selenium Grid.

Selenium IDE:::::
This is a mozilla firefox add-on which is used to record and Playback. This can be used for recording some basic test scripts so that we can understand how a Script looks like. This recored test script can be exported to the desired language using the IDE.
IDE is meant only for the beginers. Experts will script Directly using RC environment.


Selenium RC/ Webdriver ::::::
Selenium IIDE have several drawbacks like it cannot be used as a scripting tool. So RC came in to action. IDE won't support Loops,Conditions etc Selenium Rc overcomes the drawbacks of IDE.
We can directly run the Selenium scripts which are exported form the IDE directly in RC.

Selenium Rc Consist of
1-Selenium stand alone server (jar file)
2-Selenium client (zip file)

We need a IDE for running Selenium RC. Generally I prefer Eclipse IDE or Netbeans.
Not Explaining how to configure and all. That job is done well inhttp://seleniumhq.org/docs/

Selenium Grid::::
For running parallel executions of maximum number of executions we can use GRID. Without using any thread mechanism . The Grid will setup as a Hub and many nodes associated with it so that we can directly execute multiple number of test cases .one test case per node.





Naveen Test Automation Engineer